TIP: Click on subject to list as thread! ANSI
echo: cis.os9.68000.osk
to: Pete Lyall 76703,4230 (X)
from: William F. McGill/CA 73177,3433
date: 1993-03-26 10:16:14
subject: #17804-#Bigger read/write buffer

#: 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.

SOURCE: compuserve via textfiles.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.