From nobody Wed Oct 09 15:32:00 2024 X-Original-To: freebsd-stable@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 4XNxhV57NRz5Yfqm for ; Wed, 09 Oct 2024 15:32:10 +0000 (UTC) (envelope-from hlh@restart.be) Received: from tignes.restart.be (tignes.restart.be [37.187.123.11]) (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 "tignes.restart.be", Issuer "CA master" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XNxhT3v3hz4r81 for ; Wed, 9 Oct 2024 15:32:09 +0000 (UTC) (envelope-from hlh@restart.be) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=restart.be header.s=tignes header.b=TPVS1V0H; spf=pass (mx1.freebsd.org: domain of hlh@restart.be designates 37.187.123.11 as permitted sender) smtp.mailfrom=hlh@restart.be; dmarc=pass (policy=none) header.from=restart.be DKIM-Filter: OpenDKIM Filter v2.10.3 tignes.restart.be 4XNxhK43rDz46 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=restart.be; s=tignes; t=1728487921; bh=eQRloNemloyoVOIIFWpo9O2s9oXapGzCtcGjYW0IdVo=; h=Date:Subject:From:To:References:In-Reply-To; z=Date:=20Wed,=209=20Oct=202024=2017:32:00=20+0200|Subject:=20Re:=2 014.1-STABLE=20-=20zfs-2.2.6=20sluggish=20on=20arm64=20and=20arc_p rune=20at=2099%=0D=0A=20during=20poudriere|From:=20Henri=20Hennebe rt=20|To:=20FreeBSD-STABLE=20Mailing=20List=20|References:=20<0be81d87-3e37-4f9a-b87d-a4 4e915c49bb@restart.be>|In-Reply-To:=20<0be81d87-3e37-4f9a-b87d-a44 e915c49bb@restart.be>; b=TPVS1V0HNCpcBlKrBNcXZoKD/Efh3jaZkl1ZTyW5aj1DZwJAy2fGKzI4v8oyNQgy5 Fea43mgmrVjLI1/ht1ENVM4/qrgcg18IRMwv6Y5cWaZSjLQASl4NxW478HyEOSrKcm zuY8Mlat1a79o6GoJ14uCtn/r+NElb9retab30q+E+/CiHLBDeDlSv4Zc4VMIGhtiA IUfZ7HRf8KRY3yWz4ARCY67bB3VsLK/a7ajua+34s6MoCOqQfyECCM2m2BIiAYgXbJ LUJ/tzy0l5R5SAEe3af7udechIoRNr2LsYx4vThZBrldojYwovZLao+Ul5frVn1V+y ytRl9u7KuL+dA== Received: from restart.be (norquay.tunnel.bel [192.168.25.127]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.restart.be", Issuer "CA master" (verified OK)) by tignes.restart.be (Postfix) with ESMTPS id 4XNxhK43rDz46 for ; Wed, 09 Oct 2024 17:32:01 +0200 (CEST) Received: from morzine.restart.be (morzine.restart.be [IPv6:2001:41d0:a:f40b:1:1:0:1]) (authenticated bits=0) by restart.be (8.18.1/8.18.1) with ESMTPSA id 499FW0EN064427 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=OK) for ; Wed, 9 Oct 2024 17:32:01 +0200 (CEST) (envelope-from hlh@restart.be) Message-ID: Date: Wed, 9 Oct 2024 17:32:00 +0200 List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-stable@freebsd.org Sender: owner-freebsd-stable@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: 14.1-STABLE - zfs-2.2.6 sluggish on arm64 and arc_prune at 99% during poudriere From: Henri Hennebert To: FreeBSD-STABLE Mailing List References: <0be81d87-3e37-4f9a-b87d-a44e915c49bb@restart.be> Content-Language: en-US In-Reply-To: <0be81d87-3e37-4f9a-b87d-a44e915c49bb@restart.be> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Result: default: False [-3.99 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-0.999]; DMARC_POLICY_ALLOW(-0.50)[restart.be,none]; R_DKIM_ALLOW(-0.20)[restart.be:s=tignes]; R_SPF_ALLOW(-0.20)[+ip4:37.187.123.11/32]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:16276, ipnet:37.187.0.0/16, country:FR]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_ALL(0.00)[]; TO_DN_ALL(0.00)[]; ARC_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MLMMJ_DEST(0.00)[freebsd-stable@freebsd.org]; DKIM_TRACE(0.00)[restart.be:+] X-Rspamd-Queue-Id: 4XNxhT3v3hz4r81 X-Spamd-Bar: --- Previously I set vfs.zfs.arc_max="512M" in /boot/loader.conf.local when I set it to 1024M all seems working really better. So for zfs-2.2.6 a too small arc is really a bad idea. So shame on me ... Henri On 10/4/24 17:24, Henri Hennebert wrote: > Hello, > > Since I upgrade my rockpro64 to > > FreeBSD keystone.lab.bel 14.1-STABLE FreeBSD 14.1-STABLE #0 stable/14- > n268744-79c34d704f31: Sun Sep 29 13:38:10 CEST 2024 root@keystone.lab.bel:/usr/ > obj/usr/src/arm64.aarch64/sys/GENERIC arm64 > > when I start > > cpuset -c -l 4-5 poudriere bulk -j 14aarch64 -z pine64 -f /usr/local/poudriere/ > pine64-pkglst > > everything is running at least 2 to 3 times slower than under > > FreeBSD 14.1-STABLE #0 stable/14-n267830-339b47f01985 > > Some build repeatedly fail with eg : > > pkg-static: Fail to chmod /afm/public/nanumtype1/nanummjbd7.afm:Bad file descriptor > > previously this fail was rather uncommon. > > Moreover at soon as poudriere bulk start top -SH show: > > last pid: 79185;  load averages:  3.53,  3.72,  3.85 > up 5+01:17:19  17:14:19 > 502 threads:   13 running, 463 sleeping, 26 waiting > CPU:  0.1% user,  0.2% nice, 38.8% system,  0.1% interrupt, 60.9% idle > Mem: 77M Active, 422M Inact, 4112K Laundry, 1318M Wired, 1987M Free > ARC: 676M Total, 284M MFU, 66M MRU, 11M Anon, 14M Header, 301M Other >      69M Compressed, 294M Uncompressed, 4.25:1 Ratio > Swap: 8192M Total, 35M Used, 8157M Free > >   PID USERNAME    PRI NICE   SIZE    RES STATE    C   TIME    WCPU COMMAND >     0 root         -8    -     0B  2432K CPU1     1  96.8H  99.61% > kernel{arc_prune} >    11 root        187 ki31     0B    96K RUN      0  98.0H  98.76% idle{idle: > cpu0} >    11 root        187 ki31     0B    96K RUN      1  94.6H  97.63% idle{idle: > cpu1} > 26388 root        135    4   110M    78M CPU5     5  82:53  94.30% bsdtar >    11 root        187 ki31     0B    96K RUN      3  91.9H  79.92% idle{idle: > cpu3} >    11 root        187 ki31     0B    96K RUN      2  98.8H  61.87% idle{idle: > cpu2} >    11 root        187 ki31     0B    96K RUN      5  26.5H  27.09% idle{idle: > cpu5} > ...... > > arc_prone running at 99% on one of the CPU all the time, note that 1987M Free. > > Does anyone encounter this sort of problems? > > Thanks for your time > > Henri > > >