Re: [PATCH -v2 4/7] RT overloaded runqueues accounting

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Steven Rostedt <rostedt@...>
Cc: <menage@...>, <linux-kernel@...>, <linux-rt-users@...>, <torvalds@...>, <akpm@...>, <mingo@...>, <dmitry.adamushko@...>, <ghaskins@...>, <a.p.zijlstra@...>
Date: Tuesday, October 23, 2007 - 5:46 pm

Steven wrote:

This feels rather like sched domains to me (which I can't claim
to understand very well.)  That is, you need to subdivide the
overload masks, so as to avoid contention on a single mask in a
large system, making the tradeoff that you will sometimes resolve
overloads less aggressively.

With sched domains, we added cpuset code, that is only called in the
infrequent event that the cpusets are reconfigured, to update the
kernel's sched domains.  It hasn't been easy code, but at least the
main line scheduler code paths remain oblivious to cpusets.

Can you create "RT domains", each with their own overload mask?
Perhaps even attach the overload masks to the existing sched domains?

The essential approach here, as with all things involving cpusets and
the scheduler, is to not have the scheduler code access cpusets, but
rather to have the scheduler code have its own controlling data
structures, which it can access with locking suitable to its fast path
requirements, and then have the cpuset code ~~delicately~~ update those
structures on the infrequent occassion that something changes in the
cpuset configuration.

-- 
                  I won't rest till it's the best ...
                  Programmer, Linux Scalability
                  Paul Jackson <pj@sgi.com> 1.925.600.0401
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH -v2 4/7] RT overloaded runqueues accounting, Steven Rostedt, (Mon Oct 22, 10:59 pm)
Re: [PATCH -v2 4/7] RT overloaded runqueues accounting, Paul Jackson, (Tue Oct 23, 12:17 am)
Re: [PATCH -v2 4/7] RT overloaded runqueues accounting, Paul Menage, (Tue Oct 23, 2:11 am)
Re: [PATCH -v2 4/7] RT overloaded runqueues accounting, Steven Rostedt, (Tue Oct 23, 9:43 am)
Re: [PATCH -v2 4/7] RT overloaded runqueues accounting, Paul Jackson, (Tue Oct 23, 5:46 pm)
Re: [PATCH -v2 4/7] RT overloaded runqueues accounting, Paul Jackson, (Tue Jan 29, 9:00 am)
Re: [PATCH -v2 4/7] RT overloaded runqueues accounting, Paul Jackson, (Tue Oct 23, 2:19 am)