← Back to team overview

yade-dev team mailing list archive

chunkSize (monolithic with low RAM)

 

Hi (Anton),

I added chunkSize option to scons, see bzr commit log. It should make
compilation faster on multi-core machines while keeping memory RAM usage
relatively low with smaller number of cores. The default is 20, you can
tune it so that compilation fits in your RAM. I might an some heuristics
later, but I think this should be OK for most cases.

BTW if you have latest ubuntu, install the binutils-gold package. It
replaces the original /usr/bin/ld linker and is MUCH faster for linking
(like 10x or so).

Cheers, Vaclav