-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sunday, 2010-11-21 at 15:05 +0100, Per Jessen wrote:
Carlos E. R. wrote:
On Sunday, 2010-11-21 at 10:47 +0100, Per Jessen wrote:
It's not the CPU-load but lack of memory that'll stop it though.
Then, what it needs is an option that instead of launching a fixed number of threads, launchs a variable number of threads that doesn't cause swap to be used. Dynamically checking overall system load.
If anything else uses swap, it'll never start. Besides, it's not really a job for 'make' (and others who submit jobs in parallel, e.g. xargs).
I think that yes, it is the task. There are other methods instead of checking directly swap: check if your own program is hitting swap, perhaps. If it is, the advantage of launching more threads is lost. It would be better if there is a system call that returns the number of idling cpus, and if it is advisable to launch more threads or to remove some (and how many). (idea: man batch) And possibly, what we need is a parallelizing language that takes into account all this: launching a number of trheads, while good, is not the optimal solution. - -- Cheers, Carlos E. R. (from 11.2 x86_64 "Emerald" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (GNU/Linux) iEYEARECAAYFAkzpjs4ACgkQtTMYHG2NR9UM2QCgh1YJFzwLRqdH3TRSOoQD6jpX 4oQAn2GDBm3SiDKamloe9aPziazLLWe5 =JDYO -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org