Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1208142
| From | Peter Zijlstra <peterz@infradead.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [RFCv5 PATCH 36/46] sched: Prevent unnecessary active balance of single task in sched group |
| Date | 2015-08-15 22:00 +0200 |
| Message-ID | <pXPMv-2Vm-29@gated-at.bofh.it> (permalink) |
| References | <pJFN0-Ef-15@gated-at.bofh.it> <pJGg2-Pr-17@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Tue, Jul 07, 2015 at 07:24:19PM +0100, Morten Rasmussen wrote: > Scenarios with the busiest group having just one task and the local > being idle on topologies with sched groups with different numbers of > cpus manage to dodge all load-balance bailout conditions resulting the > nr_balance_failed counter to be incremented. This eventually causes an > pointless active migration of the task. This patch prevents this by not > incrementing the counter when the busiest group only has one task. > ASYM_PACKING migrations and migrations due to reduced capacity should > still take place as these are explicitly captured by > need_active_balance(). > > A better solution would be to not attempt the load-balance in the first > place, but that requires significant changes to the order of bailout > conditions and statistics gathering. *groan*, and this is of course triggered by your 2+3 core TC2 thingy. Yes, asymmetric groups like that are a pain. -- 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/
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [RFCv5 PATCH 36/46] sched: Prevent unnecessary active balance of single task in sched group Peter Zijlstra <peterz@infradead.org> - 2015-08-15 22:00 +0200
csiph-web