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.) |