[Samba] massive performance problems if transferring many sma ll files

Andrew Bartlett abartlet at samba.org
Thu Feb 12 11:38:27 GMT 2004


On Thu, 2004-02-12 at 21:14, Simon.Harris at nationwide.co.uk wrote:
> -----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.
> ********************************************************************
> 
> What does mangle method hash2 do differently?
> 
> My case involves similar amount of files in a single directory in the
> format:
> five-digits[0-9].{ABC}
> (where I can have three extensions for same five-digits)
> This is managed by an application so will not get duplicates.
> Is there anything I can tune to speed-up the findfirst that my application
> is doing for every file? 
> 
> Am using the defaults in samba.conf!

ok, those names would not be mangled.

At the cost of correctness, you can set 'case sensitive = yes'.  This
will make the findfirst *very* fast, but if the client doesn't get the
case *exactly* right, things break badly...

Andrew Bartlett

-- 
Andrew Bartlett                                 abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team  abartlet at samba.org
Student Network Administrator, Hawker College   abartlet at hawkerc.net
http://samba.org     http://build.samba.org     http://hawkerc.net
-------------- 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/archive/samba/attachments/20040212/99b8798f/attachment.bin


More information about the samba mailing list