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>
This commit is contained in:
Daniel Vetter 2013-09-30 16:04:38 +02:00
parent f3c54d0cb4
commit 76dfa9195a

View File

@ -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;