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

William Jojo jojowil at hvcc.edu
Thu May 11 22:50:01 GMT 2006



On Thu, 11 May 2006, Jeremy Allison wrote:

> On Thu, May 11, 2006 at 01:42:59PM -0400, William Jojo wrote:
>>
>> Certainly. :-) After the initial window refresh of all the files, select any
>> 15 or so consecutive objects (location seems to make no difference for me),
>> smack the delete key and confirm.
>
> Ok, I see what happens. Client opens each file in turn, sets delete on close,
> then closes - we send a changenotify - client sets another change notify up
> on the directory - repeat until all the files are deleted, then the client
> (explorer) re-scans the directory using findfirst/findnext with a * wildcard.
>
> It's the last action that's causing a stat on each remaining file in the
> directory. I don't see anything out of the ordinary here....
>

Hmmmmm, right. I'm seeing stats on each delete on AIX (like a 10-15 
second pause between each) and on the re-scan.

The deletes on FC3 were snappy followed by a long pause which was the 
rescan.

<taps chin>

I wonder why all the stats are happening on AIX between deletes and not on 
FC3.

<grabs shovel>


Bill

> Jeremy.
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba
>


More information about the samba mailing list