svn commit: samba r19820 - in branches: SAMBA_3_0/source/param SAMBA_3_0_24/source/param

Bjoern JACKE bjoern at j3e.de
Wed Nov 22 10:58:45 GMT 2006


Hi Jeremy,

On 2006-11-21 at 09:03 -0800 Jeremy Allison sent off:
>On Tue, Nov 21, 2006 at 01:42:31PM +0000, vlendec at samba.org wrote:
>> Author: vlendec
>> Date: 2006-11-21 13:42:31 +0000 (Tue, 21 Nov 2006)
>> New Revision: 19820
>> 
>> WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=19820
>> 
>> Log:
>> Limit the stat cache to 1MB by default (Bug 4244). Thanks to Bjoern Jacke
>> <bj at sernet.de>
>
>I think 1mb is too small. How about 5-10 ?

I ran some nbench test for 5 Minutes against a minimal configured
samba with max stat cache size 0 (no limit), 1, 2 and 10. The system
is an Opteron SLES9 with XFS. With max stat cache size = 1 I see a 2
percent performance penalty with max stat cache size = 10 I had _no_
performance penalty compared with max stat cache size unlimited. So I
think with with max stat cache size default being 1024 we are very
comfortable and that should be more than sufficient.
The results are attached.

Cheers
Bjoern
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cache0.gz
Type: application/x-gzip
Size: 3025 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20061122/df2b38bb/cache0.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cache10.gz
Type: application/x-gzip
Size: 3078 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20061122/df2b38bb/cache10.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cache1.gz
Type: application/x-gzip
Size: 3030 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20061122/df2b38bb/cache1.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cache2.gz
Type: application/x-gzip
Size: 3068 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20061122/df2b38bb/cache2.bin


More information about the samba-technical mailing list