[Bug 229986] Terminating virtualbox or ctld + zfs scrub + gstat leads to deadlock

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Jul 24 16:35:00 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229986

--- Comment #5 from Martin Birgmeier <d8zNeCFG at aon.at> ---
I have one more question, being no expert in things kernel: As far as I
understand, there are some consumers which compete for real memory, amongst
them certainly running processes themselves, the unified buffer cache, ZFS ARC
(not unified if I understand correctly), and processes with special demands
like VirtualBox which wire real memory.

Shouldn't there be a central arbiter which apportions this real memory
according to needs? It's certainly leading nowhere if every consumer computes
their own view of memory needs which ultimately don't fit together, leading for
example to the ARC consuming so much memory that other consumers need to start
swapping, or worse, that the ARC itself is being swapped out (I guess this
cannot really happen).

I'd really like to be enlightened to how this area of the kernel works.

-- Martin

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list