[Samba] update: Win2kPro's TCP/IP Stack is crippled!
akohlsmith-samba at benshaw.com
Sat Aug 16 12:32:32 GMT 2003
I've been doing some testing between Windows 2000 Pro (SP4) and Windows 2000
Server (no SP and SP4) -- specifcally testing file transfers from a Samba
Samba server: P4/2.2GHz, ServerWorks chipset, SCSI UW2 disk subsystem
(Bonnie++ tested to 35MB/sec), 3Com (acenic) gigabit ethernet
Win2kPro: P3/700, 3Com Vortex 100mbit network card
Win2kServer: P3/800, 3Com Vortex 100mbit network card
Switch: Baystack 350-24T with fiber gigabit module
No registry hacking done to either client (and in previous testing, no
amount of TCP/IP hacking on Win2kPro helped)
Samba config file changes:
socket options = TCP_NODELAY SO_SNDBUF=65536 SO_RCVBUF=65536
max xmit = 65536
read size = 65536
getwd cache = Yes
locking = Yes
The various shares have "use sendfile = yes"
Initial testing shows that the Windows 2000 Server stack is almost _twice_
as fast as the Windows 2000 Pro stack. It's unbelievable that Microsoft
would cripple their product this way.
One of the test runs is available at
http://www.mixdown.ca/~andrew/win2ks-win2kp.png. There are three
transfers. Ignore the first. The second is an ~1.3GB transfer from Samba
to Win2kServer, and the third is the same transfer but to Win2kPro. I have
never been able to get Win2kPro to go faster than what is shown there.
Any hints or tips or comments are welcome.
More information about the samba