FreeBSD on Ryzen

Nils Beyer nbe at renzel.net
Wed Mar 29 07:55:19 UTC 2017


Hi Don,

Don Lewis wrote:
> I put together a Ryzen 1700X machine over the weekend and installed the
> 12.0-CURRENT r315413 snapshot on it a couple of days ago.  The RAM is
> DDR4 2400.
> 
> First impression is that it's pretty zippy.

I also have a Ryzen 1700 (OCed to 3.4GHz) now and can confirm that nearly
everything is running fine; even "bhyve".

Could you do me a favour and execute "sysctl dev.cpu.0". It seems that the
frequency levels are not handled correctly yet. Here's my output:
==============================================================================
#sysctl dev.cpu.0
dev.cpu.0.cx_method: C1/hlt C2/io
dev.cpu.0.cx_usage_counters: 16616204 0
dev.cpu.0.cx_usage: 100.00% 0.00% last 375us
dev.cpu.0.cx_lowest: C1
dev.cpu.0.cx_supported: C1/1/0 C2/2/400
dev.cpu.0.freq_levels: 3400/3562 2700/2835 1550/1312
dev.cpu.0.freq: 2700
dev.cpu.0.%parent: acpi0
dev.cpu.0.%pnpinfo: _HID=none _UID=0
dev.cpu.0.%location: handle=\_PR_.P000
dev.cpu.0.%driver: cpu
dev.cpu.0.%desc: ACPI CPU

#sysctl dev.cpu.0.freq=3400
dev.cpu.0.freq: 2700
sysctl: dev.cpu.0.freq=3400: Device not configured

#dmesg -a | grep hwpstate
hwpstate0: <Cool`n'Quiet 2.0> on cpu0
hwpstate0: set freq failed, err 6
==============================================================================



TIA and regards,
Nils


More information about the freebsd-amd64 mailing list