On Mon, 2003-06-02 at 11:24, Tom Sightler wrote:
> I'm not sure why it's worse
> under 2.5 though, I still wonder if maybe it's because it's getting a
> priority boost, it almost seems it should get a penalty for being a CPU
> hog as Ingo pointed out. I can easily fix this in userspace so maybe
> this is a non-issue. If so, I apologize for bringing it to the list.
In trying to figure out why this might be worse under 2.5 I took some
simple vmstat numbers under 2.4 and 2.5, this biggest difference is the
number of context switches. Under 2.4, with the page loaded, but
otherwise idle, the system averages around 700/sec, and when I mouse
around the page I get 2000-3000/sec.
However, under 2.5, as I reported previously, I get 2000/sec all the
time, and 3000-4000 as I mouse around the page.
Would this be expected behavior? Does 2.5 do something that would cause
more context switches that 2.4? I have no idea if this would have any
impact at all, but it was the only difference I could observe in my
fairly simple testing of the two kernels.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to email@example.com
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sat Jun 07 2003 - 22:00:17 EST