Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1375862

Re: [regression] cross core scheduling frequency drop bisected to 0c313cb20732

From Rik van Riel <riel@redhat.com>
Newsgroups linux.kernel
Subject Re: [regression] cross core scheduling frequency drop bisected to 0c313cb20732
Date 2016-04-11 15:40 +0200
Message-ID <rmKel-6GA-7@gated-at.bofh.it> (permalink)
References (6 earlier) <rmpMB-7eT-1@gated-at.bofh.it> <rmu9A-2e3-7@gated-at.bofh.it> <rmAoF-7sx-3@gated-at.bofh.it> <rmJii-5XE-5@gated-at.bofh.it> <rmK4G-6zt-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Mon, 2016-04-11 at 15:21 +0200, Rafael J. Wysocki wrote:
> On Mon, Apr 11, 2016 at 2:38 PM, Rik van Riel <riel@redhat.com>
> wrote:
> > 
> > On Mon, 2016-04-11 at 05:04 +0200, Mike Galbraith wrote:
> > > 
> > > On Sun, 2016-04-10 at 16:24 -0400, Rik van Riel wrote:
> > > > 
> > > > 
> > > > On Sun, 2016-04-10 at 17:39 +0200, Mike Galbraith wrote:
> > > > 
> > > > > 
> > > > > 
> > > > > Should the default idle state not then be governor
> > > > > dependent?  When I
> > > > > set gov=performance, I'm expecting box to go just as fast as
> > > > > it
> > > > > can
> > > > > go
> > > > > without melting.  Does polling risk CPU -> lava conversion?
> > > > Current CPUs can only have some cores run at full speed
> > > > (turbo mode) if other cores are idling and/or running at
> > > > lower speeds.
> > > The real world is very unlikely to miss the prettier numbers I'm
> > > grieving over one tiny bit.  Knowing that doesn't make giving
> > > them up
> > > any easier though.. byebye cycles (sniff) ;-)
> > I suspect your pipe benchmark could be very relevant to
> > network performance numbers, too.
> > 
> > I would like to go into polling a little bit more aggressively
> > in a future kernel,
> Agreed, but ->
> 
> > 
> > and I think we can get away with it if we
> > teach the polling loop to exit after we have spent enough time
> > there that the menu governor will pick HLT after a few timed
> > out poll loops.
> -> my concern about this approach is that it would add an artificial
> point to the menu governor statistics at whatever the timeout is
> chosen to be.

I would set the threshold to at least the HLT target residency +
exit latency, so 3 poll timeouts in 8 wakeups would cause
us to fall back to HLT.

On the other hand, if the system is legitimately very busy,
and we break out of the HLT loop due to activities happening
before the timeout most of the time, we should automatically
pick polling.

Does that make sense?

Am I overlooking something?

-- 
All Rights Reversed.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


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