strigidaemon needs exclude lists, defaults eat up too many resources
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
strigi (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Gusty x86-64, on a laptop
I have an existing home directory with over a quarter million files. The default setting of strigi to index everything under the user's home directory is far too broad and eats all available disk bandwidth, considerable CPU time, and takes up multiple gigabytes of disk space, as well. I let it run for more than four hours, and even then the daemon did not finish its automatically started indexing run.
Restricting strigi to just everything under .kde fares somewhat better, but even then there are more than 50,000 files to consider. Moreover, every time a file changes, such as the arrival of a new IMAP e-mail, strigi starts eating up CPU time for several seconds. For a laptop on battery power this is not desirable. In addition, there is little reason to index directories such as CVS, .svn and so on.
All things considered, it seems to me that strigi urgently needs include and exclude lists, and that furthermore such lists should be configured with sensible predetermined defaults, before it can be considered ready for prime-time in Ubuntu. At the moment, the user's view is more or less that the system frequently slows to a crawl for no apparent reason.
Another problem: It clobbers your file-system cache. If you're doing e.g. development, it is quite common to have your complete source tree in the kernel filesystem cache, resulting in fast builds. Strigi will load whatever it is indexing in the fs cache, happily evicting everything I just recently put in there.