From owner-freebsd-current@freebsd.org Sun Apr 8 14:37:16 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 8E80AF862EA for ; Sun, 8 Apr 2018 14:37:16 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: from mail-wr0-x22a.google.com (mail-wr0-x22a.google.com [IPv6:2a00:1450:400c:c0c::22a]) (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 ED7016C460; Sun, 8 Apr 2018 14:37:15 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: by mail-wr0-x22a.google.com with SMTP id s18so5901487wrg.9; Sun, 08 Apr 2018 07:37:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=UNf+WHAuEHJhxfwk11tbxyDSmyNmt4lQTGRSVStW3XA=; b=a8+BL4tyIg35a7ftKyOtgZ5P3nbzRN2XmvVPKjvG1niZZhfbl/FlcAqdlyV28cSAPh hNv8eKKKnuwxJGeXTUgHqBbDLM6Vo3d7p2em8Qz+feA2F7y1toHfrTQsRowDybG94hcB Nr11JRSV8v+O8ksrC21U8MfbG4XJwm99YxKTn8uYTeQAWivQeEKzcWepcwwT48vemmh7 jIyvqXMdLFb/B6WKrg04J281NBbiDU6YPMX/MoucKFkbJwIyfmdmMg3v8XA08R8gstgd 0l0JPxhlCxOIF11McwxdM91TERFBvAl7qL0rqKYlbNLRvPx/maLCi0iEgYpKdoBSQmSg HQ6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=UNf+WHAuEHJhxfwk11tbxyDSmyNmt4lQTGRSVStW3XA=; b=JspLyS65+zqxueOSw3OM8bULZxkiRrHcX/qoy5kiWfD8jAQzD4lbAmos/D0dh/hZCf Ss8v7TIHQaxpqR9m1r6R3dleypbPAcp2Wqajr6Dyhg4/S/i9udVqKGo3rlO/UhG/heBe l43iNwTc9Y0/D9I0VsgAXflPgTDvNi47KOGhOM/n4diuXw57EB0GDFB4ZrsJHhqxcytR 72EkAkC/jwoqTLWM5LguY91RZrDsdCuuRTxcQfNQHaj0Fwwa8Kwgptqk7vse0X2DPm88 Wc7iP2t5HuYpZoYVCrMXqXs7PPXsYS/AQBT9fhmtLbWCyZQU4Rgmat3pZz/T2OF7X5I3 e9hg== X-Gm-Message-State: ALQs6tB1RLhNyGpBCUgDEbtMosOCKLpUM9VpBSi32pYd9h1Y6t4VzTDV RjtJmh4a3k1cidfTwPKKRCdEub5t+7yQNxpp2kRuRw== X-Google-Smtp-Source: AIpwx4/nsXliMwDQ0zk/dkfM2V/zGcP3JiUCpLTkZgJAtpiY118beNreNEsQA3/vkTV8o57IQeFmegZn/i1bUlrEUOY= X-Received: by 2002:a19:b2d1:: with SMTP id t78-v6mr20785870lfk.78.1523198234240; Sun, 08 Apr 2018 07:37:14 -0700 (PDT) MIME-Version: 1.0 Received: by 10.46.150.194 with HTTP; Sun, 8 Apr 2018 07:37:12 -0700 (PDT) In-Reply-To: <20180407194935.GA491@raichu> References: <1fd2b47b-b559-69f8-7e39-665f0f599c8f@FreeBSD.org> <20180404174949.GA12271@raichu> <20180406150814.GB10017@raichu> <20180407194935.GA491@raichu> From: Justin Hibbits Date: Sun, 8 Apr 2018 09:37:12 -0500 Message-ID: Subject: Re: Strange ARC/Swap/CPU on yesterday's -CURRENT To: Mark Johnston Cc: Jeff Roberson , FreeBSD current Content-Type: text/plain; charset="UTF-8" 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: Sun, 08 Apr 2018 14:37:16 -0000 Hi Mark, On Sat, Apr 7, 2018 at 2:49 PM, Mark Johnston wrote: > On Sat, Apr 07, 2018 at 02:34:54PM -0500, Justin Hibbits wrote: >> >> 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. I just applied both patches, and head still locks up, but no threads are stuck in btalloc. The thread running when I break into ddb is still vmdaemon. Running 'show all vmem' on ddb shows it pretty low on kernel arena: vmem 0xe000000001202900 'buffer arena' quantum: 4096 size: 775913472 inuse: 152928256 free: 622985216 busy tags: 4668 free tags: 4 inuse size free size 16384 2 32768 0 0 32768 4666 152895488 1 32768 536870912 0 0 1 622952448 vmem 0xe000000005017000 'kernel arena dom' quantum: 4096 size: 775946240 inuse: 772923392 free: 3022848 busy tags: 144749 free tags: 3 inuse size free size 4096 141305 578785280 0 0 8192 243 1990656 0 0 16384 2081 34095104 0 0 20480 290 5939200 0 0 32768 113 3702784 0 0 36864 61 2248704 0 0 65536 80 5242880 0 0 69632 2 139264 1 69632 77824 1 77824 0 0 81920 1 81920 0 0 86016 1 86016 0 0 90112 2 180224 0 0 94208 2 188416 0 0 98304 1 98304 0 0 102400 1 102400 0 0 110592 1 110592 0 0 118784 1 118784 0 0 122880 1 122880 0 0 131072 545 71434240 0 0 262144 2 524288 9 2428928 524288 4 2154496 1 524288 1048576 6 6995968 0 0 2097152 1 2097152 0 0 4194304 1 4194304 0 0 8388608 1 8388608 0 0 16777216 2 43823104 0 0 vmem 0xe000000001202180 'kernel arena' quantum: 4096 size: 2353004544 inuse: 2351603712 free: 1400832 busy tags: 600 free tags: 4 inuse size free size 4096 3 12288 1 4096 24576 0 0 2 49152 28672 0 0 1 28672 36864 415 15298560 1 36864 65536 1 65536 0 0 131072 1 131072 0 0 1048576 0 0 1 1282048 4194304 172 721420288 0 0 8388608 1 8388608 0 0 16777216 2 46137344 0 0 134217728 3 453386240 0 0 268435456 1 297295872 0 0 536870912 1 809467904 0 0 Any other numbers I can gather to debug this? - Justin