Re: Skylake minimal counts
Andi Kleen <[email protected]>
| Newsgroups | gmane.linux.oprofile |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Dec 04, 2017 at 05:19:36PM +0100, Michael Petlan wrote: > Hi all! > > During testing on a Skylake-SP, I have noticed that most of the Skylake > events have "minimum:2000003" set, even for events that used to have much > lower minimum counts on various older micro-architectures, such as Haswell, > Ivy Bridge, etc. With the perf kernel driver there isn't really any need for a minimum anymore. perf has its own limiting mechanism that prevents DoS due to too many PMIs. The data files the Intel files were generated from don't have a concept of minimum, just "default". So it's really a reasonably default in all the Intel files I submitted. That's a more useful concept. So I would just redefine to field to be default, and drop minimum checks. -Andi ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot