FreeBSD on Ryzen
Don Lewis
truckman at FreeBSD.org
Wed Mar 29 13:08:58 UTC 2017
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
More information about the freebsd-amd64
mailing list