lkml.org 
[lkml]   [2002]   [Feb]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] improving O(1)-J9 in heavily threaded situations

On Tue, 5 Feb 2002, Jussi Laako wrote:

> > Please renice your CPU hog soundcard processes to -11, does that make any
> > difference? (under -K2)
>
> I can renice this only for testing purposes. Normally these are not
> run as root so I can't do negative renice.

but you can run the audio tasks as SCHED_FIFO?

(you do not have to run the tasks as root, you only have to do the renice
as root.)

> > is it more important to run these CPU hogs than to run interactive tasks?
> > If yes then renice them to -11.
>
> Yes and no... :) Interactive tasks get their work from CPU hogs so
> those are strongly related. If interactive task puts CPU hog to wait
> it will also lose it's data.

you can tune the actual weight of importance by decrasing the priority of
the CPU-hog (or increasing the priority of the interactive task) a bit.
But ideally you'd want to decrease the priority of the CPU hog, because
that way you protect it not only from your 'own' interactive tasks, but
from other activities on the system as well.

Ingo

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

\
 
 \ /
  Last update: 2005-03-22 13:23    [W:0.067 / U:3.016 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site