[Samba] Performance issue on AIX when deleting files in
adirectory with a large number of files
William Jojo
jojowil at hvcc.edu
Wed May 10 17:53:09 GMT 2006
----- Original Message -----
From: "Jeremy Allison" <jra at samba.org>
To: "Claus Lund" <clund at tax.state.vt.us>
Cc: <samba at lists.samba.org>; <jojowil at samba.org>; "Jeremy Allison"
<jra at samba.org>
Sent: Wednesday, May 10, 2006 1:27 PM
Subject: Re: [Samba] Performance issue on AIX when deleting files in
adirectory with a large number of files
> On Wed, May 10, 2006 at 01:14:08PM -0400, Claus Lund wrote:
> >
> > I agree that it's not a Samba logic problem ... more like a Samba
porting
> > problem?
> > And I don't think we can just blame JFS2 and/or AIX either because
deleting
> > files in that directory directly on the box or even through NFS is
orders of
> > magnitudes faster (minutes vs days to delete all the files in a
directory
> > with 150K files).
>
> But the nfs or local access isn't performing the same access pattern
> that Samba is by being driven by the client. I'm guessing that if you
> performed the same actions locally that the client is requesting
> Samba perform you'd get the same results (in fact you *must* - as
> all of Samba is userspace, there's no magic in what Samba is doing
> here - it's doing what the client requests from userspace).
>
> My money is still on the kernel, as driven in this access pattern.
>
Yep. I'd be curious what a truss of a smbd process shows for access on that
filesystem.
Is this jfs2 using an inline log? Just curious...
Cheers,
Bill
> Now the access pattern may be insane, but that's not our fault :-).
>
> 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