[kde-freebsd] parallelizing the build of Qt, etc.
Michael Nottebrock
lofi at freebsd.org
Thu Aug 23 17:43:40 CEST 2007
Mikhail Teterin schrieb:
> четвер 23 серпень 2007 11:19 до, Michael Nottebrock Ви написали:
>
>> I really really really do not think that this should be the default.
>> Consider that users of SMP machines, especially those running KDE, might
>> appreciate having one cpu/core available for their desktop work while a
>> portupgrade is in progress in the background. Jacking up the load to the
>> possible maximum does not make for a smooth desktop experience.
>>
>
> The experience is just fine, actually. The actual load never rises to the full
> number of processors -- because each job is throttled by I/O a little bit,
> one needs to use -j NCPU+1 or even -j NCPU*2 to notice a hit. The experience
> could be damaged by heavy disk-thrashing or video/sound issues, but the
> compiler is not doing any of that.
>
Compiling C++ generates quite a bit of load (and memory consumption),
significantly more than compiling C and especially so since -O2 was made
the default. The unixmake parts of qmake already are a good example for
this and programs using STL or Boost turn gcc into an even bigger hog.
Cheers,
--
,_, | Michael Nottebrock | lofi at freebsd.org
(/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org
\u/ | K Desktop Environment on FreeBSD | http://freebsd.kde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
Url : http://mail.kde.org/pipermail/kde-freebsd/attachments/20070823/0cc0e55b/attachment.pgp
More information about the kde-freebsd
mailing list