From owner-freebsd-stable@freebsd.org Wed Jan 24 15:18:55 2018 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3BC3EED8E90 for ; Wed, 24 Jan 2018 15:18:55 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost2.sentex.ca (smarthost2.sentex.ca [IPv6:2607:f3e0:80:80::2]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "smarthost.sentex.ca", Issuer "smarthost.sentex.ca" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id C5B1D8D97A for ; Wed, 24 Jan 2018 15:18:54 +0000 (UTC) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (lava.sentex.ca [IPv6:2607:f3e0:0:5::11]) by smarthost2.sentex.ca (8.15.2/8.15.2) with ESMTPS id w0OFIsFA026820 (version=TLSv1 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Wed, 24 Jan 2018 10:18:54 -0500 (EST) (envelope-from mike@sentex.net) Received: from [192.168.43.26] (saphire3.sentex.net [192.168.43.26]) by lava.sentex.ca (8.15.2/8.15.2) with ESMTP id w0OFIqZt068341; Wed, 24 Jan 2018 10:18:52 -0500 (EST) (envelope-from mike@sentex.net) Subject: Re: Ryzen issues on FreeBSD ? (summary of 4 issues) To: Nimrod Levy Cc: Mark Millard , michaelp@bsquare.com, FreeBSD-STABLE Mailing List References: <744bbe18-80c4-d057-c88d-fbe480ee9abb@sentex.net> From: Mike Tancsa Organization: Sentex Communications Message-ID: <5d13e877-88d9-30a3-3ec1-0824f48a9a64@sentex.net> Date: Wed, 24 Jan 2018 10:18:53 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.78 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Jan 2018 15:18:55 -0000 On 1/24/2018 10:07 AM, Nimrod Levy wrote: > I'm not sure this is characterized quite right.  I've been seeing c) > where the system freezes completely and seems to be related to idle/ low > load, but the workaround that seems to be working around the issue is > part of a) where I lowered the memory speed. It did seem to reduce the frequencies of the lockups, but I still had at least one with the RAM speed reduced. I want to rule out b) from all this with replacement CPUs so will revisit in a week. ---Mike > > > On Wed, Jan 24, 2018 at 9:42 AM Mike Tancsa > wrote: > > I think perhaps a good time to summarize as a few issues seem to be > going on > > a) fragile BIOS settings. There seems to be a number of issues around > RAM speeds and disabled C-STATES that impact stability.  Specifically, > lowering the default frequency from 2400 to 2133 seems to help some > users with crashes / lockups under heavy loads. > > b) CPUs manufactured prior to week 25 (some say week 33?) have a > hardware defect that manifests itself as segfaults in heavy compiles.  I > was able to confirm this on 1 of the CPUs I had using a Linux setup. It > seems to confirm this, you need to physically look at the CPU for the > manufacturing date :( Not sure how to trigger it on FreeBSD reliably, > but there is a github project I used to verify on Linux > (https://github.com/suaefar/ryzen-test) > > c) The idle lockup bug.  This *seems* to be confirmed on Linux as well > http://blog.programster.org/ubuntu-16-04-compile-custom-kernel-for-ryzen > and > https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1690085 > > d) Compile failures of some ports.  For myself and one other user, > compiling net/samba47 reliably hangs in roughly the same place.  Its not > clear if this is related to any of the above bugs or not. > > Right now I have RMA'd my 3 CPUs back to AMD. Hopefully, I will get > replacements in a week and can get back to testing c) and d). > >         ---Mike > > -- > > -- > Nimrod > -- ------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.com/