Miscellaneous > Technical Support

Dual core madness; Make -j never works

(1/2) > >>

toadlife:
I've had my dual core system for a couple of weeks now, and one thing I have noticed is that with most stuff, you can't fully utilize your processor when compiling. In FreeBSD you can specifify multiple jobs in makle when doing make buildworld/buildkernel and both cores are used. The results in uber fast compilation. Unfortunately, with almost all ports, specifying multiple jobs with make (e.g. `make -j3 install`) breaks compilation.

Anyone else here have this problem with other package management systems - like portage in gentoo? It sucks to have only 50% of your processor used when compiling large applications.

Jack2000:
can not you fool the system
it has only one cpu but cpu = cpu0+ cpu1
??

toadlife:

--- Quote from: Jack2000 ---can not you fool the system
it has only one cpu but cpu = cpu0+ cpu1
??
--- End quote ---

No. I could install the non-SMP kernel, but then only one core in my processor would be used. That would handicap my machine when running programs that support SMP.

Orethrius:

--- Quote from: toadlife ---No. I could install the non-SMP kernel, but then only one core in my processor would be used. That would handicap my machine when running programs that support SMP.
--- End quote ---

 What about installing and configuring distcc?  Seems to me that an internal distribution of compiles across the cores would come in handy.

toadlife:

--- Quote from: Orethrius ---What about installing and configuring distcc?  Seems to me that an internal distribution of compiles across the cores would come in handy.
--- End quote ---

INteresting idea. :) I'll look into that.

Navigation

[0] Message Index

[#] Next page

Go to full version