[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 17:42:59 GMT 2006
----- Original Message -----
From: "Jeremy Allison" <jra at samba.org>
To: "William Jojo" <jojowil at hvcc.edu>
Cc: "Claus Lund" <clund at tax.state.vt.us>; "Jeremy Allison" <jra at samba.org>;
<samba at lists.samba.org>; <jojowil at samba.org>
Sent: Thursday, May 11, 2006 1:37 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 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.
>
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.
Can I get you anything else?
Cheers,
Bill
> 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