[Samba] Performance issue on AIX when deleting files inadirectorywith a large number of files

Lund, Claus Claus.Lund at state.vt.us
Thu May 18 17:49:08 GMT 2006


----- Original Message -----
From: "Jeremy Allison" <jra at samba.org>
To: "Jeremy Allison" <jra at samba.org>
Cc: <samba at lists.samba.org>; "William Jojo" <jojowil at hvcc.edu>;
<jojowil at samba.org>
Sent: Friday, May 12, 2006 7:06 PM
Subject: Re: [Samba] Performance issue on AIX when deleting files
inadirectory with a large number of files



> Ok - here is the patch. Bill - if you could test this on
> AIX by setting the (now per-share) parameter :
>
> "change notify timeout = 0"
>

Thanks Jeremy! I should have an answer for you on Monday morning.

> on the share definition that holds a large number of files,
> you might find a speed up. I can see the effect it has here
> when I disable the kernel and FAM based change notify.
>

You know, I was trying to manufacture a way to do this with DMAPI (which
is
supported on JFS2) and set an event on {postcreate, postdelete,
postrename}
and check the errno value for success, but there seems to be absolutely
no
way to get the lib to do signalling. It appears to be a poll/select API.
Bummer....I wish IBM would put some of these cool Linux-only goodies in
their FS.


Cheers,

Bill


> Jeremy.
>


I have tested this patch (Samba 3.0.22 + Jeremy's patch) and everything
seems to be solid and it solves my problem.
I'll be putting it into production later this week.

Thank you very much,
Claus


More information about the samba mailing list