Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
The real use of MAKEOPTS=j2 and higher
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Emperor
n00b
n00b


Joined: 09 Jul 2002
Posts: 54
Location: Enschede, The Netherlands

PostPosted: Fri Aug 16, 2002 8:57 am    Post subject: The real use of MAKEOPTS=j2 and higher Reply with quote

I just installed gentoo 1.3b on my dual athlon-mp machine. (installed without a hich btw.. except for some problems with GRUB and the order of my scsi disk vs ide disk :P )

I put my makeopts on j5.
I am currently compiling X and KDE etc. While I am doing this, I was running top in an other console. I noticed that most of the time (like 80-90%) I still had 1 cpu idling around or both cpu's idling about 48%. Granted, there were a few minutes (in qt compiling I think it was) that both cpu's were being used 100% but most of the time it was just 1.

Sooo. Unless this is a bug, it seems most build scripts don't seem to include the MAKEOPTS actively. Or am I totaly wrong here?

What are the experiences of other people with smp machines?
_________________
What is this "signature" thing you are talking about?
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Fri Aug 16, 2002 9:54 am    Post subject: Re: The real use of MAKEOPTS=j2 and higher Reply with quote

Emperor wrote:
Unless this is a bug, it seems most build scripts don't seem to include the MAKEOPTS actively. Or am I totaly wrong here?

Is this thread relevant?
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
Emperor
n00b
n00b


Joined: 09 Jul 2002
Posts: 54
Location: Enschede, The Netherlands

PostPosted: Fri Aug 16, 2002 10:25 am    Post subject: Reply with quote

Yea I guess so :)

Hmm so some builds have parallel makes off? I guess developers dont realy care (low prio atleast) about making their packages compile faster.

Still a shame to see all that cpu power not getting used. I have seen several times now that 1 cpu is busy 2+ minutes to compile some file, while an other is doing nothing. That can't be right :lol:
_________________
What is this "signature" thing you are talking about?
Back to top
View user's profile Send private message
ronmon
Veteran
Veteran


Joined: 15 Apr 2002
Posts: 1043
Location: Key West, FL

PostPosted: Fri Aug 16, 2002 12:49 pm    Post subject: Reply with quote

The very first reply in that thread explains why parallel builds are disabled for certain apps. Some need to be built in a certain order and running multiple jobs will cause 'make' (emake?) to jump ahead and break the build.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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