All of lore.kernel.org
 help / color / mirror / Atom feed
From: Valentin Schneider <valentin.schneider@arm.com>
To: Francesco Poli <invernomuto@paranoici.org>, linux-kernel@vger.kernel.org
Subject: Re: Question about sched_prio_to_weight values
Date: Thu, 10 Oct 2019 18:28:36 +0100	[thread overview]
Message-ID: <21c11aca-e531-7d72-9a70-f52c12d5d408@arm.com> (raw)
In-Reply-To: <20191007224143.d21abae57a3f32ac60afd53c@paranoici.org>

On 07/10/2019 21:41, Francesco Poli wrote:
> The differences are probably due to the different precision
> of the computations: I don't know the precision of those originally
> carried out by Ingo Molnar (single precision? double?), but calc(1)
> is an arbitrary precision calculator and, by default, performs
> calculations with epsilon = 1e-20 !
> 
> Please note that, except for the first one, all the differing
> values obtained with the calc(1) script have slightly better
> errors than the ones found in kernel/sched/core.c ...
> 

As always patches are welcome, but I don't know how much there is to gain
from a tiny error correction in those factors.

Out of curiosity, what led you to stare at those numbers?

> 
> Thanks again for the clarification!
> Bye.
> 

  reply	other threads:[~2019-10-10 17:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-06 22:32 Question about sched_prio_to_weight values Francesco Poli
2019-10-07  9:13 ` Valentin Schneider
2019-10-07 20:41   ` Francesco Poli
2019-10-10 17:28     ` Valentin Schneider [this message]
2019-10-10 22:51       ` Francesco Poli

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=21c11aca-e531-7d72-9a70-f52c12d5d408@arm.com \
    --to=valentin.schneider@arm.com \
    --cc=invernomuto@paranoici.org \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.