Gentoo Archives: gentoo-user

From: Nikos Chantziaras <realnc@×××××.de>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Best way to improve interactivity with heavy disk activity?
Date: Mon, 29 Nov 2010 01:26:00
Message-Id: icuvbt$r33$1@dough.gmane.org
In Reply to: Re: [gentoo-user] Re: Best way to improve interactivity with heavy disk activity? by Peter Humphrey
1 On 11/29/2010 02:59 AM, Peter Humphrey wrote:
2 >[...]
3 > Once the other jobs had finished and only open office was compiling,
4 > response was much faster, even when it got to a threaded section and was
5 > using all four cores.
6
7 One thing I forgot to mention is that with the ck kernel, the number of
8 threads (like the -j option of make) must be exactly equal to the amount
9 of CPUs or cores, and *not* the usual cores+1. So on a dual-core, -j2
10 is best, not -j3, and on a quad -j4, not -j5, due to the BFS scheduler
11 not needing "+1" threads to fully utilize the CPU. That means you get
12 less overhead as a bonus (the more threads you use, the more overhead
13 you get, making things slower.)

Replies

Subject Author
Re: [gentoo-user] Re: Best way to improve interactivity with heavy disk activity? Peter Humphrey <peter@××××××××××××××.org>