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


Groups > linux.kernel > #1678425

Re: wake_wide mechanism clarification

From Mike Galbraith <umgwanakikbuti@gmail.com>
Newsgroups linux.kernel
Subject Re: wake_wide mechanism clarification
Date 2017-06-30 05:20 +0200
Message-ID <tXUDo-8jG-11@gated-at.bofh.it> (permalink)
References <tXRPc-6s4-23@gated-at.bofh.it> <tXSie-6BV-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, 2017-06-29 at 20:49 -0400, Josef Bacik wrote:
> On Thu, Jun 29, 2017 at 05:19:14PM -0700, Joel Fernandes wrote:
> 
> > Why are wanting the master's flip frequency to be higher than the
> > slaves by the factor?
> 
> (Responding from my personal email as my work email is outlook shit and
> impossible to use)
> 
> Because we are trying to detect the case that the master is waking many
> different processes, and the 'slave' processes are only waking up the
> master/some other specific processes to determine if we don't care about cache
> locality.

Yes, the heuristic (large delta implies waker/wakee are NOT 1:1, ie
filter out high frequency communication where eating misses doesn't
merely sting, it hurts like hell) just became bidirectional.

> Actually I think both are wrong, but I need Mike to weigh in.

My weigh in is this: if you have ideas to improve or replace that
heuristic, by all means go for it, just make damn sure it's dirt cheap.
 Heuristics all suck one way or another, problem is that nasty old
"perfect is the enemy of good" adage.  Make it perfect, it'll hurt.

	-Mike

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


Thread

wake_wide mechanism clarification Joel Fernandes <joelaf@google.com> - 2017-06-30 02:20 +0200
  Re: wake_wide mechanism clarification Josef Bacik <josef@toxicpanda.com> - 2017-06-30 02:50 +0200
    Re: wake_wide mechanism clarification Joel Fernandes <joelaf@google.com> - 2017-06-30 05:10 +0200
      Re: wake_wide mechanism clarification Josef Bacik <josef@toxicpanda.com> - 2017-06-30 16:30 +0200
        Re: wake_wide mechanism clarification Mike Galbraith <umgwanakikbuti@gmail.com> - 2017-06-30 19:10 +0200
          Re: wake_wide mechanism clarification Josef Bacik <josef@toxicpanda.com> - 2017-06-30 20:00 +0200
    Re: wake_wide mechanism clarification Mike Galbraith <umgwanakikbuti@gmail.com> - 2017-06-30 05:20 +0200
    Re: wake_wide mechanism clarification Matt Fleming <matt@codeblueprint.co.uk> - 2017-06-30 15:20 +0200

csiph-web