[Samba] Performance issue on AIX when deleting files in a directory with a large number of files

Jeremy Allison jra at samba.org
Thu May 11 15:30:00 GMT 2006


On Fri, May 12, 2006 at 12:50:37AM +1000, James Peach wrote:
> On 5/11/06, Jeremy Allison <jra at samba.org> wrote:
> >On Wed, May 10, 2006 at 12:29:53PM -0400, Claus Lund wrote:
> >>
> >> Well, then Windows Explorer is braindamaged as well (which is a claim I
> >> won't contest ;) )... because it's slow deleting files right through
> >> Explorer as well.
> >
> >Yep - I completely agree Explorer is braindamaged. That's probably
> >the worst of the lot :-).
> >
> >> Well, it looks like a Samba problem to me (or maybe a compiler/compiler
> >> optimization problem?). I'm trying to get Samba compiled using IBM's XLC
> >> instead of GCC in the hopes that XLC might produce faster running 
> >binaries
> >> ... but unfortunately that seems like a somewhat involved task (Samba
> >> doesn't compile cleanly out of the box with XLC).
> >
> >If it only happens on AIX, it's not a Samba code logic problem, that's
> >what I mean. I doubt modifying compiler flags will do anything about
> >actions taking seconds to resolve - that's almost certainly a system
> >problem (ie. JFS on AIX).
> 
> sounds like samba is recreating the directory hash for change notifies

It only does that every 30 seconds or so - so I don't think that is
the problem (although turning if off might prove me wrong).

Jeremy.


More information about the samba mailing list