Re: Question about fair schedulers

From: Jesper Juhl
Date: Sun Jun 24 2007 - 16:57:49 EST


On 23/06/07, Alberto Gonzalez <info@xxxxxxxx> wrote:
El Saturday 23 June 2007 18:35:18 Kyle Moffett escribió:
[snip]
> "PROCESS1 is more important than PROCESS2" is pure policy and must be
> done from userspace. We even give appropriate enforcement mechanisms
> to userspace to take such action (nice levels).

Yes, an app to change priorities would be very nice,

You already have such an app. It is called 'renice' (and 'nice'). Most
people can work out how to use those. :-)

You also have graphical apps to do the job. For example, in KDE, try
starting the "KDE System Guard" application (usually bound to the
CTRL+ESC hotkey) and you'll see a nice list of all running processes.
If you right-click a process you'll get a drop-down box with the
bottom entry being "Renice Process...", simply click that and you can
adjust the priority of that process. You can also easily make it so
that whenever you start a given application it gets niced to a
specific priority; simply (again assuming KDE) right-click the icon
you use to launch the application and edit it, select the
"Application" tab and in the "Command: " field prefix the command used
to launch the application with 'nice' and the priority you want, save
your changes and the next time you launch that app it'll get the
priority you wish.
Gnome and most other environments also have similar capabilities.

--
Jesper Juhl <jesper.juhl@xxxxxxxxx>
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please http://www.expita.com/nomime.html
-
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/