login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
August
»
21
Re: [PATCH] sched: properly account IRQ and RT load in SCHED_OTHER load balancing
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Peter Zijlstra <peterz@...>
To: Gregory Haskins <ghaskins@...>
Cc: Ingo Molnar <mingo@...>, Nick Piggin <nickpiggin@...>, vatsa <vatsa@...>, linux-kernel <linux-kernel@...>
Subject:
Re: [PATCH] sched: properly account IRQ and RT load in SCHED_OTHER load balancing
Date: Thursday, August 21, 2008 - 8:56 am
On Thu, 2008-08-21 at 08:47 -0400, Gregory Haskins wrote:
quoted text
> Peter Zijlstra wrote: > > OK, how overboard is this? (utterly uncompiled and such) > > > > I realized while trying to do the (soft)irq accounting Ingo asked for, > > that IRQs can preempt SoftIRQs which can preempt RT tasks. > > > > Therefore we actually need to account all these times, so that we can > > subtract irq time from measured softirq time, etc. > > > > So this patch does all that.. we could even use this more accurate time > > spend on the task delta to drive the scheduler. > > > > NOTE - for now I've only considered softirq from hardirq time, as > > ksoftirqd is its own task and is already accounted the regular way. > > > > Actually, if you really want to get crazy, you could account for each RT > prio level as well ;) > > e.g. RT98 tasks have to account for RT99 + softirqs + irqs, RT97 need to > look at RT98, 99, softirqs, irqs, etc. > > I'm not suggesting we do this, per se. Just food for thought. It > would have the benefit of allowing us to make even better routing > decisions for RT tasks. E.g. if cores 2 and 6 both have the lowest > priority, we currently sort by sched-domain topology, but we could also > factor in the load that is "above" us.
I'll let you be that crazy ;-) It'd be a 3-rd order placement decision, I doubt that's going to make a large difference. --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
[PATCH] sched: properly account IRQ and RT load in SCHED_OTH...
, Peter Zijlstra
, (Thu Aug 21, 5:18 am)
Re: [PATCH] sched: properly account IRQ and RT load in SCHED...
, Peter Zijlstra
, (Thu Aug 21, 8:43 am)
Re: [PATCH] sched: properly account IRQ and RT load in SCHED...
, Gregory Haskins
, (Thu Aug 21, 8:47 am)
Re: [PATCH] sched: properly account IRQ and RT load in SCHED...
, Peter Zijlstra
, (Thu Aug 21, 8:56 am)
Re: [PATCH] sched: properly account IRQ and RT load in SCHED...
, Gregory Haskins
, (Thu Aug 21, 7:36 am)
Re: [PATCH] sched: properly account IRQ and RT load in SCHED...
, Ingo Molnar
, (Thu Aug 21, 7:41 am)
Re: [PATCH] sched: properly account IRQ and RT load in SCHED...
, Gregory Haskins
, (Thu Aug 21, 8:26 am)
Re: [PATCH] sched: properly account IRQ and RT load in SCHED...
, Ingo Molnar
, (Thu Aug 21, 6:47 am)
Re: [PATCH] sched: properly account IRQ and RT load in SCHED...
, Ingo Molnar
, (Thu Aug 21, 7:17 am)
Re: [PATCH] sched: properly account IRQ and RT load in SCHED...
, Peter Zijlstra
, (Thu Aug 21, 7:22 am)
Re: [PATCH] sched: properly account IRQ and RT load in SCHED...
, Ingo Molnar
, (Thu Aug 21, 7:40 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
debian developer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Eric W. Biederman
[PATCH 02/10] sysfs: Support for preventing unmounts.
Greg KH
[GIT PATCH] driver core patches against 2.6.24
Linus Torvalds
Re: LSM conversion to static interface
git
:
openbsd-misc
:
linux-netdev
:
Antonio Almeida
HTB accuracy for high speed
David Miller
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Gerrit Renker
[PATCH 18/37] dccp: Support for Mandatory options
Timo Teräs
Re: xfrm_state locking regression...
Colocation donated by:
Who's online
There are currently
2 users
and
811 guests
online.
Online users
zeekec
sev8do
Syndicate