KIP, Powerprint Request software -samba
Thomas.Mieslinger at gls-itservices.com
Fri Aug 13 08:50:34 GMT 2004
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
General Logistics Systems
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:
> I took a look at this interesting problem (Samba 3.0.4).
> Tracing the situation with ethereal shows, that the application requests
> directory listing and after that calls a "FIND_FIRST2" request for each
> 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
> these requests increase massively on Samba with the number of files in
> 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
> The response times are also related to the place in the directory
> I named my 4000 files 0-3999 and the responses to the lower numberedfiles
> quicker than the responses to requests on the higher numberd files.
> Looks, like Samba searches linear directory listings for each request on
> file ??.
More information about the samba-technical