Good Afternoon Bill,
Thanks for the input. Let me make a couple of comments.
On Mon, May 09, 2005 at 02:14:14PM -0400, Bill Davidsen wrote:
Might I suggest that if you like the "we know best just trust us" approach, there is another OS to use. Making information available to good applications will improve system performance, or at least allow better limitation of requests for resources, and bad applications will be bad regardless of what you hide. You don't hide the CPU hardware any more than the memory size.
You could use a similar argument for cooperative rather than
preemptive multitasking. It might even be a valid argument,
assuming you controlled all the processes running on the system.
But it didn't work very well in practice.
I see two problems with encouraging applications to get involved
with processor selection.
The first is they don't have enough information to get it right.
There are going to be other processes running on the machine.
The optimal set of processors to run on is going to depend on
what else is running and what it is doing at that instant. This
isn't information a usermode process has good access to. Say I
have an application that wants to bind its 2 threads to the two
processors on a single SMT chip. Now say I run two of these
applications on a machine with 2 SMT chips on it. What keeps
both of them from binding themselves to the same chip? Should
it be the applications responsibility to look through the process
table and see what other applicatioins are bound to what processors?
What prevents races if they do?