From nobody Wed Sep 28 03:13:45 2022 X-Original-To: ppc@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MchR05qPDz4YCBg for ; Wed, 28 Sep 2022 03:13:48 +0000 (UTC) (envelope-from cam@neo-zeon.de) Received: from neo-zeon.de (neo-zeon.de [70.229.12.130]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "*.neo-zeon.de", Issuer "Thawte RSA CA 2018" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MchQz4xKbz3ftd for ; Wed, 28 Sep 2022 03:13:47 +0000 (UTC) (envelope-from cam@neo-zeon.de) Received: from neo-zeon.de (localhost [::1]) by neo-zeon.de (OpenSMTPD) with ESMTP id 9e8a327e for ; Tue, 27 Sep 2022 20:13:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=neo-zeon.de; h= content-type:message-id:date:mime-version:subject:to:references :from:in-reply-to; s=1; bh=IDQxnEcACqE5TPcdx3bsIpNa4wE=; b=yf1GR G9KWLlH4QFVmA1oHpX+uOQ1cVp8igJl0G/qrnWyNPz4y0AmFnJewrE0e6LxsOK8W UylN6mPT/bdu6S7Yei5aQ71NNB1obQuKzNUhqhMCQNxUspBrFX+cculoMx1rYscR ye+y6n+QFWL+JBbubKdjg/RQQ1yIHWAOZAJKts= Received: by neo-zeon.de (OpenSMTPD) with ESMTPSA id 68a4de4b (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for ; Tue, 27 Sep 2022 20:13:45 -0700 (PDT) Content-Type: multipart/alternative; boundary="------------P0rRcuhbX6Sjxqjyup0QR58P" Message-ID: <5fa07e44-b840-7a2d-996c-755b7f0bed7e@neo-zeon.de> Date: Tue, 27 Sep 2022 20:13:45 -0700 List-Id: Porting FreeBSD to the PowerPC List-Archive: https://lists.freebsd.org/archives/freebsd-ppc List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ppc@freebsd.org X-BeenThere: freebsd-ppc@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: bpvo pool exhausted Content-Language: en-US To: ppc@freebsd.org References: <6ddde0d6-03d8-6b54-fb5d-9589e3e5c1e3@neo-zeon.de> From: Cameron Berkenpas In-Reply-To: X-Rspamd-Queue-Id: 4MchQz4xKbz3ftd X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=neo-zeon.de header.s=1 header.b="yf1GR G9"; dmarc=pass (policy=quarantine) header.from=neo-zeon.de; spf=pass (mx1.freebsd.org: domain of cam@neo-zeon.de designates 70.229.12.130 as permitted sender) smtp.mailfrom=cam@neo-zeon.de X-Spamd-Result: default: False [-3.55 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; NEURAL_HAM_SHORT(-0.99)[-0.986]; NEURAL_HAM_LONG(-0.57)[-0.568]; DMARC_POLICY_ALLOW(-0.50)[neo-zeon.de,quarantine]; R_SPF_ALLOW(-0.20)[+mx]; R_DKIM_ALLOW(-0.20)[neo-zeon.de:s=1]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; MLMMJ_DEST(0.00)[ppc@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[neo-zeon.de:+]; RCPT_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:7018, ipnet:70.228.0.0/14, country:US]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_ALL(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[ppc@freebsd.org]; TO_DN_NONE(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-ThisMailContainsUnwantedMimeParts: N This is a multi-part message in MIME format. --------------P0rRcuhbX6Sjxqjyup0QR58P Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Hello, I do not have a way to consistently reproduce this. I was finally able to get through recompiling all of the installed ports before I was able to test this. Should this show up via sysctl? Because it does not: sysctl machdep.moea64_bpvo_pool_size sysctl: unknown oid 'machdep.moea64_bpvo_pool_size' Should I be able to set this in /boot/loader.conf? I did try setting it at boot. I'm not sure it did anything though. Nothing in dmesg. The VM has 12 threads and 16GB of memory running 13.1-RELEASE-p2. Maybe this is a new option in CURRENT? On 9/27/22 11:54, Alfredo Dal'Ava Júnior wrote: > > Hi Cameron, > > In the loader prompt I type: > > set machdep.moea64_bpvo_pool_size=655360 > boot > > How are you testing it? What's the FreeBSD version and how much memory > do you have on it? As reference I tested it on VMs with 64GB of RAM in > the past. > > []'s > Alfredo > > On Tue, Sep 27, 2022 at 2:41 PM Cameron Berkenpas wrote: > > Hello, > > When recompiling my ports, I started getting periodic crashes on a VM > running on POWER9. > > "bpvo pool exhausted". > > The message says to try setting > machdep.moea64_allocated_bpvo_entries, > but this is apparently read-only. I've attached a screenshot of the > stacktrace. > --------------P0rRcuhbX6Sjxqjyup0QR58P Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit Hello,

I do not have a way to consistently reproduce this. I was finally able to get through recompiling all of the installed ports before I was able to test this.

Should this show up via sysctl? Because it does not:
sysctl machdep.moea64_bpvo_pool_size
sysctl: unknown oid 'machdep.moea64_bpvo_pool_size'

Should I be able to set this in /boot/loader.conf?

I did try setting it at boot. I'm not sure it did anything though. Nothing in dmesg.

The VM has 12 threads and 16GB of memory running 13.1-RELEASE-p2.

Maybe this is a new option in CURRENT?

On 9/27/22 11:54, Alfredo Dal'Ava Júnior wrote:

Hi Cameron,

In the loader prompt I type:

set machdep.moea64_bpvo_pool_size=655360
boot

How are you testing it? What's the FreeBSD version and how much memory do you have on it? As reference I tested it on VMs with 64GB of RAM in the past.

[]'s
Alfredo

On Tue, Sep 27, 2022 at 2:41 PM Cameron Berkenpas <cam@neo-zeon.de> wrote:
Hello,

When recompiling my ports, I started getting periodic crashes on a VM
running on POWER9.

"bpvo pool exhausted".

The message says to try setting machdep.moea64_allocated_bpvo_entries,
but this is apparently read-only. I've attached a screenshot of the
stacktrace.

--------------P0rRcuhbX6Sjxqjyup0QR58P--