KIP, Powerprint Request software -samba

Thomas Mieslinger Thomas.Mieslinger at gls-itservices.com
Fri Aug 13 08:50:34 GMT 2004





Hello,

so how long does the directory listing on the Linux commandline take? maybe
this ain't a Samba Problem, but an ext3 issue. how about an other test
using xfs?

regards Thomas
--
General Logistics Systems
Thomas Mieslinger
German-Parcel-Str. 1-7  fon: +49 6677 17 463
36286 Neuenstein      fax: +49 6677 17 111
Germany    eMail: thomas.mieslinger at gls-germany.com

samba-technical-bounces+thomas.mieslinger=gls-germany.com at lists.samba.org
schrieb am 13.08.2004 10:25:44:

> Hello,
> I took a look at this interesting problem (Samba 3.0.4).
> Tracing the situation with ethereal shows, that the application requests
a
> directory listing and after that calls a "FIND_FIRST2" request for each
file
> in the listing. So there is no opening and reading of files or whatever.
> The behaviour is the same with Samba or a windows box.
>
> Comparing the trace from Samba to Windows shows, that the response times
to
> these requests increase massively on Samba with the number of files in
the
> directory, while the response time stays allmost constant on windows:
>
> Windows: 4000 files ~0.0005 seconds, 50 files ~0.0005 seconds
> Samba: 4000 files ~0.004 - 0.005 seconds, 50 files ~ 0.0004 seconds
>
> So Samba needs (4000 files) about 20 seconds only for the
responses,Windows 2
> seconds.
>
> The response times are also related to the place in the directory
listing:
> I named my 4000 files 0-3999 and the responses to the lower numberedfiles
are
> quicker than the responses to requests on the higher numberd files.
>
> Looks, like Samba searches linear directory listings for each request on
one
> file ??.
>



More information about the samba-technical mailing list