Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1374721
| From | "Doug Smythies" <dsmythies@telus.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | RE: [regression] cross core scheduling frequency drop bisected to 0c313cb20732 |
| Date | 2016-04-10 09:20 +0200 |
| Message-ID | <rmhP4-1oe-3@gated-at.bofh.it> (permalink) |
| References | (4 earlier) <rlUSu-SL-3@gated-at.bofh.it> <rm0lc-4YO-5@gated-at.bofh.it> <rm2Q2-74P-1@gated-at.bofh.it> <rm45r-7Ve-7@gated-at.bofh.it> <rmexP-7mr-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 2106.04.09 20:45 Rafael J. Wysocki wrote: >On Sat, Apr 9, 2016 at 6:39 PM, Mike Galbraith wrote: >> >> Hm, setting gov=performance, and taking the average of 3 30 second >> interval PkgWatt samples as pipe-test runs.. >> >> 714KHz/28.03Ws = 25.46 >> 877KHz/30.28Ws = 28.96 >> >> ..for pipe-test, the tradeoff look a bit more like red than green. > > Well, fair enough, but that's just pipe-test, and what about the > people who don't see the performance gain and see the energy loss, > like Doug? Some numbers from my computer: Pipe-test (100 seconds): Kernel 4.6-rc2 gov=powersave: Stock: 3.86 uSecs/loop and 3148.05 Joules Reverted: 3.34 uSecs/loop and 3567.43 Joules Reverted is 13% faster at a cost of 13% more energy. Idle stats (done separately and for 20e6 loops) State k46rc2-ps (sec) k46rc2-rev-ps(sec) 0.00 0.01 4.09 1.00 38.68 0.00 2.00 0.46 0.27 3.00 0.01 0.00 4.00 464.23 380.23 total 503.38 384.60 Kernel 4.6-rc2 gov=performance: Stock: 3.89 uSecs/loop and 3154.72 Joules Reverted: 3.25 uSecs/loop and 3445.90 Joules Reverted is 16% faster at a cost of 9% more energy. Idle stats (done separately and for 20e6 loops) State k46rc2-pf (sec) k46rc2-rev-pf (sec) 0.00 0.00 1.43 1.00 38.89 0.04 2.00 2.08 0.03 3.00 0.01 0.01 4.00 463.05 381.54 total 504.03 383.05 9 incremental kernel compiles, with no changes: (the reference test from last cycle): (2000 seconds turbostat package energy sample time): There is no detectable consistent change in compile times: Kernel 4.6-rc2 gov=powersave: Stock: 48557 Joules Reverted: 65439 Joules Reverted costs 34% more energy. (note: this result is unusually high. There are variations test to test) Kernel 4.6-rc2 gov=performance: Stock: 49965 Joules Reverted: 59232 Joules Reverted costs 19% more energy. (note: never tested gov=performance before) Idle stats not re-done (we had several samples last cycle). > Essentially, this trades performance gains in somewhat special > workloads for increased energy consumption in idle. Those workloads > need not be run by everybody, but idle is. > > That said I applied the patch you're complaining about mostly because > the commit that introduced the change in question in 4.5 claimed that > it wouldn't affect idle power on systems with reasonably fast C1, but > that didn't pass the reality test. I'm not totally against restoring > that change, but it would need to be based on very solid evidence. ... Doug
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[regression] cross core scheduling frequency drop bisected to 0c313cb20732 Mike Galbraith <umgwanakikbuti@gmail.com> - 2016-04-08 07:30 +0200
Re: [regression] cross core scheduling frequency drop bisected to 0c313cb20732 Peter Zijlstra <peterz@infradead.org> - 2016-04-08 08:50 +0200
Re: [regression] cross core scheduling frequency drop bisected to 0c313cb20732 Mike Galbraith <umgwanakikbuti@gmail.com> - 2016-04-08 09:00 +0200
Re: [regression] cross core scheduling frequency drop bisected to 0c313cb20732 "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2016-04-08 23:00 +0200
RE: [regression] cross core scheduling frequency drop bisected to 0c313cb20732 "Doug Smythies" <dsmythies@telus.net> - 2016-04-09 00:20 +0200
Re: [regression] cross core scheduling frequency drop bisected to 0c313cb20732 Mike Galbraith <umgwanakikbuti@gmail.com> - 2016-04-09 08:50 +0200
RE: [regression] cross core scheduling frequency drop bisected to 0c313cb20732 "Doug Smythies" <dsmythies@telus.net> - 2016-04-09 09:20 +0200
Re: [regression] cross core scheduling frequency drop bisected to 0c313cb20732 Mike Galbraith <umgwanakikbuti@gmail.com> - 2016-04-09 09:30 +0200
Re: [regression] cross core scheduling frequency drop bisected to 0c313cb20732 Peter Zijlstra <peterz@infradead.org> - 2016-04-09 13:10 +0200
Re: [regression] cross core scheduling frequency drop bisected to 0c313cb20732 Mike Galbraith <umgwanakikbuti@gmail.com> - 2016-04-09 08:50 +0200
Re: [regression] cross core scheduling frequency drop bisected to 0c313cb20732 "Rafael J. Wysocki" <rafael@kernel.org> - 2016-04-09 14:40 +0200
Re: [regression] cross core scheduling frequency drop bisected to 0c313cb20732 Mike Galbraith <umgwanakikbuti@gmail.com> - 2016-04-09 17:20 +0200
Re: [regression] cross core scheduling frequency drop bisected to 0c313cb20732 Mike Galbraith <umgwanakikbuti@gmail.com> - 2016-04-09 18:40 +0200
Re: [regression] cross core scheduling frequency drop bisected to 0c313cb20732 "Rafael J. Wysocki" <rafael@kernel.org> - 2016-04-10 05:50 +0200
RE: [regression] cross core scheduling frequency drop bisected to 0c313cb20732 "Doug Smythies" <dsmythies@telus.net> - 2016-04-10 09:20 +0200
Re: [regression] cross core scheduling frequency drop bisected to 0c313cb20732 Mike Galbraith <umgwanakikbuti@gmail.com> - 2016-04-10 11:40 +0200
Re: [regression] cross core scheduling frequency drop bisected to 0c313cb20732 Mike Galbraith <umgwanakikbuti@gmail.com> - 2016-04-10 17:00 +0200
Re: [regression] cross core scheduling frequency drop bisected to 0c313cb20732 Peter Zijlstra <peterz@infradead.org> - 2016-04-09 13:10 +0200
Re: [regression] cross core scheduling frequency drop bisected to 0c313cb20732 "Rafael J. Wysocki" <rafael@kernel.org> - 2016-04-09 14:40 +0200
Re: [regression] cross core scheduling frequency drop bisected to 0c313cb20732 Mike Galbraith <umgwanakikbuti@gmail.com> - 2016-04-10 17:50 +0200
Re: [regression] cross core scheduling frequency drop bisected to 0c313cb20732 Rik van Riel <riel@redhat.com> - 2016-04-10 22:30 +0200
Re: [regression] cross core scheduling frequency drop bisected to 0c313cb20732 Mike Galbraith <umgwanakikbuti@gmail.com> - 2016-04-11 05:10 +0200
Re: [regression] cross core scheduling frequency drop bisected to 0c313cb20732 Rik van Riel <riel@redhat.com> - 2016-04-11 14:40 +0200
Re: [regression] cross core scheduling frequency drop bisected to 0c313cb20732 "Rafael J. Wysocki" <rafael@kernel.org> - 2016-04-11 15:30 +0200
Re: [regression] cross core scheduling frequency drop bisected to 0c313cb20732 Rik van Riel <riel@redhat.com> - 2016-04-11 15:40 +0200
csiph-web