Hi,
since i couldn't find any useful information on SmartOS Kernel RAM usage i thought maybe you can help me. I'm running multiple SmartOS installations with different amounts of RAM installed. I have recognized two things and i watend to ask you if that is the desired behaviour: - the initial Kernel RAM usage is dependent of the total installed RAM - if the Kernel can get more RAM (if there is some free RAM) the amount of used RAM is growing over time -> if more RAM is needed to start a VM the kernel doesn't shrink Some examples: ### Host with 512 GB RAM Page Summary Pages MB %Tot ------------ ---------------- ---------------- ---- Kernel 16965684 66272 13% Boot pages 136438 532 0% ZFS File Data 65823215 257121 49% Anon 31544012 123218 24% Exec and libs 15307 59 0% Page cache 44893 175 0% Free (cachelist) 22553 88 0% Free (freelist) 19636397 76704 15% Total 134188499 524173 Physical 134188498 524173 ### ### Host with 256 GB RAM Page Summary Pages MB %Tot ------------ ---------------- ---------------- ---- Kernel 7156049 27953 21% Boot pages 136438 532 0% ZFS File Data 7520530 29377 22% Anon 17772781 69424 53% Exec and libs 15099 58 0% Page cache 15919 62 0% Free (cachelist) 7354 28 0% Free (freelist) 899632 3514 3% Total 33523802 130952 Physical 33523801 130952 ### ### Host with 64 GB RAM Page Summary Pages MB %Tot ------------ ---------------- ---------------- ---- Kernel 1877271 7333 11% Boot pages 136438 532 1% ZFS File Data 1395483 5451 8% Anon 12907920 50421 77% Exec and libs 8467 33 0% Page cache 15478 60 0% Free (cachelist) 15815 61 0% Free (freelist) 389148 1520 2% Total 16746020 65414 Physical 16746019 65414 ### My question now is: is there any possibility to free up RAM to start a new VM? ZFS ARC is correctly shrinking, but kernel RAM usage doesn't shrink. If i reboot the Host, Kernel RAM usage is back to normal count. If i then start up all my VMs (by the way KVM), all can start up correct. If i only start some of them, wait some time and then try to start the rest, i can't start all of them because for the last VM there is not enough free memory (because the Kernel has occupied more RAM then directly after rebooting the Host). Thanks Greets Kilian ------------------------------------------- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00 Modify Your Subscription: https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
