[Samba] File list Performance question

John H Terpstra jht at Samba.Org
Tue May 17 00:57:49 GMT 2005

On Monday 16 May 2005 18:45, Michael W Cocke wrote:
> I have a server running SuSE 9.3 (Samba 3.0.13-1.1).  The underlying
> filesystem is xfs, and the NICs are Netgear gigabit.  2 Gb of ram in a
> P4/3.0 Ghz. The workstations are windows XP Pro, with all service
> packs installed, on P4 3+ Ghz, 1-2 Gb of ram. (varies a bit by
> workstation)
> I have one particular tree on the server that contains over 12K files
> in a few hundred subdirs.  Breaking it up isn't an option.
> I'm aware that there are tons of parameters and options in the
> smb.conf file, many having to do with performance, but I could use a
> pointer.
> When the users try to open a file, the select file listbox in ANY
> windows app is taking an eternity to populate.  The transfer speed of
> the files is fine, but is there a paticular way to speed up the
> findfirst/findnext loop that populates the list?

There is a chapter on the subject of large directories in the 
Samba-HOWTO-Collection (The Official Samba-3 HOWTO  and Reference Guide).
A copy has been reserved for you at:

If you find any problems please let me know as soon as possible.


- John T.

> Thanks!
> Mike-
> --
> Mornings:  Evolution in action.  Only the grumpy will survive.
> --
> Please note - Due to the intense volume of spam, we have installed
> site-wide spam filters at catherders.com.  If email from you bounces, try
> non-HTML, non-encoded, non-attachments.

John H Terpstra
Samba-Team Member
Phone: +1 (650) 580-8668

The Official Samba-3 HOWTO & Reference Guide, ISBN: 0131453556
Samba-3 by Example, ISBN: 0131472216
Hardening Linux, ISBN: 0072254971
Other books in production.

More information about the samba mailing list