Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I fix the warning "Not enough hugepage resources for VMA memory allocation"? #1054

Open
zhangasia opened this issue Dec 2, 2023 · 0 comments

Comments

@zhangasia
Copy link

VMA WARNING: **************************************************************
VMA WARNING: * NO IMMEDIATE ACTION NEEDED!
VMA WARNING: * Not enough hugepage resources for VMA memory allocation.
VMA WARNING: * VMA will continue working with regular memory allocation.
VMA INFO: * Optional:
VMA INFO: * 1. Switch to a different memory allocation type
VMA INFO: * (VMA_MEM_ALLOC_TYPE!= 2)
VMA INFO: * 2. Restart process after increasing the number of
VMA INFO: * hugepages resources in the system:
VMA INFO: * "echo 1000000000 > /proc/sys/kernel/shmmax"
VMA INFO: * "echo 800 > /proc/sys/vm/nr_hugepages"
VMA WARNING: * Please refer to the memory allocation section in the VMA's
VMA WARNING: * User Manual for more information
VMA WARNING: **************************************************************

The configuration of my computer

Linux GPU03 4.19.0-25-amd64 #1 SMP Debian 4.19.289-2 (2023-08-08) x86_64 GNU/Linux
OS: Debian GNU/Linux 10 (buster) x86_64 
Kernel: 4.19.0-25-amd64 
CPU: Intel Xeon Gold 5317 (24) @ 3.600GHz 
GPU: NVIDIA NVIDIA Corporation Device 2204 
Memory: 6082MiB / 515663MiB

libvma version: 9.8.40

I have tried the following command.

echo 1000000000 > /proc/sys/kernel/shmmax
echo 800 > /proc/sys/vm/nr_hugepages

I'm sure it was executed correctly, but there is still this warning. How can I eliminate this warning?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant