From owner-freebsd-current@freebsd.org Sat Apr 7 19:34:57 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 9A235FA174A for ; Sat, 7 Apr 2018 19:34:57 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: from mail-lf0-x231.google.com (mail-lf0-x231.google.com [IPv6:2a00:1450:4010:c07::231]) (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 0B1F0831BF; Sat, 7 Apr 2018 19:34:57 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: by mail-lf0-x231.google.com with SMTP id c78-v6so4834948lfh.1; Sat, 07 Apr 2018 12:34:56 -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=GumACvN/9yhJkt0OqH0HCk4Mkwzb4nSBaUXpo2KiPu0=; b=Us5luo95XEn8uwB0PD7Ti4njYznPpzUsjLX5dzm6DOcj3dxISG2Xk1n7/RhiWmZsnT DVayzxAXHqICagHN3c6IKP3W5Qb/zxfHm0HI17pkNv+JqojwzoPPznkaowCMONhw5a9V lmQSh3aLWgwYiQ/pZSow2YM69sOiQp/Gjz8pzI0JhljX5QN+jsjSUCeZeoRmdovra8tp EvOOYQa17xZmWbQqZEc8Jj1ohme7Zg/QFpJAIPFCLYVc/6ALrgVMPfhmtJjtorD2pyFV SstF7+Ms8s0cKMszbzYE+qtnWwjMO/jJjKxf7Ny2iZq63geUiSYqWDZseHek8Ha+bDSB xtog== 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=GumACvN/9yhJkt0OqH0HCk4Mkwzb4nSBaUXpo2KiPu0=; b=mRG1UbutYHafKRblYDA1FvbJwGSOG92Z+8iToJ7x5vDRtrH9dbRytIGaaUz0Jtysr0 xUQ3AirCuGJNq9LV8UjpZMFC38NULihqeonoLD4h22Wc9lLPErSKoV3yiq7a2v64UiFY tYb3Zqk4cCgZInWz8AP110raYx6CSWskrUkHLS0OPzs3pWg7blNWhjg6rHs2Brnz3pez /KK4otfFv9lWqnb/Euda+bnfsERuZNZRAGTEsZXGjJPa1gQSx6l72DzhRTXKgkRsCQWz LNfoiIBGJNNgYoo3E7jzqKkfTo1CuVd5P5gnQ/mljbSnLDpiTllw41glIH6d1L5zFIEn qiWA== X-Gm-Message-State: ALQs6tArpZXBUPDfcKRrIkHBTNzH9iAM1b4p0kXn7Jp9Myp6tYFw2Ae/ kjKD+U3p3rfwx8Wy3hTr/ykKUgVoqvuLgDrh9lE= X-Google-Smtp-Source: AIpwx4+U622zV1HYZJTQFqinEjHgZvrIMW6vU2eXXOX/LeO6tCpWOeprKraQ2GOqgzednIO3YrSEOyaLfA5BUEqQb/g= X-Received: by 10.46.154.70 with SMTP id k6mr19108722ljj.63.1523129695261; Sat, 07 Apr 2018 12:34:55 -0700 (PDT) MIME-Version: 1.0 Received: by 10.46.85.13 with HTTP; Sat, 7 Apr 2018 12:34:54 -0700 (PDT) In-Reply-To: References: <20180320070745.GA12880@server.rulingia.com> <2b3db2af-03c7-65ff-25e7-425cfd8815b6@FreeBSD.org> <1fd2b47b-b559-69f8-7e39-665f0f599c8f@FreeBSD.org> <20180404174949.GA12271@raichu> <20180406150814.GB10017@raichu> From: Justin Hibbits Date: Sat, 7 Apr 2018 14:34:54 -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: Sat, 07 Apr 2018 19:34:57 -0000 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. - Justin