Linux system administration skills assessment.A guide to installing applications on Linux.Download RHEL 9 at no charge through the Red Hat Developer program.As expected this has changed to 1GB # grep Hugepagesize: /proc/meminfo Now post reboot re-verify the default hugepage size. Reboot the system to activate the changes # shutdown -r now Or alternatively you can also execute below command for a cleaner output # cat /proc/cpuinfo | egrep -o pdpe1gb | head -n 1īelow command is for legacy BIOS, on UEFI-based machines: ~]# grub2-mkconfig -o /boot/efi/EFI/redhat/grub.cfg # grub2-mkconfig -o /boot/grub2/grub.cfgįound linux image: /boot/vmlinuz-3.10.0-957.21.3.el7.x86_64įound initrd image: /boot/initramfs-3.10.0-957.21.3.el7.x86_64.imgįound linux image: /boot/vmlinuz-0-rescue-60aaa1c262314bc2afa5c309ae8a0978įound initrd image: /boot/initramfs-0-rescue-60aaa1c262314bc2afa5c309ae8a0978.img # cat /proc/cpuinfo | grep pdpe1gb | head -n 1 Here I am using head -n 1 because depending upon the no of processors and CPU, you may get a long output so we only check the first output as all others would be same. To check if CPU supports HugePages 1GB size, look out for presence of flag pdpe1gb in /proc/cpuinfo. Or alternatively you can also execute below command for a cleaner output # cat /proc/cpuinfo | egrep -o pse | head -n 1ĪLSO READ: Understanding High Availability Cluster and Architecture Check if CPU supports HugePages 1GB Size # cat /proc/cpuinfo | grep pse | uniqįlags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm epb ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid xsaveopt dtherm ida arat pln pts md_clear spec_ctrl intel_stibp flush_l1d ![]() Here I am using uniq because depending upon the no of processors and CPU, you may get a long output. ![]() To check if CPU supports HugePages 2MB size, look out for the presence of flag pse in /proc/cpuinfo. This article was written while using RHEL 7, so it is safe to say that it also fully covers CentOS 7, Fedora, Oracle Enterprise Linux and generally the whole Red Hat family of operating systems and possibly Novell’s SLES and OpenSUSE. How to permanently change default hugepage size using GRUB2 in Linux. How to determine if the CPU supports 1GB size HugePage? How to change default hugepage size in CentOS or RHEL 7 Linux. How to check if CPU supports HugePages 1GB Size. How to determine if the CPU supports HugePage? How to determine if the CPU supports HugePage? How to determine if the CPU supports 2MB size HugePage? How to check if CPU supports hugepages 2MB size.
0 Comments
Leave a Reply. |