From owner-freebsd-current@freebsd.org Sat Apr 7 19:49:41 2018 Return-Path: Delivered-To: freebsd-current@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 B9C61FA2872 for ; Sat, 7 Apr 2018 19:49:41 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: from mail-it0-x22c.google.com (mail-it0-x22c.google.com [IPv6:2607:f8b0:4001:c0b::22c]) (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 44BE76B7B0 for ; Sat, 7 Apr 2018 19:49:41 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: by mail-it0-x22c.google.com with SMTP id t192-v6so8062494itc.1 for ; Sat, 07 Apr 2018 12:49:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=uygCfVVjIKOE03PFVDPt36gOVvACGxdsoTQnFek9Ues=; b=ahN1SvMB2eDtw0pckyKeJo76MyKKdOXQfP3K2XFWkJJpX8PqVpeQ5mvlWTcb9RJBSh 2i7iUfljXlA6PxgbE22qU7bc5TucBBB1KTvnEgjX6ZPd/+GoGWv/+Sm7vsq3dWcMpV60 588PunaH1PQ9roX5JHV299MZVc/ISTcHrlu7nudj3fCec8k3GmIJayJGR+wLzZZB1sVl PL8iAzzqEyotTmgb59jv6LAbW6Bh6a6yhDP6O4KBk31b6yEXdRinxajuXPQR95A2NCPk lxHvQXs3Qa4j3NHbj/WX50XD0TkKAw91g4Kl/Q+5BjycjGDT5nulfaddAXER9QvTFduW EZwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=uygCfVVjIKOE03PFVDPt36gOVvACGxdsoTQnFek9Ues=; b=kPE2ztIlZjvnAX0Ai0U0BbfzUseDcKJVAkEb3HPnKnS+eCCKU9d+phwGFYlK9wlIHy fVDhWcXsg3+f4QRMvVf4wQpC/gUG/+XqhddofcITtoaAKE6ghKiDGFAGOKj9DY+aKv/V d7KrXo/H7jb9g7mhX1agPlGQYZr8Zo30bkQ1FJJYHO0Fi0xUUZVM/O6L2NWTYEZ8fH6z 6EfHOKR7wPIsTdTEmQ7BRjETBJktmJ0Fiztm0MpzTYmWATfeoP3Ez4RhoByYDAh82XsX 87Z8fiY3Ss9fOlPaBNvNW0UWiQID9KYtJNB6NTII3rszR8tSytUO2OzJ+ggkORRYtOih vtuw== X-Gm-Message-State: AElRT7F/Uwy8rPoLE2lzL0qackRVLtZJHNDtHgMsSLccGSLfmY/q6bo8 QfS6KheZVoB92WhRJtQhrA8= X-Google-Smtp-Source: AIpwx48lYYjk5Y/mpuprWZfSeLIkHT7JCjliFhpuYq1ACn0CF2L889G7aVOA/2amWxjYrTv/0cmsbw== X-Received: by 2002:a24:7904:: with SMTP id z4-v6mr22403061itc.63.1523130580603; Sat, 07 Apr 2018 12:49:40 -0700 (PDT) Received: from raichu (toroon0560w-lp130-04-184-145-252-74.dsl.bell.ca. [184.145.252.74]) by smtp.gmail.com with ESMTPSA id k199-v6sm7500019itb.35.2018.04.07.12.49.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 07 Apr 2018 12:49:39 -0700 (PDT) Sender: Mark Johnston Date: Sat, 7 Apr 2018 15:49:35 -0400 From: Mark Johnston To: Justin Hibbits Cc: Jeff Roberson , FreeBSD current Subject: Re: Strange ARC/Swap/CPU on yesterday's -CURRENT Message-ID: <20180407194935.GA491@raichu> References: <1fd2b47b-b559-69f8-7e39-665f0f599c8f@FreeBSD.org> <20180404174949.GA12271@raichu> <20180406150814.GB10017@raichu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Apr 2018 19:49:42 -0000 On Sat, Apr 07, 2018 at 02:34:54PM -0500, Justin Hibbits wrote: > On Fri, Apr 6, 2018 at 10:25 AM, Justin Hibbits wrote: > > On Fri, Apr 6, 2018 at 10:08 AM, Mark Johnston wrote: > >> On Fri, Apr 06, 2018 at 12:47:14AM +0000, Justin Hibbits wrote: > >>> My powerpc64 embedded machine is virtually unusable since these vm changes. > >>> I tried setting vfs.zfs.arc_free_target as suggested, and that didn't help > >>> at all. Eventually the machine hangs and just gets stuck in vmdaemon, with > >>> many processes in wait channel btalloc. > >> > >> You don't really have the same symptoms that Don is reporting. > > > > Okay. I latched onto the thread because it seemed similar. > > > >> Threads being stuck in btalloc implies a KVA shortage. So: > >> - What do you mean by "stuck in vmdaemon"? > > > > The machine hangs, and my ssh sessions get killed. I can't do > > anything at the console except break into kdb. When I do, the running > > thread is always vmdaemon. > > > >> - Which commits specifically cause problems? Does reverting r329882 fix the > >> hang? > > > > I'll try reverting it and report back. Thankfully I can buildkernel > > successfully on the machine before it hangs. Can't do more than that, > > though. > > I reverted back to r329881, and successfully built world. Updated to > r329882 and it got stuck with processes in btalloc. > > I've seen other reports of r329882 causing problems on powerpc64 as > well, with other bizarre behaviors. Did you try the patch that I had posted? If not, could you? Please also update zfs_arc_free_target or just apply D14994.