Mark Knecht wrote:
> On 6/14/07, Hemmann, Volker Armin <[EMAIL PROTECTED]>
> wrote:
>> On Donnerstag, 14. Juni 2007, Mark Knecht wrote:
>> > I'm wondering if anyone can recommend a good setting for
>> > PORTAGE_NICENESS that would allow some compiles in the background
>> > without drastically effecting MythTV? Or is there some better way to
>> > do this with other software?
>> >
>> > I've fiddled around with renicing mythfrontend but even going to -15
>> > didn't seem to help that much. Seems better to just make the compiles
>> > slower and more friendly.
>> >
>> > Note that this seems somewhat worse under the newest -rt kernel -
>> > 2.6.21.4-rt12-cfs-v17. I may need to back up and see if the previous
>> > one I was running was any better.
>> >
>> > Thanks in advance,
>> > Mark
>>
>>
>> set it to +19
>>
>> not only does it free lots of CPU cycles for everybody else, they are
>> also 'batch scheduled' which should be good for compiling.
>>
>> read /usr/src/linux/Documentation/sched-desing.txt
>>
>> quote:
>> - batch scheduling. A significant proportion of computing-intensive tasks
>> benefit from batch-scheduling, where timeslices are long and processes
>> are roundrobin scheduled. The new scheduler does such batch-scheduling
>> of the lowest priority tasks - so nice +19 jobs will get
>> 'batch-scheduled' automatically. With this scheduler, nice +19 jobs
>> are
>> in essence SCHED_IDLE, from an interactiveness point of view.
>
> Thanks Volker.
>
> so do I actually use "+19"?
>
> PORTAGE_NICENESS="+19"
>
> or
>
> PORTAGE_NICENESS=19
>
> Thanks,
> Mark
the latter
--
[EMAIL PROTECTED] mailing list