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] [day] [month] [year] [list]
Message-ID: <20230414030624.GB250825@ziqianlu-desk2>
Date:   Fri, 14 Apr 2023 11:06:24 +0800
From:   Aaron Lu <aaron.lu@...el.com>
To:     Mathieu Desnoyers <mathieu.desnoyers@...icios.com>
CC:     Peter Zijlstra <peterz@...radead.org>,
        <linux-kernel@...r.kernel.org>, Olivier Dion <odion@...icios.com>,
        <michael.christie@...cle.com>
Subject: Re: [RFC PATCH v5] sched: Fix performance regression introduced by
 mm_cid

On Thu, Apr 13, 2023 at 10:37:44PM +0800, Aaron Lu wrote:
> On Thu, Apr 13, 2023 at 10:02:48AM -0400, Mathieu Desnoyers wrote:
> > Introduce per-mm/cpu current concurrency id (mm_cid) to fix a PostgreSQL
> > sysbench regression reported by Aaron Lu.
>  
> Initial test using postgres_sysbench showed the lock contention is gone :-)
> Will check how it affects hackbench tomorrow.

For hackbench on SPR, there is also almost no lock contention from
scheduler path. For cid related function, there are:

# Children      Self  Shared Object       Symbol
     7.10%     7.09%  [kernel.vmlinux]    [k] mm_cid_get
     3.62%     3.53%  [kernel.vmlinux]    [k] sched_mm_cid_migrate_from

Full profile attached for your reference.

Download attachment "node0_0.profile.gz" of type "application/gzip" (13348 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ