Date: Sun, 24 Apr 2022 19:58:17 +0200 From: Alexander Leidinger <Alexander@leidinger.net> To: Doug Ambrisko <ambrisko@ambrisko.com> Cc: Mateusz Guzik <mjguzik@gmail.com>, freebsd-current@freebsd.org Subject: Re: nullfs and ZFS issues Message-ID: <20220424195817.Horde.W5ApGT13KmR06W2pKA0COxB@webmail.leidinger.net> In-Reply-To: <20220422090439.Horde.TabULDW9aIeaNLxngZxdvvN@webmail.leidinger.net> References: <Yl31Frx6HyLVl4tE@ambrisko.com> <20220420113944.Horde.5qBL80-ikDLIWDIFVJ4VgzX@webmail.leidinger.net> <YmAy0ZNZv9Cqs7X%2B@ambrisko.com> <20220421083310.Horde.r7YT8777_AvGU_6GO1cC90G@webmail.leidinger.net> <CAGudoHEyCK4kWuJybD4jzCHbGAw46CQkPx_yrPpmRJg3m10sdQ@mail.gmail.com> <20220421154402.Horde.I6m2Om_fxqMtDMUqpiZAxtP@webmail.leidinger.net> <YmGIiwQen0Fq6lRN@ambrisko.com> <20220422090439.Horde.TabULDW9aIeaNLxngZxdvvN@webmail.leidinger.net>
next in thread | previous in thread | raw e-mail | index | archive | help
This message is in MIME format and has been PGP signed. --=_gIG_MBnt3QHSkVWyF6an8Jh Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Quoting Alexander Leidinger <Alexander@leidinger.net> (from Fri, 22=20=20 Apr=202022 09:04:39 +0200): > Quoting Doug Ambrisko <ambrisko@ambrisko.com> (from Thu, 21 Apr 2022=20= =20 >=2009:38:35 -0700): >> I've attached mount.patch that when doing mount -v should >> show the vnode usage per filesystem. Note that the problem I was >> running into was after some operations arc_prune and arc_evict would >> consume 100% of 2 cores and make ZFS really slow. If you are not >> running into that issue then nocache etc. shouldn't be needed. > > I don't run into this issue, but I have a huge perf difference when=20=20 >=20using nocache in the nightly periodic runs. 4h instead of 12-24h (22=20= =20 >=20jails on this system). > >> On my laptop I set ARC to 1G since I don't use swap and in the past >> ARC would consume to much memory and things would die. When the >> nullfs holds a bunch of vnodes then ZFS couldn't release them. >> >> FYI, on my laptop with nocache and limited vnodes I haven't run >> into this problem. I haven't tried the patch to let ZFS free >> it's and nullfs vnodes on my laptop. I have only tried it via > > I have this patch and your mount patch installed now, without=20=20 >=20nocache and reduced arc reclaim settings (100, 1). I will check the=20= =20 >=20runtime for the next 2 days. 9-10h runtime with the above settings (compared to 4h with nocache and=20= =20 12-24h=20without any patch and without nocache). I changed the sysctls back to the defaults and will see in the next=20=20 run=20(in 7h) what the result is with just the patches. Bye, Alexander. --=20 http://www.Leidinger.net=20Alexander@Leidinger.net: PGP 0x8F31830F9F2772BF http://www.FreeBSD.org netchild@FreeBSD.org : PGP 0x8F31830F9F2772BF --=_gIG_MBnt3QHSkVWyF6an8Jh Content-Type: application/pgp-signature Content-Description: Digitale PGP-Signatur Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIzBAABCAAdFiEER9UlYXp1PSd08nWXEg2wmwP42IYFAmJlj7kACgkQEg2wmwP4 2IbzBg/9F2s+3OP2ZpEVFg7ACQjZLCGef7NXz4viI68s0ZMvn1zEk7rW5HI7tAOZ 2XpvuuWhxWoF1ChDKSiJR7C2ddTmOieZkfQbNF2Au/pyYZ9pooKcFoO1hHCvEwD8 WbwbhNx0z/MnZfCcUJ3kidFEzlk/jKDxDNwsNM2aXr2sPJ1UjtclQhaCMp+3pRHW 95PNO2XQBsTSDPmZJF8xc0T5ehQzD1x+27b/kBN6QjNi/xC9MhXKPP4OrVZYxT6g WFWBgLP2M5P1oJigPZ11sarp7Ss0L5pOwEfscUqNymKqjE1CmiKgt6qAP9Ndv4rV IeTBMx3Hpm17UgFPcxciy86n3Q9EIZk0YeT3P/S09D5B5LJIyv+dGiY7J/Xl6GWm 0mjl2exAtrOc0JpWoUiO+A92dpTrZjSOHH76lyU/CMTye9vCQevxYbRZ9bcXVrll 5c5V/ybzTh3sKn2FVS3GuKVs5aVDtmCtj3gGHrSSFTeAv4LiiQ+O18812OaLoNvk j89+YbtsxCVOlN5Xlk0R7+ZTnc8FjSIUJWtBhIpCT9HZKqerBaH7xrAF/4W2MjpL 0ty3qAb5KBbYQMmIuFjI3hjPwA1cypqKLnv89ZggONbuPic1iuyiI0lzZOZH8WRj BjRF/yFW4FCfXNLdIhtDzUnvh2QrJRbHDtDAl0IFkYlCh9pyD/U= =jC0g -----END PGP SIGNATURE----- --=_gIG_MBnt3QHSkVWyF6an8Jh--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20220424195817.Horde.W5ApGT13KmR06W2pKA0COxB>