Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Jun 2018 01:28:38 +0200
From:      cpghost <cpghost@cordula.ws>
To:        freebsd-stable@freebsd.org
Cc:        Konstantin Belousov <kostikbel@gmail.com>
Subject:   Re: Ryzen issues on FreeBSD ? (with sort of workaround)
Message-ID:  <70feb5c9-4755-ebe7-f802-c36ea21288e4@cordula.ws>
In-Reply-To: <20180626112919.GK2430@kib.kiev.ua>
References:  <9233bded-3ea2-dc46-19bf-f9a7eef7fa6b@vangyzen.net> <E1fXlFu-0000rF-3y@dilbert.ingresso.co.uk> <20180626112919.GK2430@kib.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On 06/26/18 13:29, Konstantin Belousov wrote:
> On Tue, Jun 26, 2018 at 11:31:26AM +0100, Pete French wrote:
>>> On 06/18/2018 09:34, Pete French wrote:
>>>> Preseumably in the slightly longer term these workarounds go into the
>>>> actual kernel if it detects Ryzen ?
>>>
>>> Yes, Kostik said he would code this into the kernel after he gets enough
>>> feedback.
>>
>> So, I've been running with the sysctl and cputl fixes from
>> https://lists.freebsd.org/pipermail/freebsd-current/2018-June/069799.html
>> for a couple of weeks now, with all the default settings back on (including
>> SMT) and it now completely stable, so consider this one more point of feedback

Same here on

FreeBSD monster 11.2-BETA2 FreeBSD 11.2-BETA2 #1 r334062: Tue May 22 23:46:29 CEST 2018     root@monster:/usr/obj/usr/src/sys/GENERIC  amd64

with a Threadripper 1950X and

% sudo x86info -a | grep Microcode
Microcode patch level: 0x8001136

Without that script, the system would lockup up to 5-6 times a day.
Now running without any lockup at all for 3 days, with all kinds
of workload from idle to torture tests. Too early to tell, but it
looks good for now.

CPU: AMD Ryzen Threadripper 1950X 16-Core Processor  (3393.71-MHz K8-class CPU)
  Origin="AuthenticAMD"  Id=0x800f11  Family=0x17  Model=0x1  Stepping=1
Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,
                    CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
Features2=0x7ed8320b<SSE3,PCLMULQDQ,MON,SSSE3,FMA,CX16,SSE4.1,SSE4.2,MOVBE,
                     POPCNT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND>
AMD Features=0x2e500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM>
AMD Features2=0x35c233ff<LAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,OSVW
                        SKINIT,WDT,TCE,Topology,PCXC,PNXC,DBE,PL2I,MWAITX>
Structured Extended Features=0x209c01a9<FSGSBASE,BMI1,AVX2,SMEP,BMI2,RDSEED,ADX,SMAP,CLFLUSHOPT,SHA>
XSAVE Features=0xf<XSAVEOPT,XSAVEC,XINUSE,XSAVES>
AMD Extended Feature Extensions ID EBX=0x1007<CLZERO,IRPerf,XSaveErPtr>
SVM: (disabled in BIOS) NP,NRIP,VClean,AFlush,DAssist,NAsids=32768
TSC: P-state invariant, performance statistics

Thanks,
-cpghost.


[-- Attachment #2 --]
0	*H
010
	`He0	*H
000/A|

*60
	*H
010	UGB10UGreater Manchester10USalford10U
COMODO CA Limited1=0;U4COMODO RSA Client Authentication and Secure Email CA0
171220000000Z
181220235959Z0#1!0	*H
	cpghost@cordula.ws0"0
	*H
0
Wqor\Mq!%`CN5e;F_.:,θ|@GkbB1[,n@A8_<R[J+Vcy>|
t`7(>8+0QhVE-8TOڪIKǞ(7
MΞ;+H (y$e>dDӹFGyK+dϜB00U#0la|=+qH^ċ0U%Papo_@['‹6	0U0U00 U%0++10	`HB 0FU ?0=0;+10+0)+https://secure.comodo.net/CPS0ZUS0Q0OMKIhttp://crl.comodoca.com/COMODORSAClientAuthenticationandSecureEmailCA.crl0+0}0U+0Ihttp://crt.comodoca.com/COMODORSAClientAuthenticationandSecureEmailCA.crt0$+0http://ocsp.comodoca.com0U0cpghost@cordula.ws0
	*H
tW)T(tHCOCD3,bͳI^+TqA.VMuHلv%@
9N+>/ž]h(SGN[q-6B-;MmAP^0E^g_D8(J%':.jwǥ@	D-Ƽ@]-Eia[)bȻvӟ7~پ>M00Πj8;+kٸRV0
	*H
010	UGB10UGreater Manchester10USalford10U
COMODO CA Limited1+0)U"COMODO RSA Certification Authority0
130110000000Z
280109235959Z010	UGB10UGreater Manchester10USalford10U
COMODO CA Limited1=0;U4COMODO RSA Client Authentication and Secure Email CA0"0
	*H
0
W(vu@8v!P%yL}:X>1.4vلj=4HK hyt4z|e`'"2@rF5P3*UT+%4D5+
ZSu+­=7F_Zte
>)
94Fro8pNhFF#Ne6/M{UWֱmAYT"o)CI	m84$.zW4 r^M9,R$
<080U#0~=<8220Ula|=+qH^ċ0U0U00U 
00U 0LUE0C0A?=;http://crl.comodoca.com/COMODORSACertificationAuthority.crl0q+e0c0;+0/http://crt.comodoca.com/COMODORSAAddTrustCA.crt0$+0http://ocsp.comodoca.com0
	*H
x\(4O<_VΟV쏢kI/5@qB!fk&kn{hJd| q[Lǿᓬ?"@fCOݐrXurJH5;#68jle) )Y4’Nezyq{:kx%iچ:w#f6HLP~jo9KXnM#:!!69i\}^M;TSX7	̯3]Tc6O$voX*5!4.aKE8HIĹ7?Ar}r# R/h<סnuy<1	3mɔv#~&pvg' skMH#/ƨ$/uXqTu(|^-vM҆NKX7fA\X5sh2qP\YǟENRarpGtZp_"k7DdJVGz18040010	UGB10UGreater Manchester10USalford10U
COMODO CA Limited1=0;U4COMODO RSA Client Authentication and Secure Email CA/A|

*60
	`He[0	*H
	1	*H
0	*H
	1
180629232838Z0/	*H
	1" 3zx	_$ I;	0l	*H
	1_0]0	`He*0	`He0
*H
0*H
0
*H
@0+0
*H
(0	+710010	UGB10UGreater Manchester10USalford10U
COMODO CA Limited1=0;U4COMODO RSA Client Authentication and Secure Email CA/A|

*60*H
	1010	UGB10UGreater Manchester10USalford10U
COMODO CA Limited1=0;U4COMODO RSA Client Authentication and Secure Email CA/A|

*60
	*H
a.yeWsx?
Tf!􀎤޷Cav"JӤ,".UDmȣ|Ba0$pcTVi_(*4qü
ҵllvFaN_OOs?=DP5F\q*#/AW
QTe/H![`0d,J
PYnѩO:S9R
	,JN>&y(+`UP0s@uߌ

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?70feb5c9-4755-ebe7-f802-c36ea21288e4>