From b273a4af795f49e103cca0750a7c8667fe68beab Mon Sep 17 00:00:00 2001 From: Timo Kokkonen Date: Tue, 9 Sep 2014 22:17:37 +0300 Subject: [PATCH] process.c: Reduce maximum number of parallel jobs on UP machines We generally don't see sinlge-cpu systems any more in other than embedded devices, where chances of being very low in RAM is a very real possibility. If the maximum number of parallel jobs is too large there, is is quite possible that we run out of memory on such systems. Reducing the number of jobs makes such devies much less likely to exceed their memory capacity. Signed-off-by: Timo Kokkonen --- process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/process.c b/process.c index 3cdb6e1..3b10700 100644 --- a/process.c +++ b/process.c @@ -230,7 +230,7 @@ read_fail: no_count_cpus: pr_info("Set maximum number of parallel jobs to %d\n", max_jobs); - max_jobs_pending = max_jobs * 50 + 25; + max_jobs_pending = max_jobs * 10 + 25; pr_info("Set maximum number of pending jobs to %d\n", max_jobs_pending); return 0; -- 2.45.0