From: Daniel Vetter Date: Mon, 30 Sep 2013 14:04:38 +0000 (+0200) Subject: tests/gem_evict_everything: tune down forked subtests X-Git-Tag: intel-gpu-tools-1.5~159 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=76dfa9195a489aa8de954f888895278bdccec3b7;p=profile%2Fextras%2Fintel-gpu-tools.git 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 --- 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;