GNOME Bugzilla – Bug 160150
performance degrades when deleting many files
Last modified: 2005-06-30 18:51:35 UTC
The system performance really takes a hit if you rm -rf a directory, because every one of those inotify events triggers an instantaneous delete from the index. It'd be nice if beagled queued up deletes for, say, 500ms so that it can process these in batches.
Filter out "joe milestone spam" to ignore these. Moving milestones from versions to target milestones, and adding in actual versions
*** Bug 160888 has been marked as a duplicate of this bug. ***
I have experienced the same problem when adding files. I created ~7000 small files and beagled used 100% of 2 CPUs for several minutes indexing them. I know this is an extreme case, but imagine uncompressing an archive. This could produce the same effect, especially if it is a huge archive like the Linux kernel source. I think queuing the events is a very good idea. Could the list of new files (or deleted ones) then be passed to the same system that handles throttling indexing at start-up? No reason to implement throttling twice.
I checked in some scheduler tweaks which should fix this.