Carlos E. R. wrote:
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.
We're going way OT, so just a final comment - I definitely don't think any of that is a job for make nor any other utility that can do stuff in parallel. It is the responsibility of the system to try to load the system optimally. /Per -- Per Jessen, Zürich (4.0°C) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org