Hi, On Wed, 12 Oct 2005, Carl-Daniel Hailfinger wrote:
Eberhard Moenkeberg schrieb:
Yes. Repository generation needs more than 24 hours currently (was usually only some few minutes), and during that time, some packages get renewed (but not recognized)... "By design" we will never get this totally in-sync, but currently we see very very clearly how bad it can be if the servers first have to build metadata before the files will be usable.
If ftp4 runs 10.0, it should be possible to use ionice to give higher io priority to metadata building and lowest prio to ftp serving.
Good idea. I have started experimenting with ionice now... But it seems to be a hazardous tool: any user is able to starve a system, f.e. by doing "ionice -c1 -n0 bonnie...". I guess ionice needs a mechanism like nice: a user can only lower the priority, only root can raise. This probably needs some more work: each process needs a default cfq class and priority "somewhere in the middle" which is hard to define. Cheers -e -- Eberhard Moenkeberg (emoenke@gwdg.de, em@kki.org)