Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sat Jan 13, 2018 11:03 am 
Offline

Joined: Sat Jan 13, 2018 10:57 am
Posts: 1
https://help.ubuntu.com/community/KVM%2 ... 0Hugepages

#sudo sysctl -w vm.nr_hugepages=2048
sysctl: cannot stat /proc/sys/vm/nr_hugepages: No such file or directory

# grep HUGETLB /boot/config-4.4.0-36-generic
CONFIG_ARCH_WANT_GENERAL_HUGETLB=y
CONFIG_CGROUP_HUGETLB=y
CONFIG_HUGETLBFS=y
CONFIG_HUGETLB_PAGE=y

Kernel supports hugepages.
Not enabled in KVM? Why?


Top
   
PostPosted: Fri Jan 19, 2018 9:13 pm 
Offline
Senior Member

Joined: Wed Jun 08, 2011 11:25 pm
Posts: 55
Can you verify what kernel you're booted to?

$ uname -r

By default, Linodes boot to Linode-supplied kernels. I don't know if hugepages are enabled in Linode's kernel (its configuration is in /proc/config.gz if you wish to check). If you wish to boot to a kernel supplied by your distribution, you'll want to make some changes to your Linode's configuration profile as documented at https://linode.com/docs/tools-reference ... -with-kvm/


Top
   
PostPosted: Fri Feb 09, 2018 8:02 am 
Offline
Senior Member

Joined: Thu Nov 16, 2017 6:59 am
Posts: 137
What's your use case for hugepages on the guest, out of curiousity?

_________________
- emestee,
Lord System Administrator


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
RSS

Powered by phpBB® Forum Software © phpBB Group