Re: Linux responsiveness under heavy load

From: Helge Hafting (helgehaf@idb.hist.no)
Date: Thu Mar 09 2000 - 04:20:11 EST


> In fact, an NT server is still heavily loaded,
> but by making the display look and feel "snappy", it presents the
> illusion that the server has great responsiveness under heavy load.
> This stuff in NT is all hard coded (Since their GUI is tightly
> integrated with the OS), and if Linux wanted to do the same, the X
> Server and bash would probably be the places to do this .....

Os/2 has the same priority boost for interactivity. You can't really do
that in bash, as a non-root bash can't raise its priority above normal.
(If it could, all sorts of programs would do that in order to look like
top performers.)

I believe you can get this effect today by starting all processes with
a slightly lower priority (use nice), except for bash and X at normal.

You might get a more NT-like effect by modifying the keyboard driver to
raise the priority of whatever process receives keystrokes, but that
will
help the console only. A telnet/ssh user wouldn't benefit.

Helge Hafting

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



This archive was generated by hypermail 2b29 : Wed Mar 15 2000 - 21:00:15 EST