Re: [PATCH] CFQ scheduler, #2

William Lee Irwin III (wli@holomorphy.com)
Sat, 15 Feb 2003 04:01:06 -0800


On Sat, Feb 15, 2003 at 09:49:15AM -0200, Rik van Riel wrote:
> pgscan 2751953 5328260 <== ? hmm
> kswapd_steal 380282 522126
> pageoutrun 1107 1956
> allocstall 3472 1238

$ echo $(( 5328260/1956.0 ))
2724.0593047034763
$ echo $(( (5328260/1956.0)*4 ))
10896.237218813905

That's 2724 pages or 11MB scanned per pageout run. Order-of-magnitude
better ratio for pages stolen per pageout run. Wouldn't mind seeing a
patch that improves this.

-- wli
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/