Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
-j option for kenel makes?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
liquiz
n00b
n00b


Joined: 08 Oct 2004
Posts: 38

PostPosted: Sun Oct 17, 2004 2:22 pm    Post subject: -j option for kenel makes? Reply with quote

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
View user's profile Send private message
Chaosite
Guru
Guru


Joined: 13 Dec 2003
Posts: 540
Location: Right over here.

PostPosted: Sun Oct 17, 2004 2:53 pm    Post subject: Reply with quote

Nothing. Just use "make -j3 ..."
Back to top
View user's profile Send private message
n3mo
l33t
l33t


Joined: 28 Mar 2004
Posts: 657
Location: In a Cruel World

PostPosted: Sun Oct 17, 2004 2:53 pm    Post subject: Reply with quote

You set the -j options in /etc/make.conf as for any other compilation job.

Code:
MAKEOPTS="-j5"


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
View user's profile Send private message
liquiz
n00b
n00b


Joined: 08 Oct 2004
Posts: 38

PostPosted: Sun Oct 17, 2004 3:18 pm    Post subject: Reply with quote

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
View user's profile Send private message
mike4148
l33t
l33t


Joined: 09 Sep 2003
Posts: 641

PostPosted: Sun Oct 17, 2004 7:03 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum