popularity-contest will stat() every file installed file or ~80k files on my system which grinds things to a halt
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
popularity-contest (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: popularity-contest
I was trying to use my puny laptop when the popularity-contest cronjob started running and killed all I/O performance on my poor ~5000 rpm disk. When popularity-contest is run it'll stat() every file installed by a package on my system or around 81,000 files on my system which has 2252 packages installed.
I'm willing to send statistics to Ubuntu but I'm not willing to have them grind my laptop to a halt. The Ubuntu installer should be more specific about what users are getting themselves into and provide the option of sending a lite statistics report equivalent to dpkg -l|grep ^ii
ProblemType: Bug
Architecture: i386
CheckboxSubmission: 0169f76fbe64c26
CheckboxSystem: bb422ca46d02494
Date: Tue Dec 8 00:56:20 2009
DistroRelease: Ubuntu 9.10
Package: popularity-contest 1.48ubuntu1
PackageArchitec
ProcEnviron:
LANGUAGE=
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: popularity-contest
Uname: Linux 2.6.31-15-generic i686
The script is simply too resource intensive. If there is a way to make it run over a longer period of time, and require less I/O resources at any given point in time, this would be much preferable to the current situation. I am considering uninstalling it (for now), since providing statistics isn't worth the performance penalty it brings, in my view.