[Samba] Samba Tuning

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


-----BEGIN PGP SIGNED MESSAGE-----

********************************************************************
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 (10.200.41.127)
# Date: 2004/01/09 12:33:30

# Global parameters
[global]
        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 = 10.192.34.61
        oplocks = No

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

[nlife]
        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
difference...

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

Cheers,

Simon

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




-----BEGIN PGP SIGNATURE-----
Version: PGPsdk version 1.1.1 (C) 1997 Pretty Good Privacy, Inc.

iQEVAwUBQAZf424wJNdvwuyFAQHCfwgApEzeJdrs+XbT+ckdSkSwf5tSCVfwqM+e
2Q1+Kv5/M16ofwcU5+LTy2idYSg0ewDbjRkU/TRHmShx5j8TuagUNaCYaS94OrGo
XdafCPuHUPl6gRdOGZBTd5qYkmvf3i+1JGr8rqIRsJO5+nHm9txZbX3b3DE3YAzj
oshzIlwmsDk0moyqhS8W20mRt9jAnfvptI+ao7wakS2phbZLUf8BNgctZGCkC8Yw
Az8MwvX4JLVRwUa6gT1CFetU4WhoRjfYIY4CcnBaEpecbMWpQrI5+Eg+f1tK19Ll
dxX32+EpzAXJjrmEk2x4GSptMTJ6zE0TuPIjDI+EC3tOdFbchmtFOg==
=xej9
-----END PGP SIGNATURE-----


More information about the samba mailing list