smb browse to a 2k domain share sloooow

Markus Kolb ubuntu-ml at tower-net.de
Wed Jan 5 17:26:49 UTC 2005


On 05.01.2005 08:14, Senectus . schrieb:
> On Tue, 4 Jan 2005 16:16:28 +0100, Markus Kolb <ubuntu-ml at tower-net.de> wrote:
> 
>
[...]
> Ok I've managed to improve things a little..
> If I actually mount the shares locally then it seems to "cache" the
> information that takes it so long to find via "browsing"
> The initial loading or listing of what is in the share still takes
> _AGES_ to happen.. but once its done its pretty quick to jump around
> in..
> 
> What a strange problem.. I wonder what takes it so long to list the shares?
> 

What takes so long? Browsing the share or listing the shares?
Nautilus needs some time to find the network services available in the 
network. It's like you'll do a Computer search on MS Windows.
You can save the shares as a bookmark in Nautilus so that you need not 
to search the shares every time.

How do you browse the share? Nautilus? Try it in a console to see if it 
is the backends fault or the user interface.
Can you try something like that in your top mounted share dir:

$ time { ls -Rla | wc -l ; }
3446

real    0m2.565s
user    0m0.052s
sys     0m0.042s

$ time { ls -Rla | wc -l ; }
19227

real    0m13.136s
user    0m0.168s
sys     0m0.211s

The number below the command line shows the line count of ls command. So 
you may say it is the number of files and directories.

You see that here everything is ok. I think 2 and a half second for a 
listing of 3400 files in different directories with a 10MBit LAN is fair.
I think MS windows is not faster.

Markus




More information about the ubuntu-users mailing list