[Samba] Performance issue on AIX when deleting files in
adirectory with a large number of files
Jeremy Allison
jra at samba.org
Thu May 11 17:37:51 GMT 2006
On Thu, May 11, 2006 at 01:26:58PM -0400, William Jojo wrote:
>
> Confirmed on FC3/ext3 and AIX/JFS2/JFS. statx's still being done between
> deletes. I'm using same settings as Claus and all files are in the form
> "file%d" (0 through 149999).
>
> Now for me the initial display of files is ~30 seconds.
>
> AIX delete shows a slow meter with 20,15,... seconds remaining.
>
> FC3 delete show a fast meter, but then the window hangs for 30 more seconds.
> top shows the smbd using 50%+ of cpu. (mind you FC3 is in vmware 5 on my
> T43)
>
> Jeremy, do you want me to test FC4 as well?
Can you tell me exactly how the files are being deleted (ie. are
you just selecting everything in an explorer window and hitting
"delete" ?). I can try and reproduce this and see where the stat's
are being done inside the code paths.
If it's not easy to reproduce send me a ethereal dump of client
traffic when doing the deletes.
Jeremy.
More information about the samba
mailing list