delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/01/17/13:22:44

Date: Mon, 17 Jan 1994 19:00:35 +0100
From: hj AT vpymza DOT sowi DOT uni-mainz DOT de
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Data rates to disk

I am trying to write big buffers of data to disk but it takes hours (well,
not exactly) to do it, even though I have a fast (66MHZ) PC with an
ADAPTEC-Controller and SCSI-disks.

What I do:

	char data[1024*2000];
...

	write(path,data,sizeof(data));

This takes about 12 seconds on my PC, even though I have set buffers to 99.

Is there a way to speed things up, like changing something in dos or
setting different buffer sizes in dos - djgpp ??


Please answer also by mail.

Hans-Juergen

- Raw text -


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