Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Apr 2023 17:59:52 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 270943] Complete system freeze on Asus dual socket AMD 7742 system
Message-ID:  <bug-270943-227-IlB5G92oD6@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-270943-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-270943-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270943

--- Comment #2 from Neil Bradley <nb@synthcom.com> ---
Workaround for this is to go in to BIOS, select "AMD CBS", then "Processor
Features", and change "Global C state control" to "enabled" (or disabled, b=
ut
this uses more power). "auto" Is the setting that seems to cause the lockup=
s.
Once changed to enabled or disabled, the system is stable for >12 hours.

More detail, with C state control "disabled", I get the following wattage
usage:

Power in  =3D 300 watts
Power out =3D 276 watts
CPU       =3D 168 watts
Mem       =3D 112 watts

root@amd-megaserver:/home/nb # sysctl dev.cpu | grep cx
dev.cpu.255.cx_method: C1/hlt
dev.cpu.255.cx_usage_counters: 2525
dev.cpu.255.cx_usage: 100.00% last 713773us
dev.cpu.255.cx_lowest: C1
dev.cpu.255.cx_supported: C1/1/0

However, when running with C state control "enabled", it's much more reason=
able
and in line with other operating systems' idle power consumption:

Power in  =3D 120 watts
Power out =3D 108 watts
CPU       =3D 88 watts
Mem       =3D 16 watts

nb@amd-megaserver:~ $ sysctl dev.cpu | grep cx
dev.cpu.255.cx_method: C1/hlt C2/io
dev.cpu.255.cx_usage_counters: 1752 0
dev.cpu.255.cx_usage: 100.00% 0.00% last 395716us
dev.cpu.255.cx_lowest: C1
dev.cpu.255.cx_supported: C1/1/1 C2/2/400

Unsure of how to properly disposition this, as while this does provide a us=
able
workaround, it does feel like there's something OS-wise that's not quite ri=
ght,
given there are no lockup issues with Linux or Windows.

Leaving open for the FreeBSD to disposition as they see fit with the
information above.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-270943-227-IlB5G92oD6>