Skip to contentSkip to conversation

get_request starvation fix

PATCH Dieter Nützel 1 participant 1 message Feb 8, 2002

lore
Share & tools
lore
#0 lore raw
Quoted 1 line · Andrew Morton

Here's a patch which addresses the get_request starvation problem.

[snip]

Quoted 6 lines

Also, you noted the other day that a LILO run *never* terminated when there was a dbench running. This is in fact not due to request starvation. It's due to livelock in invalidate_bdev(), which is called via ioctl(BLKFLSBUF) by LILO. invalidate_bdev() will never terminate as long as another task is generating locked buffers against the device.

[snip]

Could this below related?
I get system looks through lilo (bzlilo) from time to time with all latest kernels + O(1) + -aa + preempt

Thanks,
Dieter

Quoted 39 lines

Re: [patch] O(1) scheduler, -J9
Datum: Wed, 30 Jan 2002 17:36:21 +0100
Von: Dieter Nützel <[email protected]>
An: Ingo Molnar <[email protected]>
Kopie: Robert Love <[email protected]>, Oleg Drokin <[email protected]>

Quoted 14 lines · Dieter Nützel
Quoted 9 lines · Ingo Molnar
Quoted 5 lines · On Wed, 30 Jan 2002, Dieter [iso-8859-15] Nützel wrote:

As always running "nice +19 make -j40" in my HUGE C++ VTK tree in the background ;-)

The mouse feels a little bit sluggish after KMail start so I reniced X to -10. [...]

does this make X smooth? nice -10 is a good choice, it's not too low and not too high, i'm using that value myself.

Yes, mostly.
In "normal operation mode" X at 0 is good.

Quoted 8 lines

I only get some very little but noticeable unsmoothness with several KDE apps running. It could be KDE it self.

Latency degradation since -J4 stays. But that could be missing of some lock-breaks.

Robert's latest BKL stuff halved the numbers for the two latencytest0.42-png graphic benches on 2.4.18-pre7 + patches.

Addition:

I am most worried about the occasional kernel hangs during make bzlilo/bzImage. It appears during lilo (???). The new kernel (vmlinux) is still be built in /usr/src/linux but together with "latest" *.o and .*.flags files broken due to ReiserFS transaction replay after reboot (normal behavior with a journaling FS but without full data journaling.

Maybe a RACE between lilo vs sync?