lkml.org 
[lkml]   [2007]   [Nov]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: scheduling anomaly on uml (was: -rt doesn't compile for UML)

* Miklos Szeredi <miklos@szeredi.hu> wrote:

> > how come UML idled for 30 msecs here, while the workload was
> > supposed to be CPU-bound? It's not IO bound anywhere, right? No SMP
> > artifacts either, right?
>
> Yes. The UML kernel is UP, and I don't think 'date' or 'bash' want to
> do any disk I/O.
>
> Could disk I/O be blocking the tty? I think UML uses separate threads
> for these, but I don't know the details.

even if the workload is fully CPU bound externally - internally a
request to the external (CPU-bound) thread will look like an asynchonous
request - so small amounts of idle time can be within UML, legitimately.
(for the amount of time it takes for the external thread to service the
request)

30 msecs already sounds a bit excessive (this is on your T60 with
Core2Duo, right?), and 1-2 seconds noticeable latency is definitely
excessive.

Ingo
-
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/

\
 
 \ /
  Last update: 2007-11-29 12:53    [W:0.062 / U:1.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site