From: sandmann AT clio DOT rice DOT edu (Charles Sandmann) Message-Id: <9709090320.AA16818@clio.rice.edu> Subject: Re: fread slowstart To: dj AT delorie DOT com (DJ Delorie) Date: Mon, 8 Sep 1997 22:20:16 -0600 (CDT) Cc: djgpp-workers AT delorie DOT com In-Reply-To: <199709090234.WAA00084@delorie.com> from "DJ Delorie" at Sep 8, 97 10:34:22 pm Content-Type: text Precedence: bulk > Currently, the amount starts at 512 and doubles after each read (i.e. > 512, 1k, 2k, 4k, 8k, etc). Should it quadruple instead? > (512, 2k, 8k, 32k) That would get to the larger transfers faster, but > be less optimal for some programs that fseek a lot. I would probably quadruple, or even 8X (512, 4K, 32K). > Also, I've changed the default transfer buffer size to 32k and stack > size to 512k in stub.asm. Be sure to document this as requiring additional memory to execute programs. > Should we default to a max size (63.5K) transfer buffer now ? I think it's excessive. It eats into the DOS memory left for other programs, and I didn't see much improvement in data transfer speeds for transfers over 32K on any system I tested.