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: <SJ1PR11MB6083CEB7E30E44F31EC3CA6EFC3F9@SJ1PR11MB6083.namprd11.prod.outlook.com>
Date:   Tue, 8 Nov 2022 21:56:43 +0000
From:   "Luck, Tony" <tony.luck@...el.com>
To:     "Chatre, Reinette" <reinette.chatre@...el.com>,
        James Morse <james.morse@....com>,
        Peter Newman <peternewman@...gle.com>
CC:     "Yu, Fenghua" <fenghua.yu@...el.com>,
        "Eranian, Stephane" <eranian@...gle.com>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
        Thomas Gleixner <tglx@...utronix.de>,
        "Babu Moger" <Babu.Moger@....com>,
        Gaurang Upasani <gupasani@...gle.com>
Subject: RE: [RFD] resctrl: reassigning a running container's CTRL_MON group

> Looking at some history there even seems to have been some work surrounding
> "rotating" of RMIDs that seem related to what you mention above:
>
> commit bff671dba7981195a644a5dc210d65de8ae2d251
> Author: Matt Fleming <matt.fleming@...el.com>
> Date:   Fri Jan 23 18:45:47 2015 +0000
>
>     perf/x86/intel: Perform rotation on Intel CQM RMIDs
>
>     There are many use cases where people will want to monitor more tasks
>     than there exist RMIDs in the hardware, meaning that we have to perform
>     some kind of multiplexing.

That would work for monitoring memory bandwidth. But not for LLC occupancy
as there's no way to set an occupancy counter to the value of what the new set of
processes are using. So you'd have to live with nonsense values for a potentially
long time until natural LLC evictions and re-fills sorted things out.  Either that or
flush the entire LLC when reassigning an RMID so you can count up from zero
as the cache is re-filled.

-Tony

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ