Re: Priorities of kswapd & bdflush

Rik van Riel (H.H.vanRiel@fys.ruu.nl)
Mon, 30 Mar 1998 17:01:44 +0200 (MET DST)


On Fri, 27 Mar 1998, Pavel Machek wrote:

> kswapd has realtime priority. Well, I do not like it (it likes to loop
> forever), but it is probably neccessary.

In fact, it should have a higher realtime priority than it
has now...
The loops are easily avoided by:
- correct coding (usually good enough to avoid loops :)
- reading the docs before cat'ing random values to /proc/sys/vm/*

> Anyway, at least when emergency sync is requested, bdflush should get
> realtime priority. As I said, it might be good thing (tm) for bdflush
> to have realtime priority all the time...
>
> What do you think?

I think you're right that bdflush should have a higher priority
than kswapd...

Rik.
+-------------------------------------------+--------------------------+
| Linux: - LinuxHQ MM-patches page | Scouting webmaster |
| - kswapd ask-him & complain-to guy | Vries cubscout leader |
| http://www.fys.ruu.nl/~riel/ | <H.H.vanRiel@fys.ruu.nl> |
+-------------------------------------------+--------------------------+

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu