On Wed, Sep 19, 2007 at 05:20:27PM -0600, Chris Rigg wrote:Hi Chris, Actually it's probably best to use sched_get_priority_max for the max prio. The migrate task of a given CPU isn't the only one that will take tasks off its CPU to push them to others (although it does do that). But there's other load balancing work going on in the scheduler (looking at the 2.6.20 sched.c). Although it would be interesting to see what the result would be if you had N+1 tasks running on N CPUs all doing busy loops, and make one of the tasks with the prio of MAX_RT_PRIO-1, and see if we have one task that is starved and never schedules. But I'm sure this should be fixed (if it was ever broken) with the latest scheduling work that's being done in the most recent kernels. -- Steve -
| Andrew Morton | Re: Linux 2.6.21-rc4 |
| Andrew Morton | -mm merge plans for 2.6.23 |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Balbir Singh | Re: [RFC][PATCH 2/7] RSS controller core |
git: | |
| Gerrit Renker | [PATCH 15/37] dccp: Set per-connection CCIDs via socket options |
| David Miller | [GIT]: Networking |
| Andreas Henriksson | [PATCH 06/12] Remove bogus reference to tc-filters(8) from tc(8) manpage. |
| Jarek Poplawski | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
