#: 17805 S12/OS9/68000 (OSK)
26-Mar-93 10:16:14
Sb: #17804-#Bigger read/write buffer
Fm: William F. McGill/CA 73177,3433
To: Pete Lyall 76703,4230 (X)
Pete-
Thanks for the reply. My application program is doing what you suggest; the
input buffer is about 125k bytes and does a single read() to fill it. When the
read() command returns, the program does a single write(). But this simple
read() - write() loop takes several times longer to copy a file than when I use
OS9's copy, with -b=64K (or larger). I hoped perhaps there way to specify
this option in C.
You say the buffer is actually a driver buffer. Is there a way to modify the
driver to get it to use a larger buffer?
Thanks again,
Bill
There are 2 Replies.
|