[Samba] Re: Samba configuration options when using with FUSE file system

Jim Casey james.casey at caringo.com
Fri Apr 24 19:26:02 GMT 2009


Jeremy,

Thank you very much for the back reference.  Your solution works like a
charm.

-- James Casey

On Fri, 2009-04-24 at 00:12 -0700, Jeremy Allison wrote:
> On Thu, Apr 23, 2009 at 11:44:00AM -0500, Jim Casey wrote:
> > It seems that metadata operations involved in writing new files into the
> > same directory become increasingly expensive as the number of files
> > grows larger.  Determining whether a file exists in a directory (in our
> > case this will never be true since we are always writing new files)
> > seems like it should be a simple operation, but in fact seems to involve
> > a huge number of opendir->readdir->closedir calls.  I am using Samba to
> > share a FUSE filesystem for which these directory operations are very
> > expensive compared to file systems like ext3.
> > 
> > Are there configuration options in Samba that would help us out in this
> > case, perhaps by caching directory information or some such?
> > 
> > Thank you for any assistance you are able to provide.
> 
> See my post on large numbers of files in a directory:
> 
> http://lists.samba.org/archive/samba-technical/2005-February/039409.html
> 
> Jeremy.



More information about the samba mailing list