public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* commit e9e9250b: sync wakeup bustage when waker is an RT task
@ 2010-05-15 11:57 Mike Galbraith
  2010-05-15 12:04 ` Peter Zijlstra
  0 siblings, 1 reply; 15+ messages in thread
From: Mike Galbraith @ 2010-05-15 11:57 UTC (permalink / raw)
  To: Peter Zijlstra; +Cc: Ingo Molnar, LKML

Hi Peter,

This commit excluded RT tasks from rq->load, was that intentional?  The
comment in struct rq states that load reflects *all* tasks, but since
this commit, that's no longer true.

Looking at lmbench lat_udp in a PREEMPT_RT kernel, I noticed that
wake_affine() is failing for sync wakeups when it should not.  It's
doing so because the waker in this case is an RT kernel thread
(sirq-net-rx) - we subtract the sync waker's weight, when it was never
added in the first place, resulting in this_load going gaga.  End result
is quite high latency numbers due to tasks jabbering cross-cache.

If the exclusion was intentional, I suppose I can do a waker class check
in wake_affine() to fix it.

	-Mike



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

end of thread, other threads:[~2010-06-01  9:14 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-15 11:57 commit e9e9250b: sync wakeup bustage when waker is an RT task Mike Galbraith
2010-05-15 12:04 ` Peter Zijlstra
2010-05-15 17:07   ` Mike Galbraith
2010-05-15 17:32     ` Mike Galbraith
2010-05-16  7:21     ` Mike Galbraith
2010-05-17  4:38       ` Mike Galbraith
2010-05-17  8:49         ` Peter Zijlstra
2010-05-17  8:52           ` Peter Zijlstra
2010-05-17  9:04           ` Mike Galbraith
2010-05-31 11:56       ` Peter Zijlstra
2010-05-31 13:56         ` Mike Galbraith
2010-05-31 14:28           ` Peter Zijlstra
2010-05-31 18:03             ` Mike Galbraith
2010-06-01  6:40               ` Mike Galbraith
2010-06-01  9:12             ` [tip:sched/urgent] sched: Fix wake_affine() vs RT tasks tip-bot for Peter Zijlstra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox