View previous topic :: View next topic |
Author |
Message |
TwoSlick Tux's lil' helper
Joined: 22 Apr 2002 Posts: 114 Location: Rolla, MO
|
Posted: Sun Aug 04, 2002 9:29 pm Post subject: emerge not using both processors |
|
|
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 |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Mon Aug 05, 2002 7:25 pm Post subject: |
|
|
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 |
|
|
delta407 Bodhisattva
Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Tue Aug 06, 2002 3:18 am Post subject: |
|
|
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 |
|
|
TwoSlick Tux's lil' helper
Joined: 22 Apr 2002 Posts: 114 Location: Rolla, MO
|
Posted: Tue Aug 06, 2002 6:04 am Post subject: |
|
|
Thanks,
Looks like it did matter what programs were being compiled. Actually, the very next one after I posted, used both processors fully.
Cheers!
- Tim |
|
Back to top |
|
|
|