Re: Interesting interaction between lguest and CFS

From: Ingo Molnar
Date: Mon Jun 04 2007 - 13:54:58 EST



* Matt Mackall <mpm@xxxxxxxxxxx> wrote:

> With 2.6.22-rc3-mm1, I've got a long-running video transcoding going
> on. In other windows, I'm compiling, reading email, etc. with no
> noticeable problems.
>
> If I fire up lguest and leave it sitting at a shell prompt for a
> couple moments, when I return to type something at the prompt, it can
> take 2-3 seconds for my input to echo. Once it starts responding,
> typing latency disappears. Suspend the other app and the latency
> disappears.
>
> The system isn't swapping and has basically no I/O load.

could you send me the /proc/PID/sched file of that task which shows this
2-3 seconds delay? (if it's a shell and a graphical terminal then please
send the sched-debug file of both.) I suspect the latency goes away if
you strace -f the shell task(s)? If not then please send the strace
output too.

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