samba@lists.samba.org
[Top] [All Lists]

Re: [Samba] Performance issue on AIX when deleting files in a directory

Subject: Re: [Samba] Performance issue on AIX when deleting files in a directory with a large number of files
From: Jeremy Allison
Date: Thu, 11 May 2006 08:30:00 -0700
On Fri, May 12, 2006 at 12:50:37AM +1000, James Peach wrote:
> On 5/11/06, Jeremy Allison <jra@xxxxxxxxx> 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.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

<Prev in Thread] Current Thread [Next in Thread>