Re: 2.6.9-rc1-mm1

From: Con Kolivas
Date: Thu Aug 26 2004 - 18:29:59 EST


Martin J. Bligh wrote:
--On Friday, August 27, 2004 02:38:05 +1000 Con Kolivas <kernel@xxxxxxxxxxx> wrote:
Rafael J. Wysocki wrote:
Actually, with the current scheduler, updatedb really sucks. It's supposed to be a background task, but it hogs IO resources and memory like crazy (disclaimer: it's my personal subjective observation).

The cpu scheduler plays almost no part in this. It's the I/O scheduler and the vm. IOnice will help the former _when it comes out_. Dropping the swappiness kind of helps the latter; although there are numerous alternative tweaks appearing for that too.

Yup. I can open a large 8Mpixel camera image in "display" and hang the whole
system for about 30s too ;-(

If you're talking about using the embedded image viewer in kde, that spins on wait and wastes truckloads of cpu (a perfect example of poor coding). Try loading it an external viewer and it will be 1000 times faster. If you're talking about it keeping the disk too busy on the other hand, that's I/O scheduling.

Cheers,
Con

Attachment: signature.asc
Description: OpenPGP digital signature