Samba performance issues: stat calls

Richard Sharpe rsharpe at
Fri Apr 4 17:53:55 GMT 2003

On Fri, 4 Apr 2003, Andrew Bartlett wrote:

> On Thu, 2003-04-03 at 18:06, Michael B.Allen wrote:
> > On Wed, 2 Apr 2003 19:26:36 -0800 (PST)
> > Richard Sharpe <rsharpe at> wrote:
> > 
> > > That looks like an average of more than one stat call per SMB. Not good!
> > 
> > Don't you have to stat each label in a path as you walk it?
> Yes, given how Samba works, one stat per smb is actually pretty low...

Well, stat just hit number 1 problem for me :-)

I have got to look at converting it to an IOCTL in our case, because our 
file system keeps times a 64-bit quantities, but POSIX is so aweful that 
we have to convert them to 32-bits in our POSIX subsystem and then back to 
64-bits in Samba.

Richard Sharpe, rsharpe[at], rsharpe[at], 

More information about the samba-technical mailing list