From owner-svn-src-all@freebsd.org Fri Feb 15 18:09:00 2019 Return-Path: Delivered-To: svn-src-all@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 8189B14E3451; Fri, 15 Feb 2019 18:09:00 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: from mail-it1-x129.google.com (mail-it1-x129.google.com [IPv6:2607:f8b0:4864:20::129]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 04DEE753CE; Fri, 15 Feb 2019 18:09:00 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: by mail-it1-x129.google.com with SMTP id y184so26246280itc.1; Fri, 15 Feb 2019 10:09:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=JUIhCBDCDBqvD++dv5eOjxWyfNTPf2M5AWSpuhSoU/I=; b=d96nC2tsqp8aUG75OMu3RkZy5wU1EazXHcgjgE4BbESGFWcSCdJhOwziYnwlg9dycP hNT/4/xxGRhbXkoUoLSbFHcg9ZMaEZiEIBpUnLQjF4UfmR0m7exivcsWhA5dacaBdBAH Q+jF/knFk1Q5BA9t3hdTtjCf6NXLempEdd8NZVdnmpN0GDCjTJ6fxtYRMq69t/ltJtqD wOxCDQFT1uKALaXIg6yf76cvciBkWqwGQprfnd2S8vksAOXiHgRKBehRSby06JY2oZ3h GNa5cf+Tuq/rSiLIATWnNu6cXgVilBUPf0xpbLwG/pfvEuzDhIckRF/gR9s8lI8AANTH COEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=JUIhCBDCDBqvD++dv5eOjxWyfNTPf2M5AWSpuhSoU/I=; b=kLncyNZACoM3Z2p7zjVAvlv0Od4OmvtItvE1ClGc9GNyr6kwDli5uvT538DrvW1UVs AZic3WbxUwSOq1bNQNI43AosY54lNrXTNTfE+3OjbfwOxIs0hf5E7sQEZB5eU/nErlpp ZgDYJVYkNFhJXOu2hnb6cUrX9nTNjvmreNzbLepLydXRICGgKj4tJdTpDbTZfNTmLuA7 E2bRwZijdDfRx+9kWIxvASnTOyFFDe8DfM2+iZvobHd8l8kA424pPSrRC5SmSbMNmIt9 nDLsTwb+k9WN0Al17W5IYbx77m1oXDaoyinsBQLK8HoPtmAK579kRQv2tU/jMT+OW3ww dOBA== X-Gm-Message-State: AHQUAuYy04QLfFhMAe7zUMNBWU+4LIDGKVjV+lQQVOSRddZpZ5YNnh9g 17pui1yWIk77+fKzyxB4YvLNIBil X-Google-Smtp-Source: AHgI3IYTBQiTnLq+WFTnKrWxy152WMvVXnWogAW7xwMWzX9hO6MXXnemV6BvxbwGupNFNwo8CGeoig== X-Received: by 2002:a6b:760d:: with SMTP id g13mr1255694iom.273.1550254138639; Fri, 15 Feb 2019 10:08:58 -0800 (PST) Received: from ralga.knownspace (173-25-245-129.client.mchsi.com. [173.25.245.129]) by smtp.gmail.com with ESMTPSA id n4sm2926246iog.36.2019.02.15.10.08.57 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 15 Feb 2019 10:08:58 -0800 (PST) Date: Fri, 15 Feb 2019 12:08:54 -0600 From: Justin Hibbits To: Gleb Smirnoff Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r343030 - in head/sys: cam conf dev/md dev/nvme fs/fuse fs/nfsclient fs/smbfs kern sys ufs/ffs vm Message-ID: <20190215120854.15545f1d@ralga.knownspace> In-Reply-To: <20190214233410.GJ83215@FreeBSD.org> References: <201901150102.x0F12Hlt025856@repo.freebsd.org> <20190213192450.32343d6a@ralga.knownspace> <20190214233410.GJ83215@FreeBSD.org> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; powerpc64-portbld-freebsd13.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 04DEE753CE X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.97 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[]; NEURAL_HAM_SHORT(-0.97)[-0.969,0] X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Feb 2019 18:09:00 -0000 On Thu, 14 Feb 2019 15:34:10 -0800 Gleb Smirnoff wrote: > Hi Justin, > > On Wed, Feb 13, 2019 at 07:24:50PM -0600, Justin Hibbits wrote: > J> This seems to break 32-bit platforms, or at least 32-bit book-e > J> powerpc, which has a limited KVA space (~500MB). It preallocates > J> I've seen over 2500 pbufs, at 128kB each, eating up over 300MB KVA, > J> leaving very little left for the rest of runtime. > J> > J> I spent a couple hours earlier today debugging with Mark Johnston, > J> and his consensus is that the vnode_pbuf_zone is too big on 32-bit > J> platforms. Unfortunately I know very little about this area, so > J> can't provide much extra insight, but can readily reproduce the > J> issues I see triggered by this change, so am willing to help where > J> I can. > > Ok, let's roll back to old default on 32-bit platforms and somewhat > reduce the default on 64-bits. > > Can you please confirm that the patch attached works for you? > Hi Gleb, Thanks for the patch. I've built and installed. My machine boots up fine, and I dropped to ddb to check vmem. Results are as follows: r343029: kernel arena domain: size: 67108864 inuse: 66482176 free: 62668 kernel arena: size: 624951296 inuse: 579207168 free: 45744128 r344123 with your patch: kernel arena domain: size: 71303168 inuse: 68153344 free: 3149824 kernel arena: 645922816 inuse: 632369152 free: 13553664 I've kicked off a buildworld+buildkernel to see how it survives. This machine has 8GB RAM and 4GB swap, if that has any impact. - Justin