Re: Xterm Hangs - Possible scheduler defect?
From: Paulo Marques
Date: Thu Feb 24 2005 - 14:05:59 EST
Chad N. Tindel wrote:
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.
Come now. There is no such thing as a random kernel thread. Any General
Purpose kernel needs the ability to do work that keeps the entire system from
grinding to a halt.
FYI most kernel threads do background work, that doesn't have hard
real-time constraints. Why should my audio recording session get
interrupted (read: "sent to the trashcan") just because the swap daemon
decided that it was a good time to write some pages out? Couldn't it
have waited just a few more milliseconds?
You don't seem to realize that you have just arrived to this mailing
list and missed years of discussions on kernel architecture.
If you keep a learning attitude, there is a chance for this discussion
to go on. However, if you keep the "Come now, don't bullshit me, this is
a broken architecture and you're just trying to cover up" attitude,
you're just going to get discarded as a troll.
I personally like the linux way: "root has the ability to shoot himself
in the foot if he wants to". This is my computer, damn it, I am the one
who tells it what to do.
This is much, much better than the "users are stupid, we must protect
them from themselves" kind of way that other OS'es use.
Just my 0.02 euros,
--
Paulo Marques - www.grupopie.com
All that is necessary for the triumph of evil is that good men do nothing.
Edmund Burke (1729 - 1797)
-
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/