Nautilus hangs when accessing CIFS share

rikona rikona at sonic.net
Fri Dec 23 05:38:17 UTC 2016


Hello Karl,

Thursday, December 22, 2016, 2:55:44 AM, Karl wrote:

> I've found Nautilus us woefully slow at loading and sorting large
> directories.

Me too - that is one of the problems with it.

> If I create a lot of file entries:

> mkdir biggy
> cd biggy
> for i in 0 1 2 3 4 5 6 7 8 9 ; do { for a in 0 1 2 3 4 5 6 7 8 9 ; do {
> for b in 0 1 2 3 4 5 6 7 8 9 ; do { for c in 0 1 2 3 4 5 6 7 8 9 ; do {
> for d in 0 1 2 3 4 5 6 7 8 9  ; do { touch "zappo$i$a$b$c$d.dat" ;  };
> done; }; done; }; done; } done } done

> ... then do an "ls" it displays them all with no more than the
> merest hesitation before output begins. But if I ask Nautilus to
> show me the directory, it loads at approximately 7500 files per
> second. Off an SSD. 

I don't get anywhere near 7500 files/sec, but it is a HD not an SSD.
IF I move/copy , say, 800 files by drag/drop it often takes about
30-60 seconds during which Nautilus does not respond. The files may be
bigger and more complex than the ones you used, typically 50-500
kb/file.

I found a workaround that helps greatly re time. If during the
drag/drop I release the mouse the *instant* the target window
indicates it recognized the target folder, it does NOT open the folder
and the transfer goes quickly[seconds]. If I pause even a tiny bit,
Nautilus then tries to open the target folder, and with 50,000 files
in that folder it can take minutes to open/complete the transfer,
during which Nautilus is inoperative. Not good....

I thought this was just a problem with my setup, but perhaps not...

-- 

 rikona        





More information about the ubuntu-users mailing list