Performance Samba 2.0.6 / FreeBSD 3.4 vs NT and NetWare

David Collier-Brown davecb at canada.sun.com
Fri Feb 4 15:35:28 GMT 2000


Clarence Brown writes:
| I have been testing performance and am a little disappointed, I
hoped samba
| would be faster.

You got:
Read		Seconds	KB/S    % of 10Mbit/S
NetWare		100	740.00		66
NT		92	804.35		72
Samba 		105	704.76		63

Write		
to NetWare	98	755.10		67
to NT		83	891.57		80
to Samba	230	321.74		29

Erase 		
NetWare 	2	
NTServer	2	
Samba		5

	I would have expected something closer to 725 KB/S on write,
	1100 KB/S read, (From my wife's Win95 machine).

	I initially thought it was a bsd bug, but Dan O'Connor
	(dan at jgl.reno.nv.us) wrote:
| The slow write times in FreeBSD seems to have been fixed late in the
Samba 
| 2.0.5a life-cycle. Make sure you're using the latest Samba (and
rebuild the 
| port so the patches take effect) and the latest FreeBSD. I find that
Samba 
| 2.0.6 humms along quite nicely under FreeBSD 3.4-STABLE.
	...and you have 2.0.6 and 3.4 	

	You might try playing with socket options: Martin Welk 	
	(mw at freibergnet.de) reports "Reading was quiet quick, 
	but writing to the server (especially many small files)
	was sooo sloooow." He's using
socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=262144
SO_RCVBUF=262144 
	and getting better results.

	Experiment carefully with buffer sizes: performance goes
	back down again if you get too large... see
http://www.oreilly.com/catalog/samba/chapter/book/appb_02.html#appb-34738

--dave
-- 
David Collier-Brown,  | Always do right. This will gratify some people
185 Ellerslie Ave.,   | and astonish the rest.        -- Mark Twain
Willowdale, Ontario   | //www.oreilly.com/catalog/samba/author.html
Work: (905) 415-2849 Home: (416) 223-8968 Email: davecb at canada.sun.com


More information about the samba mailing list