Bug#704046: yade: Please enable parallel build, with a different safe-guard ; -)
Dmitrijs Ledkovs
xnox at debian.org
Wed Mar 27 10:09:40 UTC 2013
Source: yade
Version: Please enable parallel build, with a different safe-guard ;-)
Severity: wishlist
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
I build yade in 26minutes [1], fully in tmpfs and I didn't go into
swap death.
I was building it with 8 parallel jobs enabled, but well I do have
enough RAM to support that. By the looks of things it didn't use up
more than 1.8GB per cmake job and did not go >>14GB in peak RAM usage.
I'd offer to perform the following:
* check amount of free ram in GB
* set --parallel setting to 1 or floor((free ram in GB)/2) whichever
is bigger
This will both "safe-guard" unsuspecting low-ram machines, yet still
allow unlimited parallel jobs for those who have unlimitted RAM =)
[1] http://people.canonical.com/~xnox/boost1.53/yade_0.90.3-1~exp1ubuntu1_amd64-20130327-0049.build
Regards,
Dmitrijs.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iQIcBAEBCAAGBQJRUsVkAAoJEIh7YGGLPBau8BAP/jOrPJURxvH2jIx9O8bhSB0T
9WeXwIPfx0QD1NhVavFEvX5Bgzuy3jp9v5OW+WYLOakCXOIf8B15/eRU4YpFCrd4
58NQQ5DaVXH36QeVzUzT0HCI63p8qJ4WI2pdCPqXA+51XzJ1EeyJon8HnMWcjTMJ
4TgUWZZPmJe9Tt/R+JkbOzkv8dZ5BLhadWQk3zh14o4L4WUshZ5uEh85kcsRymPz
RNHv9Q3isvGkHmrt+Dz07E1ucAZbBeFFLn2gmTD79oYE4duddAI8ZDozoG2DA6p4
AX/+EC1JU44XqlPs9meBPbloVQyiMpzSJ1kzQR/rC61mS01F3Eg1H4Q4yG5EP6Ud
Jr81eUzuFPP6adRlYdFIK6vavBeUuo0/LcphqDZCL5U7VBOx6Awl4iAxO8qrSE9x
unOpLb+G0wjhX2s9ZutzEd3Qd2Va2ycbu9tZBIo4AY0IB5bbwsUNZuHmZ0rh9f99
GUc8bbseHsX/yRqOj1/Se71R7av7LUC1ur//bmMn4y96+bE4svg5rbL7onz6vMll
YWTINo++4HZxzytt1zQU5gFpD11GWA48wjh8LTUgBEpEyWN7rPehfVs9LDQi/olS
Rz9ih2tKGL4c6mGT2Zs82MYqdKy+UKaigL/V9PCYGiOfxROnHdVqimo1qNCU9M4C
B+uKIvDj4F/y9Xv3bgnr
=CxsQ
-----END PGP SIGNATURE-----
More information about the debian-science-maintainers
mailing list