Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: May be OT: recommended niceness settings for Portage while using Gnome?
Date: Sat, 22 Aug 2009 00:12:23
Message-Id: 4A8F37E0.3080902@gmail.com
In Reply to: Re: [gentoo-user] Re: May be OT: recommended niceness settings for Portage while using Gnome? by meino.cramer@gmx.de
1 meino.cramer@×××.de wrote:
2 >> PORTAGE_NICENESS=19
3 >>
4 >> Is best. However, also very important is "I/O nice". Setting an
5 >> ionice value of "idle" will result in portage not blocking your other
6 >> applications whey they need to do disk I/O:
7 >>
8 >> PORTAGE_IONICE_COMMAND="ionice -c 3 -p \${PID}"
9 >>
10 >> This needs a kernel newer than 2.6.16 and it has to be configured to
11 >> use the CFQ scheduler. You know if that's the case if this command:
12 >>
13 >> zgrep CFQ /proc/config.gz
14 >>
15 >> says:
16 >>
17 >> CONFIG_IOSCHED_CFQ=y
18 >> CONFIG_DEFAULT_CFQ=y
19 >>
20 >>
21 >
22 > Hi,
23 > where can I set PORTAGE_NICENESS and PORTAGE_IONICE_COMMAND ?
24 >
25 > Kind regards,
26 > mcc
27 >
28 >
29
30 In your make.conf file.
31
32 Dale
33
34 :-) :-)