summaryrefslogtreecommitdiff
path: root/tests/gem_evict_everything.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2013-09-30 16:04:38 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-09-30 16:04:38 +0200
commit76dfa9195a489aa8de954f888895278bdccec3b7 (patch)
treec55c1ca66edf67231581428a81af1169b35bcf0e /tests/gem_evict_everything.c
parentf3c54d0cb4744af9d58b5be45f574b625bbc8231 (diff)
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 <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tests/gem_evict_everything.c')
-rw-r--r--tests/gem_evict_everything.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gem_evict_everything.c b/tests/gem_evict_everything.c
index 86b0b6fe..4eb7cb40 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;