From 76dfa9195a489aa8de954f888895278bdccec3b7 Mon Sep 17 00:00:00 2001 From: Daniel Vetter Date: Mon, 30 Sep 2013 16:04:38 +0200 Subject: [PATCH] tests/gem_evict_everything: tune down forked subtests On new machines with gobloads of memory and cpu cores, but slow swap on spinning rust we need to limit the runtime a bit for sanity. Signed-off-by: Daniel Vetter --- tests/gem_evict_everything.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/gem_evict_everything.c b/tests/gem_evict_everything.c index 86b0b6f..4eb7cb4 100644 --- a/tests/gem_evict_everything.c +++ b/tests/gem_evict_everything.c @@ -160,7 +160,7 @@ static void forked_evictions(int fd, int size, int count, for (n = 0; n < bo_count; n++) bo[n] = gem_create(fd, size); - igt_fork(i, min(count, num_threads * 4)) { + igt_fork(i, min(count, min(num_threads * 5, 12))) { int realfd = fd; int num_passes = flags & SWAPPING ? 10 : 100; -- 2.7.4