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 314491 - intelligent I/O thread management
intelligent I/O thread management
Status: RESOLVED WONTFIX
Product: gnome-vfs
Classification: Deprecated
Component: Async operations
2.13.x
Other All
: Normal enhancement
: ---
Assigned To: gnome-vfs maintainers
gnome-vfs maintainers
: 74371 (view as bug list)
Depends on:
Blocks: 74371
 
 
Reported: 2005-08-25 20:32 UTC by Michael Meeks
Modified: 2008-09-06 18:54 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14



Description Michael Meeks 2005-08-25 20:32:09 UTC
As I recall - one thing that needs fixing in gnome-vfs is intelligent job queuing.
AFAIR there is 1-big-queue - and everything gets shoved on it & processed in
(prioritised?) order.
Unfortunately this means if nautilus has 1 window browsing /share/dead-nfs-mount
and 1 window browsing /home/$USER - then the deadly badness eventually clobbers
all the worker threads which sit there hanging NFS-wise.
Or - conversely - if we're viewing ssh://deadly-slow-machine/ - this will
similarly clog the thread pool & slow parallel local accesses.

Anyhow - it would -seem- to be a good idea to have a more intelligent job
allocation system, that ensures that no more than <N>% of the thread pool can be
working at a given sub-path. ie. you can block 1/2 the threads but the other 1/2
 are still free to do other work. Of course symlinks can break even the best
plans - but at least this would catch a large number of the most trivial cases &
 drastically improve I/O in the most common bad cases.

Or have I missed something ? :-)
Comment 1 Christian Neumair 2005-12-21 23:01:57 UTC
gicmo committed a patch that ported GnomeVFS to GThreadPool. However, I still couldn't find any implementation of the thread sanity algorithm you propose. Updating version.
Comment 2 Christian Neumair 2005-12-21 23:03:27 UTC
*** Bug 74371 has been marked as a duplicate of this bug. ***
Comment 3 André Klapper 2008-09-06 18:54:44 UTC
gnome-vfs has been deprecated and superseded by gio/gvfs since GNOME 2.22, hence mass-closing many of the gnome-vfs requests/bug reports. This means that gnome-vfs is NOT actively maintained anymore, however patches are still welcome.

If your reported issue is still valid for gio/gvfs, please feel free to file a bug report against glib/gio or gvfs.

@Bugzilla mail recipients: query for
      gnome-vfs-mass-close
to get rid of this notification noise all together.


General further information: http://en.wikipedia.org/wiki/GVFS 
Reasons behind this decision are listed at http://www.mail-archive.com/gnome-vfs-list@gnome.org/msg00899.html