January 27, 201610 yr A little new to this topic, but basically from what I've read if the processor supports it, it is a good idea to enable it. From what I can tell this needs to be added to the XML in the <memoryBacking> as such <memoryBacking> <hugepages/> </memoryBacking> I looked at my XML created by the VM manager and it is not there by default (nor selectable at VM creation). I understand I can add it manually and test, etc... however there seems to (possibly) be more to it. The support for this also looks to be needed in other files such as /etc/sysctl.conf (not sure if this is the same in UnRAID implementation). I know my processor supports it, so I'd like to enable it. I started reading about it at the bottom here http://vfio.blogspot.com/2015_10_01_archive.html "A more subtle feature also found in these E series processors is support for IOMMU super pages. The datasheets for the E5 Xeons and these High End Desktop Processors indicate support for 2MB and 1GB IOMMU pages while the standard Core i5 and i7 only support 4KB pages" And found some instructions for KVM here https://help.ubuntu.com/community/KVM%20-%20Using%20Hugepages
January 28, 201610 yr Author UnRAID leverages transparent huge pages. Do I need to add anything to the XML for this to be applied to the VM, or by leveraged you mean it's global and nothing needs to be done individually? Thanks.
January 28, 201610 yr UnRAID leverages transparent huge pages. Do I need to add anything to the XML for this to be applied to the VM, or by leveraged you mean it's global and nothing needs to be done individually? Thanks. It's automatic. Nothing you need to do.
January 28, 201610 yr Author UnRAID leverages transparent huge pages. Do I need to add anything to the XML for this to be applied to the VM, or by leveraged you mean it's global and nothing needs to be done individually? Thanks. It's automatic. Nothing you need to do. Sweet, thanks again!
August 7, 20196 yr Any chance to have "huge pages" as an option for the few of us with 384GB RAM? Or any guides to manually enables this? Seems that system with a lot of RAM can benefit from this according to this video: https://youtu.be/1yFQd4MaKK0?t=654 from 09:36 Linus explains the issue.
August 9, 20196 yr Hi M0ngr31, I think I may have stumbled upon the root cause, after watching an episode of linus' tech tips. He had some problems with his VM and it turned out to cause by a great amount of RAM. I have 384GB (funny enough the same amount Linus had in his machine) How much do you have in yours? I have made a thread which describing my scenario, maybe you can confirm? https://forums.unraid.net/topic/82427-spontaneous-reboots/?tab=comments#comment-764418 /Alphahelix Edited August 9, 20196 yr by Alphahelix
August 9, 20196 yr I only have 80GB in my box, so I don't have the same issues. I was more curious about the changes they made for Linus after I saw the video. And maybe if it'd speed anything up on mine.
October 7, 20196 yr I second this, I have a dell t620 with 128G of RAM and I a guest that is pinned to the second CPU. I want all of that guests 64G RAM to come from the second numa node and all my other vms can just use THP and be on the first core with unraid. THP is quite cpu intensive. Would something like this work. https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/performance_tuning_guide/sect-red_hat_enterprise_linux-performance_tuning_guide-memory-configuring-huge-pages Thanks in advance, only been here a couple of days.
Archived
This topic is now archived and is closed to further replies.