Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge not using both processors
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
TwoSlick
Tux's lil' helper
Tux's lil' helper


Joined: 22 Apr 2002
Posts: 114
Location: Rolla, MO

PostPosted: Sun Aug 04, 2002 9:29 pm    Post subject: emerge not using both processors Reply with quote

I have a Dual SMP board with AthlonMP 2000+ processors.
I've just noticed that when I emerge a program, both of my processors are not being used at the same time as often as in the past. ( They used to about 85% of the time) Now, it's down to about 10% or so.

I've checked /etc/make.globals file and changed to MAKEOPTS="-j4" without any improvement either. I've also tried compiling gcc on my own, and CAN get full utilization from 'make -j2' so I don't think this is a problem with 'make'.

Am I imagining stuff, or could there be a problem with portage not calling make properly?

-Tim
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Mon Aug 05, 2002 7:25 pm    Post subject: Reply with quote

Does this happen on all programs, or just some? Some packages do not work well with parallel make, because some files must be made before others, so parallel make is explicitly disabled in the ebuild.
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Tue Aug 06, 2002 3:18 am    Post subject: Reply with quote

rac wrote:
Some packages do not work well with parallel make, because some files must be made before others, so parallel make is explicitly disabled in the ebuild.


Precisely. See if the ebuild calls "emake"; if it does, then it will use both CPUs. If not, then it won't, because the package breaks when you do.
_________________
I don't believe in witty sigs.
Back to top
View user's profile Send private message
TwoSlick
Tux's lil' helper
Tux's lil' helper


Joined: 22 Apr 2002
Posts: 114
Location: Rolla, MO

PostPosted: Tue Aug 06, 2002 6:04 am    Post subject: Reply with quote

Thanks,

Looks like it did matter what programs were being compiled. Actually, the very next one after I posted, used both processors fully. :oops:

Cheers!

- Tim
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