delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
X-Trace-PostClient-IP: | 68.147.177.20 |
From: | Brian Inglis <Brian DOT Inglis AT SystematicSW DOT Invalid> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: DREADED fseek |
Organization: | Systematic Software |
Message-ID: | <72v3t01u5oeu89j63pfeece2ip780hsb45@4ax.com> |
References: | <6a7us0he1s9ml2djpp5tlm48lod92eei5c AT 4ax DOT com> <8edus09uvkr9or13giuvdflk4ogin5q2l1 AT 4ax DOT com> <01c4ebed$Blat.v2.2.2$c5f598c0 AT zahav DOT net DOT il> <dl52t0tp5o1o6e5m6savh94u3vijmuq43r AT 4ax DOT com> <200412281245 DOT iBSCjQRj001350 AT envy DOT delorie DOT com> |
X-Newsreader: | Forte Agent 1.93/32.576 English (American) |
MIME-Version: | 1.0 |
Lines: | 23 |
Date: | Wed, 29 Dec 2004 00:41:02 GMT |
NNTP-Posting-Host: | 24.71.223.147 |
X-Complaints-To: | abuse AT shaw DOT ca |
X-Trace: | pd7tw3no 1104280862 24.71.223.147 (Tue, 28 Dec 2004 17:41:02 MST) |
NNTP-Posting-Date: | Tue, 28 Dec 2004 17:41:02 MST |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
On Tue, 28 Dec 2004 07:45:26 -0500 in comp.os.msdos.djgpp, DJ Delorie <dj AT delorie DOT com> wrote: > >> The default appears to be about equivalent to setvbuf() with 12KB, >> doing sequential reads on my machine and drive. > >Are you doing enough reads to make the initial buffer learning curve >insignificant? Or at least do a couple of reads before starting the >timer? Remember, it takes 3-4 freads before it's running at full >speed. I tested a bunch of ~20MB files, the largest I have on my machine, timed from fopen() to fclose() in all cases, and ignored the first run loading the cache. Is there any documented common interface to bypass/disable/reenable a cache under DOS/Windows, so I can get raw I/O speeds? -- Thanks. Take care, Brian Inglis Calgary, Alberta, Canada Brian DOT Inglis AT CSi DOT com (Brian[dot]Inglis{at}SystematicSW[dot]ab[dot]ca) fake address use address above to reply
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |