Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
multiple CPU's basic question
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
apokalyptik
n00b
n00b


Joined: 18 Jun 2002
Posts: 62

PostPosted: Sun Sep 15, 2002 8:52 pm    Post subject: multiple CPU's basic question Reply with quote

I'm sorry if this is out of place. For the record i did a bit of searching before posting the question, but iether i'm looking for the wrong thing and not realizing it in search engines, or i'm just retarded... so here goes...

I was wondering if - by default - emerge takes advantage of multiple cpu's on the system. I'm pretty sure that it doesnt. Is there an easy way of making it use the appropriate make flags for my dual cpu setup?

thanks a lot guys!

keep up the good work!!
_________________
http://www.apokalyptik.com/
Back to top
View user's profile Send private message
Naan Yaar
Bodhisattva
Bodhisattva


Joined: 27 Jun 2002
Posts: 1549

PostPosted: Sun Sep 15, 2002 9:04 pm    Post subject: Reply with quote

Add something like:
Code:

MAKEOPTS="-j3"

to your /etc/make.conf for a dual CPU machine. Even the default -j2 does parallelize make commands somewhat reasonably on a dual-CPU box.
Back to top
View user's profile Send private message
apokalyptik
n00b
n00b


Joined: 18 Jun 2002
Posts: 62

PostPosted: Sun Sep 15, 2002 9:10 pm    Post subject: Reply with quote

thanks a mill!
_________________
http://www.apokalyptik.com/
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Sun Sep 15, 2002 9:56 pm    Post subject: Reply with quote

Note that not all ebuilds will take advantage of parallel make, and it's usually for good reason, because certain files need to be made before others.
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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