ctdb memory usage

Kai Blin kai at samba.org
Sat Jan 9 05:07:36 MST 2010

On Saturday 09 January 2010 10:35:58 Volker Lendecke wrote:

> Ah, ok. In recent times, I've tried to reduce our memory
> usage. Do you have any nunbers that this has grown again?

If this is between 3.2 and 3.5, nope, I haven't checked.

> It 
> would be a nice little project to compare, say, 2.2 and 3.0
> with master for some typical workload in terms of RAM usage.
> That should either give us hints how bad we suck these days
> or give NAS vendors arguments to switch to latest code.

Good point. At this moment I've built 2.2.12, v3-0-test and master for a quick 
comparison. Without starting any of the daemons yet, a quick comparison of 
the binary size in MB (built with ./configure --prefix=$SAMBADIR/<version> 
and installed with make install):

		2.2.12		v3-0-test	master
		------		---------	------
smbd		2.1		4.3		11
nmdb		0.8		1.4		3.9	
winbindd	1.3		3.0		8.3

I'm going to assume that for a system like that, a "typical workload" will be 
five clients reading/writing files in security=user mode (most NAS boxes use 
security=share, but I'll consider that broken and use the next best).

Do we have any tools that can simulate a workload like that or do I need to 
set up some VMs for this?


Kai Blin
WorldForge developer  http://www.worldforge.org/
Wine developer        http://wiki.winehq.org/KaiBlin
Samba team member     http://www.samba.org/samba/team/
Will code for cotton.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20100109/52dbb91f/attachment.pgp>

More information about the samba-technical mailing list