Samba performance issues: stat calls

Simo Sorce simo.sorce at xsec.it
Fri Apr 4 17:17:52 GMT 2003


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??

Simo.

-- 
Simo Sorce - simo.sorce at xsec.it
Xsec s.r.l. - http://www.xsec.it
via Durando 10 Ed. G - 20158 - Milano
mobile: +39 329 328 7702
tel. +39 02 2399 7130 - fax: +39 02 700 442 399
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20030404/f3d655fe/attachment.bin


More information about the samba-technical mailing list