[Bug 251113] sysutils/turbostat fails on zen cpu need newer version

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Dec 4 23:58:42 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251113

--- Comment #8 from Nick Wolff <darkfiberiru at gmail.com> ---
Yes it appears to match what you thought it would be.

FreeBSD/SMP: Multiprocessor System Detected: 128 CPUs
FreeBSD/SMP: 2 package(s) x 4 groups x 2 cache groups x 4 core(s) x 2 hardware
threads

On top of redoing how we're getting topology logic I think turbostat from linux
kernel 4.17 is just t0o old. That makes it's last commit from oct 2017
https://github.com/torvalds/linux/commits/master?after=b3298500b23f0b53a8d81e0d5ad98a29db71f4f0+82&branch=master&path%5B%5D=tools&path%5B%5D=power&path%5B%5D=x86&path%5B%5D=turbostat
This shows all the newer commits starting with the first new one at bottom of
page and coninuing if you selecter newer till you get to head .


Around here
https://github.com/torvalds/linux/commit/40f5cfe7b886676f00e860b482c4bf7103413a24#diff-e8059b77880f85661c08aad6158834e7de2b4625c7828a7a28d4956b0127dfcc
is where they made the turbostat capable of handling epyc processors that ran
into a very similiar parsing issue on linux.

Thanks for looking into all this.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list