Date: Fri, 29 Dec 2023 20:51:09 -0500 From: "Varun Agrawal" <varun@guag.net> To: freebsd-questions@freebsd.org Subject: Collecting performance counter on AMD Zen processors Message-ID: <19399bfd-f7e2-4619-b295-db7cd7d6aa6f@app.fastmail.com>
next in thread | raw e-mail | index | archive | help
--5bcc403860ff43b4ab675754dba3db05 Content-Type: text/plain 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. If there is another way to collect CPU performance counter data on FreeBSD, I would like to learn about that too. Regards, Varun --5bcc403860ff43b4ab675754dba3db05 Content-Type: text/html <!DOCTYPE html><html><head><title></title><style type="text/css">p.MsoNormal,p.MsoNoSpacing{margin:0} p.MsoNormal,p.MsoNoSpacing{margin:0}</style></head><body><div>Hello,<br></div><div><br></div><div>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.<br></div><div><br></div><div>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.<br></div><div><br></div><div>If there is another way to collect CPU performance counter data on FreeBSD, I would like to learn about that too.<br></div><div><br></div><div>Regards,<br></div><div>Varun<br></div></body></html> --5bcc403860ff43b4ab675754dba3db05--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19399bfd-f7e2-4619-b295-db7cd7d6aa6f>