Date: Wed, 29 Mar 2017 06:08:49 -0700 (PDT) From: Don Lewis <truckman@FreeBSD.org> To: nbe@renzel.net Cc: freebsd-amd64@FreeBSD.org Subject: Re: FreeBSD on Ryzen Message-ID: <201703291308.v2TD8nOX030817@gw.catspoiler.org> In-Reply-To: <201703291259.v2TCxQmO030622@gw.catspoiler.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 29 Mar, Nils Beyer wrote: > 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 > ============================================================================== % sysctl dev.cpu.0 dev.cpu.0.cx_method: C1/hlt C2/io dev.cpu.0.cx_usage_counters: 16502716 0 dev.cpu.0.cx_usage: 100.00% 0.00% last 211us dev.cpu.0.cx_lowest: C1 dev.cpu.0.cx_supported: C1/1/0 C2/2/400 dev.cpu.0.freq_levels: 3400/4590 3000/3825 2200/1980 dev.cpu.0.freq: 3400 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 # dmesg -a | grep hwpstate hwpstate0: <Cool`n'Quiet 2.0> on cpu0
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703291308.v2TD8nOX030817>