From owner-freebsd-stable@freebsd.org Wed Jan 24 15:07:27 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 79CDFED857F for ; Wed, 24 Jan 2018 15:07:27 +0000 (UTC) (envelope-from nimrod@nimrod.is-a-geek.net) Received: from mail-yw0-x22d.google.com (mail-yw0-x22d.google.com [IPv6:2607:f8b0:4002:c05::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 154C28CFD7 for ; Wed, 24 Jan 2018 15:07:26 +0000 (UTC) (envelope-from nimrod@nimrod.is-a-geek.net) Received: by mail-yw0-x22d.google.com with SMTP id x62so1584997ywg.11 for ; Wed, 24 Jan 2018 07:07:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=EG2QoPsZFySmP4EROcu1dKB9WicvwXGKMjYrYCpI6e8=; b=DbkwyLy5x5l6YH/GtYfluH4Wnp2T4p8NJ2uwuIINwytjKlGfTUYaf9hsq5tH8F8F7n hn9eVUW7DDW8SVQ+rBVAykE/sxxOns/JkYwsw6Fd4feZkKTz5Be6e3mJVy6xlwMCGRDO 2dZ3cBadCK5Vmb0loyH+7GkTR/bQzOC+2quysW+g4YJl+loF04lqzm5rD43gAiFcm2Ao D7cy+r5CRU6JLkh3r9asVGRfMnoSdiLVRiegQJ2dQKwOXC0gIaQHc7+NzlXD8JPZGwL8 tmuPMlD/dhdHgap6GAyFOeQaPfsVleXW5CXzJiX5a8mHVKnNiSpCO9J9SdvFZ1dIx+wI t46g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=EG2QoPsZFySmP4EROcu1dKB9WicvwXGKMjYrYCpI6e8=; b=KqYgD9Ex+4z86NoFh/Pg7bafsgHJdO3Va0TKtMbNpEE5PODMzLVhgPOXmNIc20To3j M9Jhrs7gSXwblZQxu5trVa6IaMASxetM1wUyofUIZKICKaYZUDcd+n4AEWv1HcybkjFr nnjn/le9CXtD2xlP1WabFowK4BM5oQNGxlRUFvKKHD/u606LWE8jQ/geLkI8qrkKsVNx xRHTlvErrleNJJtGgnCHLFzwrcEqOyoGzXi6SZgKFcpriuNfbR13DdJOyc7xZfpYKyXa IdZ+6de0cMylztUbH3VFlmKcJ+/cAavbiA4pfHICpxrRk+MaX4u9L9ECqJbAfohb4l8+ 3MaA== X-Gm-Message-State: AKwxytcTPyehz/a5Fpn9H+vHntEoUYPD9zey/G2Ozfdal02jR9zgoMzu c5KmINpVAIJSsTnZZZUeMoBvGkUROj7liv0vMcXrsg== X-Google-Smtp-Source: AH8x227kx2dYnJDnQShiyU87TUj++Xabnf4ONQxoOe596h/7GwMtZAKNMbZ28B6w/QgUySJJ8MZEMJ9ELcEp2un5X6s= X-Received: by 10.129.40.207 with SMTP id o198mr5533986ywo.320.1516806446056; Wed, 24 Jan 2018 07:07:26 -0800 (PST) MIME-Version: 1.0 References: <744bbe18-80c4-d057-c88d-fbe480ee9abb@sentex.net> In-Reply-To: <744bbe18-80c4-d057-c88d-fbe480ee9abb@sentex.net> From: Nimrod Levy Date: Wed, 24 Jan 2018 15:07:15 +0000 Message-ID: Subject: Re: Ryzen issues on FreeBSD ? (summary of 4 issues) To: Mike Tancsa Cc: Mark Millard , michaelp@bsquare.com, FreeBSD-STABLE Mailing List Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 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:07:27 -0000 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. 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