mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: Klaus Ripke <klaus@ripke.com>
Cc: linux-kernel@vger.kernel.org, Clemens Ladisch <clemens@ladisch.de>
Subject: Re: LOAD_FREQ (4*HZ+61) avoids loadavg Moire
Date: Wed, 16 Nov 2011 11:10:23 +0000	[thread overview]
Message-ID: <20111116111023.502d6a6e@lxorguk.ukuu.org.uk> (raw)
In-Reply-To: <20111116110330.GA235@aine.Speedport_W_502V_Typ_A>

On Wed, 16 Nov 2011 12:03:30 +0100
Klaus Ripke <klaus@ripke.com> wrote:

> On Mon, Nov 14, 2011 at 09:10:44AM +0100, Clemens Ladisch wrote:
> > Klaus Ripke wrote:
> > > With some seconds based load (like SSL heartbeats)
> > > and LOAD_FREQ at (5*HZ+1) I see Moire patterns like inverse sawtooth,
> > 
> > Thanks for researching this, but I don't see them because I'm too lazy
> > to reproduce this.  Could you please publish a colorful screenshot
> > somewhere?
> 
> there you go http://ripke.com/loadavg/moire

And for any load you pick you'll be able to generate patterns and
inaccurate load average data unless you actually count used cycles via
the perf counters and such on processors.

Shannon says we can't win. Changing the computation may well change load
values other users use in order to predict and balance workloads so while
it has clear limits futzing with it to make one workload look better is
simply going to break stuff for other people.

Alan

      reply	other threads:[~2011-11-16 11:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-12 14:38 Klaus Ripke
2011-11-14  8:10 ` Clemens Ladisch
2011-11-16 11:03   ` Klaus Ripke
2011-11-16 11:10     ` Alan Cox [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20111116111023.502d6a6e@lxorguk.ukuu.org.uk \
    --to=alan@lxorguk.ukuu.org.uk \
    --cc=clemens@ladisch.de \
    --cc=klaus@ripke.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®