Mail Archives: djgpp/1994/01/17/18:18:14
> char data[1024*2000];
> ...
>
> write(path,data,sizeof(data));
Because you're in protected mode, this request must be broken up into
smaller requests (4K at the moment) for DOS to handle. You can speed
this up by using _go32_dpmi_simulate_interrupt() directly, with a
larger transfer buffer.
> This takes about 12 seconds on my PC, even though I have set buffers to 99.
99 buffers is still a lot smaller than the 2Mb chunk you're trying to
write!
- Raw text -