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: <bce05954-1189-486a-965c-ea23943365f4@citrix.com>
Date: Thu, 4 Dec 2025 20:02:09 +0000
From: Andrew Cooper <andrew.cooper3@...rix.com>
To: ak@...ux.intel.com
Cc: ggherdovich@...e.cz, linux-kernel@...r.kernel.org, peterz@...radead.org,
 rafael.j.wysocki@...el.com, x86@...nel.org,
 Andrew Cooper <andrew.cooper3@...rix.com>
Subject: Re: [PATCH] x86/aperfmperf: Don't disable scheduler APERF/MPERF on
 bad samples

> However this can happen without any malfunction when there is
> a long enough interruption between the two MSR reads, for
> example due to an unlucky NMI or SMI or other system event
> causing delays.

The list of problems is even longer under virt.  The vCPU can lose it's
timeslice (-> arbitrary delay), or be scheduled onto a different CPU
between the A and M reads (-> calculate the wrong ratio, and not in a
way you could exclude it as a bad sample).

Despite this, some people insist on having A/MPERF inside VMs.

~Andrew

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ