From owner-freebsd-stable@freebsd.org Wed Jan 31 00:48:32 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 8C144ECD179 for ; Wed, 31 Jan 2018 00:48:32 +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 13B306A79D; Wed, 31 Jan 2018 00:48:32 +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 w0V0mV3e082242 (version=TLSv1 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Tue, 30 Jan 2018 19:48:31 -0500 (EST) (envelope-from mike@sentex.net) Received: from [192.168.43.26] (saphire3.sentex.ca [192.168.43.26]) by lava.sentex.ca (8.15.2/8.15.2) with ESMTP id w0V0mSPX011020; Tue, 30 Jan 2018 19:48:28 -0500 (EST) (envelope-from mike@sentex.net) Subject: Re: Ryzen issues on FreeBSD ? (with sort of workaround) To: Nimrod Levy Cc: Don Lewis , freebsd-stable@freebsd.org, Peter Moody , Andriy Gapon , Pete French References: <8e842dec-ade7-37d1-6bd8-856ea1a827ca@sentex.net> <730eb882-1c6a-afb7-0ada-396db44fb34b@ingresso.co.uk> <8b882970-4d5d-2a96-4dac-779cab07b9ae@sentex.net> <343acf99-3e9e-093a-7390-c142396c2985@sentex.net> <3dd9a61b-511d-db2e-80ca-cbc9a4b65f92@sentex.net> <55913e41-3a8a-9a4d-6862-e09a3d0f4d55@sentex.net> <5e48bbc2-e872-46bd-eece-25acbb180f77@sentex.net> From: Mike Tancsa Organization: Sentex Communications Message-ID: Date: Tue, 30 Jan 2018 19:48:30 -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, 31 Jan 2018 00:48:32 -0000 On 1/30/2018 5:23 PM, Nimrod Levy wrote: > That's really strange. I never saw those kinds of deadlocks, but I did > notice that if I kept the cpu busy using distributed.net > I could keep the full system lockups away for > at least a week if not longer. > > Not to keep harping on it, but what worked for me was lowering the > memory speed. I'm at 11 days of uptime so far without anything running > the cpu. Before the change it would lock up anywhere from an hour to a day. > Spoke too soon. After a dozen loops, the process has hung again. Note, this is not the box locking up, just the compile. I do have memory at a lower speed too. -- 2133 instead of the default 2400 I also just tried upgrading to the latest HEAD with a generic kernel and same / similar lockups although procstat -kk gives some odd results root@amdtestr12:/home/mdtancsa # procstat -kk 6067 PID TID COMM TDNAME KSTACK 6067 100865 python2.7 - ??+0 ??+0 ??+0 ??+0 ??+0 ??+0 ??+0 ??+0 ??+0 ??+0 6067 100900 python2.7 - ??+0 ??+0 ??+0 ??+0 ??+0 ??+0 ??+0 ??+0 ??+0 ??+0 6067 100901 python2.7 - ??+0 ??+0 ??+0 ??+0 ??+0 ??+0 ??+0 ??+0 ??+0 ??+0 6067 100902 python2.7 - ??+0 ??+0 ??+0 ??+0 ??+0 ??+0 ??+0 ??+0 ??+0 ??+0 6067 100903 python2.7 - ??+0 ??+0 ??+0 ??+0 ??+0 ??+0 ??+0 ??+0 ??+0 ??+0 6067 100904 python2.7 - ??+0 ??+0 ??+0 ??+0 ??+0 ??+0 ??+0 ??+0 ??+0 ??+0 6067 100905 python2.7 - ??+0 ??+0 ??+0 ??+0 ??+0 ??+0 ??+0 ??+0 ??+0 ??+0 6067 100906 python2.7 - ??+0 ??+0 ??+0 ??+0 ??+0 ??+0 ??+0 ??+0 ??+0 ??+0 6067 100907 python2.7 - ??+0 ??+0 ??+0 ??+0 ??+0 ??+0 ??+0 ??+0 ??+0 ??+0 6067 100908 python2.7 - ??+0 ??+0 ??+0 ??+0 ??+0 ??+0 ??+0 ??+0 ??+0 ??+0 6067 100909 python2.7 - ??+0 ??+0 ??+0 ??+0 ??+0 ??+0 ??+0 ??+0 ??+0 ??+0 6067 100910 python2.7 - ??+0 ??+0 ??+0 ??+0 ??+0 ??+0 ??+0 ??+0 ??+0 ??+0 6067 100911 python2.7 - ??+0 ??+0 ??+0 ??+0 ??+0 ??+0 ??+0 ??+0 ??+0 ??+0 root@amdtestr12:/home/mdtancsa # procstat -t 6067 PID TID COMM TDNAME CPU PRI STATE WCHAN 6067 100865 python2.7 - -1 152 sleep usem 6067 100900 python2.7 - -1 152 sleep umtxn 6067 100901 python2.7 - -1 152 sleep umtxn 6067 100902 python2.7 - -1 152 sleep umtxn 6067 100903 python2.7 - -1 152 sleep umtxn 6067 100904 python2.7 - -1 152 sleep umtxn 6067 100905 python2.7 - -1 152 sleep umtxn 6067 100906 python2.7 - -1 152 sleep umtxn 6067 100907 python2.7 - -1 152 sleep umtxn 6067 100908 python2.7 - -1 152 sleep umtxn 6067 100909 python2.7 - -1 152 sleep umtxn 6067 100910 python2.7 - -1 152 sleep umtxn 6067 100911 python2.7 - -1 152 sleep umtxn root@amdtestr12:/home/mdtancsa # -- ------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada