Sender: vheyndri AT rug DOT ac DOT be Message-Id: <3416C026.132B@rug.ac.be> Date: Wed, 10 Sep 1997 17:43:34 +0200 From: Vik Heyndrickx Mime-Version: 1.0 To: DJ Delorie Cc: djgpp-workers AT delorie DOT com Subject: Re: fread slowstart References: <199709090234 DOT WAA00084 AT delorie DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Precedence: bulk DJ Delorie wrote: > Also, I've changed the default transfer buffer size to 32k and stack > size to 512k in stub.asm. Should we default to a max size (63.5K) > transfer buffer now ? DOS internally reads clusters at a time. Since the maximum cluster size is 16384, I think, and we don't want DOS buffer our data the TB size should be a multiple of 16384 (2x or 3x) and any read should concur with this limit. e.g. reading 32 times 512 bytes and then switch to 16384 reads. Or reading 16 times 512 bytes = 8192 8 1024 = 8192 ------------------------- 16384 Or reading 8 times 512, 4 times 1024, 2 times 2048, once 4096 and then in chunks of 16384 ? -- +----------------+ | Vik Heyndrickx | +----------------+