View previous topic :: View next topic |
Author |
Message |
liquiz n00b
Joined: 08 Oct 2004 Posts: 38
|
Posted: Sun Oct 17, 2004 2:22 pm Post subject: -j option for kenel makes? |
|
|
Hello Folks
I finally got my dual proc system up and running, or I should say my 1st one and I was wondering several things.
This is BTW a dual athlon mp system on a tyan motherboard with 2gig of ram.
The 2nd system when done will be a sparc system.
Where/what line do modify in the kernel Makefile to have make take advantage of 2 processors.
Currently Im using the 2.4x tree but Ill be switching over when all the hardware (still missing the raid card) is ready.
Peace
Liquiz |
|
Back to top |
|
|
Chaosite Guru
Joined: 13 Dec 2003 Posts: 540 Location: Right over here.
|
Posted: Sun Oct 17, 2004 2:53 pm Post subject: |
|
|
Nothing. Just use "make -j3 ..." |
|
Back to top |
|
|
n3mo l33t
Joined: 28 Mar 2004 Posts: 657 Location: In a Cruel World
|
Posted: Sun Oct 17, 2004 2:53 pm Post subject: |
|
|
You set the -j options in /etc/make.conf as for any other compilation job.
I think 5 is a good starting point, someone tell me to use 3 on my dual xeon but after some tests I find the 5 is the best option for me. _________________ Google, really. |
|
Back to top |
|
|
liquiz n00b
Joined: 08 Oct 2004 Posts: 38
|
Posted: Sun Oct 17, 2004 3:18 pm Post subject: |
|
|
From what I have read and what I have seen here is what I think
If you pass make -j3 that only the first make inherits the -j3
The Kernel Makefile seems to override the make.conf since when the compile is done its with the O2 instead of the O3 that I have in the make.conf.
Your dual xeon is probably hypterhread enabled which means that you have virtually 4 processors so thats why the j5 works better for you
Im trying out using make bzImage modules [MAKE ="make -j3"] right now to see how things work.
Peace,
Liquiz |
|
Back to top |
|
|
mike4148 l33t
Joined: 09 Sep 2003 Posts: 641
|
Posted: Sun Oct 17, 2004 7:03 pm Post subject: |
|
|
Running make -j3 here when building the kernel is building tons of things in parallel (obvious because of the randomness of the output) (kernel = gentoo-dev-sources-2.6.8-r4, amd64). |
|
Back to top |
|
|
|