All of lore.kernel.org
 help / color / mirror / Atom feed
* Possible sandybridge livelock issue
@ 2011-05-13 16:12 ` James Bottomley
  0 siblings, 0 replies; 14+ messages in thread
From: James Bottomley @ 2011-05-13 16:12 UTC (permalink / raw)
  To: x86; +Cc: linux-mm, linux-kernel, Mel Gorman

We've just come off a large round of debugging a kswapd problem over on
linux-mm:

http://marc.info/?t=130392066000001

The upshot was that kswapd wasn't being allowed to sleep (which we're
now fixing).  However, in spite of intensive efforts, the actual hang
was only reproducible on sandybridge laptops.

When the hang occurred, kswapd basically pegged one core in 100% system
time.  This looks like there's something specific to sandybridge that
causes this type of bad interaction.  I was wondering if it could be
something to to with a scheduling problem in turbo mode?  Once kswapd
goes flat out, the core its on will kick into turbo mode, which causes
it to get preferentially scheduled there, leading to the live lock.

The only evidence I have to support this theory is that when I reproduce
the problem with PREEMPT, the core pegs at 100% system time and stays
there even if I turn off the load.  However, if I can execute work that
causes kswapd to be kicked off the core it's running on, it will calm
back down and go to sleep.

James



^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2011-05-16  6:52 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-13 16:12 Possible sandybridge livelock issue James Bottomley
2011-05-13 16:12 ` James Bottomley
2011-05-13 16:36 ` Andi Kleen
2011-05-13 16:36   ` Andi Kleen
2011-05-13 17:08   ` Christoph Lameter
2011-05-13 17:08     ` Christoph Lameter
2011-05-13 18:23     ` Andi Kleen
2011-05-13 18:23       ` Andi Kleen
2011-05-13 18:49       ` James Bottomley
2011-05-13 18:49         ` James Bottomley
2011-05-16  6:52         ` Ingo Molnar
2011-05-16  6:52           ` Ingo Molnar
2011-05-16  6:29 ` Ingo Molnar
2011-05-16  6:29   ` Ingo Molnar

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.