Re: [PATCH i-g-t 2/2] tests/gem_exec_mem_huge.c: New test to stress eviction

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Mar 22, 2016 at 06:26:48PM +0100, Piotr Luc wrote:
> From: Piotr Luc <Piotr.Luc@xxxxxxxxx>
> 
> The aim of the test is to stress i915 memory eviction mechanism.
> The test runs many processes, each of it executes NOP batch
> which has attached really big data buffers chain.
> 
> While this is unusual use case, rather it doesn't occur in
> normal games or applications, it possible to imagine that an
> offending application can use the weakness of low memory handler
> and i915 buffer eviction mechanism to conduct DoS attack.
> Note that achieving this goal on standard PC could be difficult,
> it may be easy in a system with limited capabilities (little memory,
> lack of swap, a small number of cores).

I had a go at capturing your requirements a little more concisely as
igt/gem_shrink. Hopefully that gives you a superset of what you wanted
to do here, and prove to be a useful platform to build upon.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux