Skip to content

seven7777777/hugepages_example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

hugepages_example

First project (example) using hugepage 1G. Centos Linux 3.10.0-1127.el7.x86_64.

  1. Backup files to /home/user/grub_backup/etc_default_grub - grub /home/user/grub_backup/boot_efi_EFI_centos - grub.cfg

  2. Add to /etc/default/grub parameters: hugepagesz=1g hugepages=64 default_hugepagesz=1g

  3. grub2-mkconfig -o /boot/efi/EFI/centos/grub.cfg

  4. Reboot

  5. dmesg logs that allocate 13 pages: HugeTLB: allocating 64 of page size 1 GB failed. Only allocated 13 hugepages.

About

First project (example) using hugepage 1G

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 97.1%
  • Makefile 2.9%