Gentoo Archives: gentoo-server

From: Jan Dusek <j.d@×××××××××.cz>
To: gentoo-server@l.g.o
Subject: Re: [gentoo-server] Gentoo on Pentium IV with Hyper-Threading
Date: Thu, 18 Mar 2004 15:20:07
Message-Id: 4059BE1B.4070008@most.ujep.cz
In Reply to: Re: [gentoo-server] Gentoo on Pentium IV with Hyper-Threading by Lance Albertson
1 Why MAKEOPTS="j4"? I've read somewhere that MAKEOPTS should be
2 number-of-CPUs + 1 so it'd be "j3" in this case...
3
4 Or is this the same thing like most of the CFLAGS optimizations (i.e.
5 you gotta try for yourself and stick with the one you presonaly like the
6 most :))?
7
8 --jd
9
10 Lance Albertson wrote:
11 > Nick Van Vlaenderen wrote:
12 >
13 >
14 >>Hi all,
15 >>
16 >>I am going to install Gentoo Linux on a server with a Pentium IV CPU
17 >>with Hyper-Threading. My question is, does anyone has experience with
18 >>that kind of servers? I know that I need to enable SMP in the kernel,
19 >>but do I need to use something specific to make Gentoo use the 2 virtual
20 >>CPU's and not only one? And how can I have better performance .. and so on?
21 >
22 >
23 > Just change MAKEOPTS="j4" or something like that. Other than that, afaik, the
24 > application just needs to have smp support in order to use both processors.
25 > There might be something else you'll need to enable to do more things, but I
26 > think that's basically it. Just enable SMP and change that setting in your
27 > make.conf for emerging.
28 >
29 > I have several HT enabled P4's here and they all work great!
30 >