1 |
On 01/16/2011 08:25 PM, Grant wrote: |
2 |
> I've been running without swap for quite a while, but my system goes |
3 |
> into a near freeze whenever I undertake a large emerge such as |
4 |
> chromium or openoffice. Is there anything I can do to prevent this |
5 |
> besides turning swap back on? I have 3GB RAM and MAKEOPTS="-j1". |
6 |
> |
7 |
> - Grant |
8 |
> |
9 |
The "near freeze" is probably the result from Linux' bad IO-scheduling. |
10 |
I know the phenomena :( |
11 |
I'm very much looking forward to some future changes in the kernel :) |
12 |
|
13 |
For now it'll help to use "ionice -c 3". This is the IO-equivalent to |
14 |
"nice -n 19". |
15 |
|
16 |
$ ionice -c 3 emerge something |
17 |
|
18 |
Bye, |
19 |
Daniel |
20 |
|
21 |
|
22 |
-- |
23 |
PGP key @ http://pgpkeys.pca.dfn.de/pks/lookup?search=0xBB9D4887&op=get |
24 |
# gpg --recv-keys --keyserver hkp://subkeys.pgp.net 0xBB9D4887 |