Ryzen issues on FreeBSD ? (with sort of workaround)

cpghost cpghost at cordula.ws
Fri Jun 29 23:28:43 UTC 2018


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 at 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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3992 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20180630/6a46ff6b/attachment.bin>


More information about the freebsd-stable mailing list