I tried to measure the impact of ionice on updatedb when running in parallel 
with a full Eclipse workspace rebuild, a CPU- and disk-intensive process. 
Results below, there are two measurements per item (this is Gutsy on a Pentium 
M 2GHz notebook, 7200RPM disk):
Build alone: 50s, 52s
Build with updatedb: 3min20s, 5min17s
Build with ionice -c3 updatedb: 4min30s, 2min44s

So there appears to be only a minimal improvement with ionice, if there is an 
improvement at all (given the variability of the result, I would have to 
perform more measurements per item).
The man page of ionice states that it works with the CFQ IO scheduler. How do I 
know which scheduler I am running, and how do I change it?

I think it would be really nice to solve this updatedb issue, as it
really does give users a negative sensation. I use to completely disable
updatedb when I install Ubuntu for non-geeks. Anyway, I think most non-
geeks will never use locate...

-- 
slocate daily anacron job makes system feel slow
https://bugs.launchpad.net/bugs/13671
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to