limit zfs arc to 50gb

This commit is contained in:
Leyla Becker 2025-06-22 20:10:25 -05:00
parent 025eaa935a
commit b7cfcfef7d

View file

@ -192,6 +192,9 @@
}; };
}; };
# limit arc usage to 50gb because ollama doesn't play nice with zfs using up all of the memory
boot.kernelParams = ["zfs.zfs_arc_max=53687091200"];
services = { services = {
# TODO: move zfs scrubbing into module # TODO: move zfs scrubbing into module
zfs = { zfs = {
@ -215,6 +218,8 @@
enable = true; enable = true;
exposePort = true; exposePort = true;
acceleration = false;
loadModels = [ loadModels = [
# conversation models # conversation models
"llama3.1:8b" "llama3.1:8b"