1 |
Mark Knecht wrote: |
2 |
> On 6/14/07, Hemmann, Volker Armin <volker.armin.hemmann@××××××××××××.de> |
3 |
> wrote: |
4 |
>> On Donnerstag, 14. Juni 2007, Mark Knecht wrote: |
5 |
>> > I'm wondering if anyone can recommend a good setting for |
6 |
>> > PORTAGE_NICENESS that would allow some compiles in the background |
7 |
>> > without drastically effecting MythTV? Or is there some better way to |
8 |
>> > do this with other software? |
9 |
>> > |
10 |
>> > I've fiddled around with renicing mythfrontend but even going to -15 |
11 |
>> > didn't seem to help that much. Seems better to just make the compiles |
12 |
>> > slower and more friendly. |
13 |
>> > |
14 |
>> > Note that this seems somewhat worse under the newest -rt kernel - |
15 |
>> > 2.6.21.4-rt12-cfs-v17. I may need to back up and see if the previous |
16 |
>> > one I was running was any better. |
17 |
>> > |
18 |
>> > Thanks in advance, |
19 |
>> > Mark |
20 |
>> |
21 |
>> |
22 |
>> set it to +19 |
23 |
>> |
24 |
>> not only does it free lots of CPU cycles for everybody else, they are |
25 |
>> also 'batch scheduled' which should be good for compiling. |
26 |
>> |
27 |
>> read /usr/src/linux/Documentation/sched-desing.txt |
28 |
>> |
29 |
>> quote: |
30 |
>> - batch scheduling. A significant proportion of computing-intensive tasks |
31 |
>> benefit from batch-scheduling, where timeslices are long and processes |
32 |
>> are roundrobin scheduled. The new scheduler does such batch-scheduling |
33 |
>> of the lowest priority tasks - so nice +19 jobs will get |
34 |
>> 'batch-scheduled' automatically. With this scheduler, nice +19 jobs |
35 |
>> are |
36 |
>> in essence SCHED_IDLE, from an interactiveness point of view. |
37 |
> |
38 |
> Thanks Volker. |
39 |
> |
40 |
> so do I actually use "+19"? |
41 |
> |
42 |
> PORTAGE_NICENESS="+19" |
43 |
> |
44 |
> or |
45 |
> |
46 |
> PORTAGE_NICENESS=19 |
47 |
> |
48 |
> Thanks, |
49 |
> Mark |
50 |
the latter |
51 |
-- |
52 |
gentoo-amd64@g.o mailing list |