Performance problems

Richard Furda riso at best.ca
Tue Nov 7 05:20:37 GMT 2000


	Hello,

I am having performance issues with Samba version 2.0.6.
Server is a FreeBSD 5.0-CURRENT, client is WindowsME.
Both use Intel Express Pro 100+ NICs. Connection is
100BaseTX/full duplex, CAT5 crossover.

I performed the following tests with a 687MB binary file.

 o FTP
     FreeBSD  =>  Windows   190 seconds
     Windows  =>  FreeBSD   257 seconds

 o SMB	
     FreeBSD  =>  Windows   225 seconds
     Windows  =>  FreeBSD    30 minutes   (*)


This same problem occured while I ran Windows98 on the client side. 
My Samba has the following configuration related to performance:

socket options = TCP_NODELAY IPTOS_LOWDELAY IPTOS_THROUGHPUT 
read raw = yes
write raw = yes
max xmit = 65536
read size = 16384
shared mem size =  6291456
oplocks = true
level2 oplocks = true 
read prediction = True

FreeBSD kernel has the following options as well:

options         SHMMAX=(SHMMAXPGS*PAGE_SIZE+1)
options         SHMMAXPGS=2048      # 8192KB of shareable memory

I believe this problem is not related to Windows tcp/ip stack,
the driver or the cabling, but Samba.

riso at daemon$ netstat -i -I fxp0
Name  Mtu   Network       Address            Ipkts Ierrs    Opkts Oerrs  Coll
fxp0  1500  <Link#1>    00:a0:c9:d8:0c:30  1461435     0  1024210     0    0
fxp0  1500  10.254.254/30 daemon-lan-gw    1399198     0   991230     0    0


Thanks,
Richard





More information about the samba mailing list