NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: zfs pool behavior - is it ever freed?



On Sat, Jul 29, 2023 at 12:42:13PM +0200, Tobias Nygren wrote:
> On Fri, 28 Jul 2023 20:04:56 -0400
> Greg Troxel <gdt%lexort.com@localhost> wrote:
> 
> > The upstream code tries to find a min/target/max under the assumption
> > that there is a mechanism to free memory under pressure -- which there
> > is not.
> 
> There exists ZFS code which hooks into UVM to drain memory -- but part
> of it is ifdef __i386 for some reason. See arc_kmem_reap_now().

FWIW, with jemalloc, there is the possibility to configure to give back
memory to the system.

Since jemalloc is incorporated in NetBSD, one(TM) should perhaps look if
the feature is available and what has to be done in this area to use
it. (If you skim through the documentation, you will end up knowing at
least as much as I do; i.e.: this is from a superficial knowledge.)
-- 
        Thierry Laronde <tlaronde +AT+ polynum +dot+ com>
                     http://www.kergis.com/
                    http://kertex.kergis.com/
Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C


Home | Main Index | Thread Index | Old Index