X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: Hans-Bernhard Broeker Newsgroups: comp.os.msdos.djgpp Subject: Re: dosmemput and dosmemget Date: 5 Mar 2005 12:03:41 GMT Lines: 17 Message-ID: <38tlgtF5q8ntcU3@news.dfncis.de> References: <1109872127 DOT 199181 DOT 31850 AT l41g2000cwc DOT googlegroups DOT com> <01c5208e$Blat.v2.4$1141d8a0 AT zahav DOT net DOT il> <1109947854 DOT 819298 DOT 62120 AT l41g2000cwc DOT googlegroups DOT com> X-Trace: news.dfncis.de YGuU8A/Rh7vg6FMAluCauAw6HWzl64SKKa0mmPL04fuR7n+dThp3bKTrHq X-Orig-Path: not-for-mail To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com arizvi wrote: > I am doing a lot of IO on hard disks - large sized in the range of > 100GB(s). That would mean millions or billions of those function > calls. It would also means equally many (if not more) actual hard disk accesses. Those are pretty much guaranteed to be orders of magnitude slower than any copying of data between realmode and protected mode. Trying to eliminate memory copying in a DOS program that's going to be waiting for the disks to spin almost all the time would be a rather pointless exercise. -- Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) Even if all the snow were burnt, ashes would remain.