Samba performance issues: stat calls
rsharpe at richardsharpe.com
Fri Apr 4 18:19:57 GMT 2003
On Fri, 4 Apr 2003, Simo Sorce wrote:
> On Fri, 2003-04-04 at 19:53, Richard Sharpe wrote:
> > 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 richardsharpe.com> 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.
> even in 64bit systems??
The standard POSIX stat call returns 32-bit times, I believe.
Richard Sharpe, rsharpe[at]ns.aus.com, rsharpe[at]samba.org,
More information about the samba-technical