NetBSD-Users archive

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

Re: Is it only me or is the ZFS memory usage for desktop computers uncomfortable?





On 11/4/26 12:17, Greg Troxel wrote:
More or less, the ZFS philosophy is that it's better to use RAM for
caching than not to use it.   When ZFS ARC and memory management works
the way it is designed -- and I think in 11 it does -- then when there
is memory pressure the cache shrinks.

This doesn't seem to be working with NetBSD 11:

https://horse64.org/temp/memtest.png

See how one memtest takes 10G, and the one launched after in the bottom left terminal merely gets scraps. It's not possible to allocate much more after that, some programs quit soon after due to alloc fails.

Even if it did work, this can prevent large programs from launching so I think for a desktop it's not a good default. Or would it not do that? Sorry if I'm misunderstanding how this should work.

Regards,

Ellie


Home | Main Index | Thread Index | Old Index