Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1200866 > unrolled thread
| Started by | Uladzislau Rezki <urezki@gmail.com> |
|---|---|
| First post | 2015-08-05 17:20 +0200 |
| Last post | 2015-08-05 17:40 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH] sched: check pinned tasks before nohz balance, linux-4.2-rc5 Uladzislau Rezki <urezki@gmail.com> - 2015-08-05 17:20 +0200
Re: [PATCH] sched: check pinned tasks before nohz balance, linux-4.2-rc5 Peter Zijlstra <peterz@infradead.org> - 2015-08-05 17:40 +0200
| From | Uladzislau Rezki <urezki@gmail.com> |
|---|---|
| Date | 2015-08-05 17:20 +0200 |
| Subject | [PATCH] sched: check pinned tasks before nohz balance, linux-4.2-rc5 |
| Message-ID | <pU8E2-57u-37@gated-at.bofh.it> |
[Multipart message — attachments visible in raw view] — view raw
While investigating “load balancer” logic, I run into interesting behavior related to affinity and NO_HZ idle balance. Basically saying if there are two tasks running in certain rq and one of them is pinned/affined, then scheduler will trigger load balance on power collapsed core via soft irq. The corner case here is it may fail to unbalance because of affinity, as a result core that has two tasks will interrupt any found idle one each its timer tick, what can lead to wasting of power, especially in mobile area, what is our case. Do you have any concern with provided patch? -- Uladzislau Rezki
[toc] | [next] | [standalone]
| From | Peter Zijlstra <peterz@infradead.org> |
|---|---|
| Date | 2015-08-05 17:40 +0200 |
| Subject | Re: [PATCH] sched: check pinned tasks before nohz balance, linux-4.2-rc5 |
| Message-ID | <pU8Xo-5uJ-29@gated-at.bofh.it> |
| In reply to | #1200866 |
On Wed, Aug 05, 2015 at 05:14:34PM +0200, Uladzislau Rezki wrote: > While investigating “load balancer” logic, I run into interesting > behavior related > to affinity and NO_HZ idle balance. Basically saying if there are two > tasks running > in certain rq and one of them is pinned/affined, then scheduler will > trigger load > balance on power collapsed core via soft irq. > > The corner case here is it may fail to unbalance because of affinity, as a > result core that has two tasks will interrupt any found idle one each its timer > tick, what can lead to wasting of power, especially in mobile area, what is > our case. > > Do you have any concern with provided patch? Yeah, I should go fix the set_cpus_allowed rework :/ lkml.kernel.org/r/20150515154333.712161952@infradead.org -- 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/
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web