[Samba] Samba Tuning

Simon.Harris at nationwide.co.uk Simon.Harris at nationwide.co.uk
Thu Jan 15 09:39:47 GMT 2004


The contents of this email are intended exclusively for the
addressee. If you are not the addressee you must not read
use or disclose the email contents ; you should notify us
immediately [ by clicking "Reply" ] and delete this email.

Nationwide monitors e-mails to ensure its systems operate
effectively and to minimise the risk of viruses.  Whilst it has
taken reasonable steps to scan this email, it does not
accept liability for any virus that may be contained in it.

Following problems with samba performance on a Solaris 9 box I have traced
this to the number of files being accessed by an application... Seems when a
process is kicked off on the client it goes to a directory which has many
thousands of small files and does some processing on them, while this is
running samba performance drop dramatically.

It seems performance is fine when dealing with a small number of large files
but when dealing with many thousands of small files (4k or so) it's a
different story.

Is there any tuning I can do to improve the situation?

Samba Server: SunFire V880 running Solaris 9 (112233-08)
Samba Client: Compaq ProLient ML570 running W2K SP3

# Samba config file created using SWAT
# from pq04464.admin.nbsnet.co.uk (
# Date: 2004/01/09 12:33:30

# Global parameters
        netbios name = UXHSMSVC01
        server string =
        encrypt passwords = Yes
        username map = /etc/sfw/smbusers
        log level = 1
        log file = /var/samba/%m.log
        show add printer wizard = No
        socket address =
        oplocks = No

        comment = File Scanning - Cell 1
        path = /mfs/Scan_Cell_1/export
        guest account =
        valid users = mfssvc
        read only = No

        comment = Life
        path = /nlife/export
        guest account =
        valid users = nlifesvc
        read only = No

Have set oplocks = No as many processes my access the same files at the same
time and thaught we maybe spending a lot of time oplock processing. Made no

Logs are not showing errors (at log_level 3) but have a lot of activity...



Simon Harris
Nationwide Building Society
Technology Support
Enterprise Servers (SAN)
* +44(0)1793 654492
*  +44(0)7764 838021
*  Simon.Harris at nationwide.co.uk

Version: PGPsdk version 1.1.1 (C) 1997 Pretty Good Privacy, Inc.


More information about the samba mailing list