[Intel-gfx] Kswapd 100% CPU since 3.8 on Sandybridge
Daniel Vetter
daniel.vetter at ffwll.ch
Mon Oct 6 15:32:08 CEST 2014
On Mon, Oct 6, 2014 at 11:37 AM, Mel Gorman <mgorman at suse.de> wrote:
> Minimally I wanted you to sample the stack traces for kswapd, narrow down
> to the time of its failure and see if it was stuck in a shrinker loop. What
> I suspected at the time was that it was hammering on the i915 shrinker and
> possibly doing repeated shrinks of the GPU objects in there. At one point
> at least, that was an extremely heavy operation if the objections were
> not freeable and I wanted to see if that was still the case. I confess I
> haven't looked at the code to see what has changed recently.
We've stopped doing that with
commit 2cfcd32a929b21c3cf77256dd8b858c076803ccc
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Tue May 20 08:28:43 2014 +0100
drm/i915: Implement an oom-notifier for last resort shrinking
so now we do the handbreak last ditch shrinking really only when the
mm decided that it's time to oom. Until that point we should just do
the proportional shrinking the vm asked us to, but not more.
-Daniel
--
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
More information about the Intel-gfx
mailing list