After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 76325 - Moving hundreds of images exceptionally slow in Nautilus for Gnome2
Moving hundreds of images exceptionally slow in Nautilus for Gnome2
Status: RESOLVED DUPLICATE of bug 304184
Product: nautilus
Classification: Core
Component: Thumbnails
0.x.x [obsolete]
Other other
: Normal normal
: 1.1.x
Assigned To: Nautilus Maintainers
Nautilus Maintainers
: 45243 46707 48487 76638 81905 167855 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2002-03-25 20:01 UTC by Gaute Lindkvist
Modified: 2005-09-10 20:35 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10



Description Gaute Lindkvist 2002-03-25 20:01:10 UTC
This should be easily reproduced:
1. Find two large image-directories. Preferably ones that haven't been
fully thumbnailed yet.
2. Drag and drop a large bunch of files from one dir to another. 

It will take around a second for EACH file, even though they are on the
same filesystem. Doing the same with mv will take approx. 1 second for the
whole operation.

What is wrong?
It seems Nautilus tries to move each file and thumbnail them as they are
copied. Instead it should of course just finish the entire moving process
and put generic icons on the images and try to thumbnail them when it is
finished moving. Besides, if you are moving thumbnailed images, shouldn't
the thumbnails be moved as well?
Comment 1 Dave Bordoley [Not Reading Bug Mail] 2002-03-28 17:40:34 UTC
*** Bug 76638 has been marked as a duplicate of this bug. ***
Comment 2 Dave Bordoley [Not Reading Bug Mail] 2002-03-29 08:01:40 UTC
*** Bug 48487 has been marked as a duplicate of this bug. ***
Comment 3 Dave Bordoley [Not Reading Bug Mail] 2002-04-05 06:29:50 UTC
*** Bug 46707 has been marked as a duplicate of this bug. ***
Comment 4 Dave Bordoley [Not Reading Bug Mail] 2002-04-05 06:47:18 UTC
*** Bug 45243 has been marked as a duplicate of this bug. ***
Comment 5 Luis Villa 2002-05-21 04:01:40 UTC
*** Bug 81905 has been marked as a duplicate of this bug. ***
Comment 6 Luis Villa 2002-05-22 22:30:39 UTC
Want to take a look, jacob?
Comment 7 jacob berkman 2002-06-11 20:07:06 UTC
is this still a problem?

the thumbnailing code had some significant bugs fixed since you
reported this.

what type of machine do you have (processor, memory)?
Comment 8 Gaute Lindkvist 2002-06-11 23:12:15 UTC
Well, moving mostly goes ok.. though still 1/5 of the speed of "mv".

Deleting is worse. Moving to trash is about the same as a normal move,
but deleting is painfully slow. Using about a second per file. "rm"
does the entire bunch (about 40-50 files) in just a few seconds.

It seems that there is still some redundant thumbnailing occuring. The
images are replaced with the "waiting to be thumbnailed"-icon before
they are deleted.

My computer should be plenty fast:
Athlon 800
256MB SDRAM
NVidia GeForce 2 GTS
One of the crappy, but fast recent IBM-drives.
Comment 9 Luis Villa 2002-06-12 00:17:53 UTC
Well, copying of /all/ files is slower than cp. That isn't image
specific. Don't know about rm-ing.
Comment 10 Alex Graveley 2002-06-12 21:06:23 UTC
This is still happening for me.  Moving lots of images (500+) seems to
move near-instantly an arbitrary number of images (sometimes 100,
sometimes 400), and then slow down to one image every 3-4 seconds.
Comment 11 jacob berkman 2002-06-13 16:27:45 UTC
alex g,

do you think this is from thumbnailing starting up on the destination?

is the performance much worse for images vs. other files?
Comment 12 Luis Villa 2002-06-14 19:45:41 UTC
If we're looking at moving 100+ images before things slow down, I'm
going to punt this. Dave, please add your thoughts before we kiss it
goodbye, though. :) 
Comment 13 Dave Camp 2002-06-14 19:49:00 UTC
The thoughts we just discussed are:

Things seem to be copying fairly quickly for us at around 100 images.
 Orph was saying that during copying 500 images, things start slowing
down a lot, jacob thinks this might be due to the thumbnailer kicking in.

Jacob suggested freezing and thawing the thumbnailer during copy
operations.

As for moving thumbnails with images, there might be an easy way to
schedule related copy operations, since the directory copy code (we
think) schedules copying of the metafile when you copy a directory
(but we might be wrong).
Comment 14 Gaute Lindkvist 2002-07-05 14:46:20 UTC
This seems to happen rather irratically with me currently. Sometimes
moving 200 images is dog slow, sometimes moving 400 happens fairly fast.

Seems to me there is just _too_ much complexity, and unknown factors
in the process. You have to think about thumbnailing, moving, possibly
moving thumbnailing, queuing, etc.. putting all kinds of thumbnailing
on hold until the move process is completed sounds like a really good
idea. 

There is also a lot of blocking going on when managing images, and it
is probably related.
Comment 15 Mark Finlay 2003-03-31 17:35:27 UTC
Still seeing this in Nautilus 2.2. It's not as bad but thumbnailing
is still really messy when moving files. I don't see why a file
should be re-thumbnailed when it is moved. Also the thing where
a file turns to a default icon before disapearing looks really
messy.
Comment 16 venza 2004-12-21 18:31:18 UTC
The same thing happens while removing (shift+del) lots of files in a large
directory, I just tried to delete +400 files (.zip, so no thumbnails) in a
directory containing +1000, after the first 180 or so, it slowed down to one
file per sec.
Comment 17 Sebastien Bacher 2005-02-25 23:11:49 UTC
*** Bug 167855 has been marked as a duplicate of this bug. ***
Comment 18 Christian Neumair 2005-09-10 20:35:32 UTC
Marking this as duplicate of bug 304184, since the latter contains more
information and patches.
Comment 19 Christian Neumair 2005-09-10 20:35:57 UTC

*** This bug has been marked as a duplicate of 304184 ***