[Bug 72742] [ILK/HSW]igt/gem_tiled_swapping randomly causes OOM killer

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Apr 28 01:17:03 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=72742

Chris Wilson <chris at chris-wilson.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dave at sr71.net

--- Comment #66 from Chris Wilson <chris at chris-wilson.co.uk> ---
A request for more debug info from Dave Hansen:

"We have tracepoints for the shrinkers in here (it says slab, but it's
all the shrinkers, I checked):

/sys/kernel/debug/tracing/events/vmscan/mm_shrink_slab_*/enable
and another for OOMs:
/sys/kernel/debug/tracing/events/oom/enable

Could you collect a trace during one of these OOM events and see what
the i915 shrinker is doing?  Just enable those two and then collect a
copy of:

        /sys/kernel/debug/tracing/trace

That'll give us some insight about how well the shrinker is working.  If
the VM gave up on calling in to it, it might reveal why we didn't get
all the way down in to i915_gem_shrink_all()."

I think the output (trace.dat) of

$ sudo trace-cmd record -e vmscan:mm_shrink_slab_start -e
vmscan:mm_shrink_slab_end -e oom ./gem_tiled_swapping

should suffice.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20140428/4d5c1e39/attachment.html>


More information about the intel-gfx-bugs mailing list