----- Original Message ----- 
From: "Jeremy Allison" <[EMAIL PROTECTED]>
To: "Claus Lund" <[EMAIL PROTECTED]>
Cc: <[email protected]>; <[EMAIL PROTECTED]>; "Jeremy Allison"
<[EMAIL PROTECTED]>
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
>

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

Reply via email to