Intel® DevCloud
Help for those needing help starting or connecting to the Intel® DevCloud
1641 Discussions

Permission denied for increase hugepagesize

Maddi
New Contributor I
756 Views

For a specific need, wanted to increase the hugepagesize using the below commands, but it has been denied. Is there any alternative approach to increase the hugepagesize

 

bash -c 'echo 4 > /sys/devices/system/node/node0/hugepages/hugepages-1048576kB/nr_hugepages'
bash -c 'echo 4 > /sys/devices/system/node/node1/hugepages/hugepages-1048576kB/nr_hugepages'
bash -c 'echo 4 > /sys/kernel/mm/hugepages/hugepages-1048576kB/nr_hugepages'

 

The current status shows:

cat /proc/meminfo|grep Huge
AnonHugePages: 0 kB
ShmemHugePages: 0 kB
FileHugePages: 0 kB
HugePages_Total: 0   <== not available
HugePages_Free: 0
HugePages_Rsvd: 0
HugePages_Surp: 0
Hugepagesize: 2048 kB  <== need to increase to 1GB
Hugetlb: 0 kB

0 Kudos
6 Replies
RemyaP_Intel
Moderator
725 Views

Hi,


Thank you for posting in Intel Communities.


Could you please confirm which DevCloud you are using? Is it DevCloud for OneAPI/ Edge/ FPGA?


Regards,

Remya Premdas


0 Kudos
Maddi
New Contributor I
724 Views

Hello,

Iam using DevCloud for OneAPI

0 Kudos
RemyaP_Intel
Moderator
704 Views

Hi,


We are checking with our team internally. We'll get back to you with an update.


Regards,

Remya Premdas


0 Kudos
RemyaP_Intel
Moderator
682 Views

Hi,


Sorry to inform you that, since DevCloud is set up uniformly as a cluster for various operations we will not be able to increase hugepage size. 


Also note that, hugepaging is a complex and, if used in the wrong way, it might decrease overall performance. Example if a hugepage is swapped, reading it is only faster if one needs to access almost the entire hugepage. That means if user randomly access different parts of the memory and just read a couple of kilobytes, user should just use plain old normal pages.



Regards,

Remya Premdas


0 Kudos
RemyaP_Intel
Moderator
637 Views

Hi,


We haven't heard back from you. Did we clarify your query? If yes, can we go ahead and close this case?


Regards,

Remya Premdas



0 Kudos
RemyaP_Intel
Moderator
602 Views

Hi,


We assume that your issue is resolved. If you need any additional information, please post a new question as this thread will no longer be monitored by Intel.


Regards,

Remya Premdas


0 Kudos
Reply