summaryrefslogtreecommitdiff
path: root/lib/intel_batchbuffer.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2019-08-31 13:58:52 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2019-09-04 08:15:24 +0100
commit04eac35177ba046ce55c495e510bc49443ec7429 (patch)
treefb8b4a4babbf0482912582db42ea3a5f8da1f389 /lib/intel_batchbuffer.c
parent81f7a49bc80e6d9f27e33859fd94fd11e13cafa0 (diff)
i915/gem_tiled_swapping: Tweak mlocked size
On my systems with lots of memdebug enabled, we would hit the oomkiller 90% of the time during the initial mlock prior to allocating any objects (and about 20% of the time lockup / panic). Tweak the target allocation sizes, and include a few more breadcrumbs tracing the allocations so that we can reliably start the tests. We still do hit our shrinker and even the oom notifier, so still achieving its goal of exercising low memory and swap pressure. To slightly compensate for the reduced mempressure (albeit we do not remove the swapping, the raison d'etre of the test), we increase the number of threads to force the system to reuse active fences, making it more stressful on the fence code. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Andi Shyti <andi.shyti@intel.com> Reviewed-by: Andi Shyti <andi.shyti@intel.com>
Diffstat (limited to 'lib/intel_batchbuffer.c')
0 files changed, 0 insertions, 0 deletions