smbd needs one complete CPU

David Collier-Brown David.Collier-Brown at canada.sun.com
Fri Dec 8 20:52:10 GMT 2000


Wolfgang Magin wrote:
| I need to run samba 2.07 on a SUN E6500. The maschine has 8 CPUs. 
| From a remote machine, a file is held open for more than 10 hours 
| a day. That's an unchangable fact.

	That's mildly unusual, but not something that Samba
	doesn't normally deal with...

| The mess is that the samba daemon needs one CPU for itself and 
| reduces the whole system performance

	And that's **quite** unusual!

	[Put Sun hat on]
	Samba shouldn't use more than a tiny fraction of
	the system's resources per user: a older Ultra 200
	cpu should deliver around 21 MB/S in SMB throughput,
	and it's a rare and heavily loaded client that can
	even request 1 MB.

	Run the following command when Samba and the client
	are both active and doing work, and mail me the
	wolfgang.txt file...

	sar -o wolfgang.raw 10 30 && sar -A -f wolfgang.raw >wolfgang.txt

	This will sample the built-in statistics for 5
	minutes, then convert them into ascii.  I'll have a 
	look at it and see what's going on at the system level.
	[Sun hat off]

--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
-or-
David Collier-Brown,  | Cherish your enemies.  They're harder to
Performance & Eng.    | come by than friends and more motivated.
Sun Canada (ACE)      | davecb at canada.sun.com
(905) 415-2849        | http://elsbeth.canada.sun.com/~davecb




More information about the samba mailing list