[Samba] Performance issue on AIX when deleting files in
adirectory with a large number of files
William Jojo
jojowil at hvcc.edu
Fri May 12 00:39:13 GMT 2006
----- Original Message -----
From: "Jeremy Allison" <jra at samba.org>
To: "Jeremy Allison" <jra at samba.org>
Cc: "William Jojo" <jojowil at hvcc.edu>; <samba at lists.samba.org>;
<jojowil at samba.org>
Sent: Thursday, May 11, 2006 7:06 PM
Subject: Re: [Samba] Performance issue on AIX when deleting files in
adirectory with a large number of files
> On Thu, May 11, 2006 at 03:54:17PM -0700, Jeremy Allison wrote:
> >
> > Do you see the change notify replies happening followed by the
> > change notify setups ? I bet I know what it is....
> >
> > Because AIX doesn't have kernel change notify when the change
> > notify setup comes (which happens after every delete) it causes a
> > directory rescan at that point - after *each* delete !
>
Yep...you're right no F_NOTIFY defined in fcntl.h (that I can find).
> I think I can code around this. The key is to ensure that
> setting "change notify timeout" to zero turns off change
> notify except for renames and deletes. Also make it a per-share
> parameter so it can be set to zero for "large" directories...
>
> Give me a day or so on this.
>
Now, IBM claims they can do directory change notification in AIX Fast
Connect. I wonder...
Cheers,
Bill
> Jeremy.
>
More information about the samba
mailing list