Re: Xterm Hangs - Possible scheduler defect?

From: Chris Friesen
Date: Thu Feb 24 2005 - 13:23:45 EST


Chad N. Tindel wrote:

1. Kernel preempts all. There may be some hierarchy of kernel priorities
too, but it isn't important here.
2. SCHED_FIFO processes preempt all userspace applications.
3. SCHED_RR.
4. SCHED_OTHER.

Under no circumstances should any single CPU-bound userspace thread completely hose a 64-way SMP box.

Can somebody educate me on why it is correct to do it any other way?

Low-latency userspace apps. The audio guys, for instance, are trying to get latencies down to the 100us range.

If random kernel threads can preempt userspace at any time, they wreak havoc with latency as seen by userspace.

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