Date: Tue, 2 Jan 2024 11:58:37 -0500 From: "Kevin P. Neal" <kpn@neutralgood.org> To: Varun Agrawal <varun@guag.net> Cc: freebsd-questions@freebsd.org Subject: Re: Collecting performance counter on AMD Zen processors Message-ID: <ZZRAvVwl9DEXvCqX@neutralgood.org> In-Reply-To: <19399bfd-f7e2-4619-b295-db7cd7d6aa6f@app.fastmail.com> References: <19399bfd-f7e2-4619-b295-db7cd7d6aa6f@app.fastmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Dec 29, 2023 at 08:51:09PM -0500, Varun Agrawal wrote: > Hello, > > I run FreeBSD 14 on a machine with AMD Zen3 cores. I want to collect > CPU performance metrics such as IPC, L1/L2/L3 miss rate, TLB miss rate, > etc. To my surprise, I don't find any tool that supports collecting > this data. > > I find that FreeBSD has support for collecting this data using hwpmc, > but hwpmc only supports the AMD K7 and K8 architecture. Is someone > planning to add support for AMD Zen cores? If not, I can help add this > support. Try asking on the freebsd-hackers list. -- Kevin P. Neal http://www.pobox.com/~kpn/ "Oh, I've heard that paradox a couple of times, but there's something about a cat dying and I hate to think of such things." - Dr. Donald Knuth speaking of Schrodinger's cat, December 8, 1999, MIT
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ZZRAvVwl9DEXvCqX>