You are not logged in.

#1 2010-10-27 17:33:17

Malo
Member
Registered: 2006-12-02
Posts: 43

Optimization for quad core processor

HI.. i want to know if there is a flag to allow gcc to use 100% of the cpu.. I've got a intel quad core but i noticed that when gcc start to compile mi cpu utilization graph is well behind 50% threshold..

Thanks

Offline

#2 2010-10-27 17:53:35

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

Re: Optimization for quad core processor

Ιn /etc/makepkg.conf, set

MAKEFLAGS="-j5"

and you've finished.

Offline

#3 2010-10-27 18:08:50

Awebb
Member
Registered: 2010-05-06
Posts: 6,285

Re: Optimization for quad core processor

Compile GCC to run with 4 or 8 threads?

Offline

#4 2010-10-27 18:41:07

Malo
Member
Registered: 2006-12-02
Posts: 43

Re: Optimization for quad core processor

Runni gcc with for threads.. It was a dummy question tongue? Next time i'll try to search a little bit deeper wink

Thanks

Offline

Board footer

Powered by FluxBB