The problem won't go away if you ionice it. It'll just run with ionice
priority, but it'll still being doing an ostensibly completely redundant
stat() of files on the filesystem, instead of just reading from `dpkg
-l`.

So even if that could alleviate the case where it's racing other system
processes for I/O, it won't solve the case of your disk being spun up
for a long time (since it would otherwise be idle) due to popularity
contest.

Why does it need to stat files that packages install in the first place?
Can't it just trust that dpkg(1) reports installed packages correctly?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/493852

Title:
  popularity-contest will stat() every file installed file or ~80k files
  on my system which grinds things to a halt

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/popularity-contest/+bug/493852/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to