On 2/20/2019 3:14 AM, Eugene Grosbein wrote: > 20.02.2019 3:49, Mike Tancsa wrote: > >> On 2/19/2019 2:35 PM, Mike Tancsa wrote: >>> dd if=/dev/zero of=/tanker/test bs=1m count=100000 >> The box has 32G of RAM. If I do a >> >> # sysctl -w vfs.zfs.arc_max=12224866304 >> vfs.zfs.arc_max: 32224866304 -> 12224866304 >> # >> >> after WIRED memory is at 29G, it doesnt immediately reclaim it and there >> is memory pressure. Booting the box with >> vfs.zfs.arc_max=12224866304 >> keeps WIRED at 15G > Can you repeat your test with additional vm.v_free_min=131072 (512M) or > 262144 (1G)? > For me, it makes kernel reclaim unused UMA memory quickly: > first it goes from WIREE to FREE for a moment, then re-used as needed.
# sysctl -w vm.v_free_min=131072 vm.v_free_min: 51301 -> 131072 # Keeping it at 1G seems to make things more smooth and stable and programs are not being swapped out! > > -- ------------------- Mike Tancsa, tel +1 519 651 3400 x203 Sentex Communications, m...@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada _______________________________________________ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"