[Samba] long delays with file enumeration & listing in large data storage environment

CaptainTrips28 captaintrips28 at gmail.com
Thu Feb 9 16:08:28 UTC 2023

After reviewing all feedback and implementing a test box based on RHEL 9.1
(kernel 5.14.0) with Samba 4.17.5 (I had to build it from latest source as
Redhat repos only had upto 4.16.4), and with latest version of
PBIS/ADBridge (22.3.x.x), we are now seeing enumeration/listing times of
near instantaneous to no more than a couple seconds on the same set of the
31k junk test data count

I also took the recommendations to review the options and naming formats
per line basis in the smb.conf and make sure they were in line with the

We are still testing but thus far as it is an extremely positive outcome
for something that has been causing us a headache well over a year now.

I will update with my revised smb.conf in a more detailed breakdown of the
configuration steps and testing scenario here soon. This is awesome! Thank

On Thu, Feb 9, 2023, 3:28 AM Ralph Boehme via samba <samba at lists.samba.org>

> On 2/8/23 11:59, Matthias Kühne | Ellerhold Aktiengesellschaft via samba
> wrote:
> > I *think* I have enabled all possible optimizations, but if you want to
> > have a look if I forgot something I'd be thankful. Thanks! (Sorry for
> > highjacking this thread - should I open a new one?)
> >
> > Ive asked the users and on-prem IT-people for more details and this is
> > what they tell me:
> >
> >    * MacOS 10.15 Catalina with Intel chipset -> fast directory listing
> >    * MacOS 12+ with Intel or M1 chipset -> slow directory listing
> oh, so something changed client side, haven't heard of this yet.
> *scratches head*  "Hopefully" one of our customers runs into this and
> lets me to take a look at this so I can investigate and if possible
> improve this.
> > Server side is the same Debian linux box with samba 4.16.
> >
> > The smb.conf for this fileserver s:
> config looks good.
> -slow
> --
> Ralph Boehme, Samba Team                 https://samba.org/
> SerNet Samba Team Lead      https://sernet.de/en/team-samba
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba

More information about the samba mailing list