lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YUCOSyFITy/dHcJI@hirez.programming.kicks-ass.net>
Date:   Tue, 14 Sep 2021 13:58:03 +0200
From:   Peter Zijlstra <peterz@...radead.org>
To:     Vincent Guittot <vincent.guittot@...aro.org>
Cc:     Yicong Yang <yangyicong@...ilicon.com>,
        Ingo Molnar <mingo@...hat.com>,
        Juri Lelli <juri.lelli@...hat.com>,
        Dietmar Eggemann <dietmar.eggemann@....com>,
        Steven Rostedt <rostedt@...dmis.org>,
        Ben Segall <bsegall@...gle.com>, Mel Gorman <mgorman@...e.de>,
        Daniel Bristot de Oliveira <bristot@...hat.com>,
        21cnbao@...il.com,
        Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
        "Song Bao Hua (Barry Song)" <song.bao.hua@...ilicon.com>,
        prime.zeng@...wei.com,
        "guodong.xu@...aro.org" <guodong.xu@...aro.org>
Subject: Re: [RFC] Perfomance varies according to sysctl_sched_migration_cost

On Tue, Sep 14, 2021 at 11:04:03AM +0200, Vincent Guittot wrote:
> 
> I would say that it's a heuristic value that works for most of system
> but it should probably be tuned per platform. But also note that it's
> quite difficult to get a correct value
> 

Right; so back before CFS there was some boot time benchmarks that
measured something for each sched domain.

Conceptually that makes sense, the larger the domain, the larger the
cost, also, you get per platform etc..

In practise it had boot to boot variance and virt fail written all over
it, which is why Ingo ripped it out. I think someone once tried to bring
some of it back, but that was a long time ago.

I'm also not convinced boot time benchmarks are the best idea, because
the above reasons, but perhaps we can do something topology based, and
maybe using a few platform inputs.

And as with anything, some benchmarks will like it, others will not like
it. It's only worth the complexity if we can get an improvement across
the board.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ