I posted a while back about getting very slow writes. People suggested modifying (increasing) SO_SNDBUF and SO_RCVBUF and this actually helps enormously. However, there is obviously something still not right. Writes are still about 1/2 the speed of reads. This only seems to affect Win95 clients (NT machines are fine). Doing a write of a 20mb file to the server generates the following message: chdir to /int-data/amx_resources 1998/06/04 14:58:49 write fnum=56 cnum=119 num=16 wrote=16 1998/06/04 14:58:49 Transaction 10834 of length 65539 switch message SMBwritebraw (pid 1646) chdir to / chdir to /int-data/amx_resources 1998/06/04 14:58:49 writebraw1 fnum=56 cnum=119 start=19922944 num=65475 wrote=6 5475 sync=0 1998/06/04 14:58:49 writebraw2 fnum=56 cnum=119 start=19922944 num=45 wrote=6552 0 1998/06/04 14:58:49 Transaction 10835 of length 68 switch message SMBwrite (pid 1646) chdir to / This message is repeated about 15 times during the course of the write operation. This does not happen in identical circumstances using an NT client. Since my write speed is now acceptable, this isn't so urgent, but I find it rather odd all the same. Any ideas? P.S. my RCVBUF and SNDBUF are now set to 10240 bytes. -------- Jon Peterson jon@amxstudios.com London, UK ICQ 13403962 War is not about who is right. It is about who is left.
Jonathan Peterson <jon@amxstudios.com> wrote> I posted a while back about getting very slow writes. People suggested > modifying (increasing) SO_SNDBUF and SO_RCVBUF and this actually helps > enormously. However, there is obviously something still not right. > Writes > are still about 1/2 the speed of reads. This only seems to affect Win95 > clients (NT machines are fine). > P.S. my RCVBUF and SNDBUF are now set to 10240 bytes.If it's specific to '95, then you might have a mismatch between the improvements you put into the server and the corresponding tuning parameters on the client. Back in windows 3.x, `RWIN' (receive window) was somewhat oversensitive: setting it too small caused a sudden drop-off in performance, too large ate low-memory buffers. Ditto write. Could Some Kind Person say what the win95 and NT registry items and their values are? I could then prognosticate about what should happen in a mismatch (:-)) --dave (the Unix bigot) c-b -- David Collier-Brown, | Always do right. This will gratify some people 185 Ellerslie Ave., | and astonish the rest. -- Mark Twain Willowdale, Ontario | davecb@hobbes.ss.org, canada.sun.com M2N 1Y3. 416-223-8968 | http://java.science.yorku.ca/~davecb