www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/11/08/00:58:15

From: Charles Sandmann <sandmann AT new-orleans DOT NeoSoft DOT com>
Subject: Re: Disk I/O rates with DJGPP
To: Martin AT snsystems DOT co DOT uk
Date: Mon, 7 Nov 1994 19:44:08 -0600 (CST)
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu

> A quick test by hooking a monitor program into the INT21 vector shows
> that X32 reads data from DOS in 16K blocks and DOS4G reads 8K at
> time.  GO32 of course reads 4K. As was the "native" DOS call.
> 
> The size of this block seems to be inversely proportional to the
> overhead imposed.  Maybe a future version of GO32 could make this
> more easily configurable.

This is configurable with stubedit in V2.0.  You can chose any size
up to 63.5Kb.  My tests showed fairly small gains for values over 32Kb
on most disks, and some IDE disks topped out around 16Kb buffer sizes.
I suggest 16Kb or 32Kb if you work with large files (since this is
almost the complete low memory footprint with V2).  I plan to ship
my images with 32Kb.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019