Submit Search
Upload
Hugepage
•
2 likes
•
2,001 views
Buland Singh
Follow
Hugepage
Read less
Read more
Engineering
Report
Share
Report
Share
1 of 17
Download now
Download to read offline
Recommended
Transparent Hugepages in RHEL 6
Transparent Hugepages in RHEL 6
Raghu Udiyar
Managing multiple event types in a single topic with Schema Registry | Bill B...
Managing multiple event types in a single topic with Schema Registry | Bill B...
HostedbyConfluent
Smarter Together - Bringing Relational Algebra, Powered by Apache Calcite, in...
Smarter Together - Bringing Relational Algebra, Powered by Apache Calcite, in...
Julian Hyde
Optimizing Hardware Resource Partitioning and Job Allocations on Modern GPUs ...
Optimizing Hardware Resource Partitioning and Job Allocations on Modern GPUs ...
Carlos Reaño González
Improving Kafka at-least-once performance at Uber
Improving Kafka at-least-once performance at Uber
Ying Zheng
Why your Spark job is failing
Why your Spark job is failing
Sandy Ryza
Seastore: Next Generation Backing Store for Ceph
Seastore: Next Generation Backing Store for Ceph
ScyllaDB
Spectrum Scale Best Practices by Olaf Weiser
Spectrum Scale Best Practices by Olaf Weiser
Sandeep Patil
Recommended
Transparent Hugepages in RHEL 6
Transparent Hugepages in RHEL 6
Raghu Udiyar
Managing multiple event types in a single topic with Schema Registry | Bill B...
Managing multiple event types in a single topic with Schema Registry | Bill B...
HostedbyConfluent
Smarter Together - Bringing Relational Algebra, Powered by Apache Calcite, in...
Smarter Together - Bringing Relational Algebra, Powered by Apache Calcite, in...
Julian Hyde
Optimizing Hardware Resource Partitioning and Job Allocations on Modern GPUs ...
Optimizing Hardware Resource Partitioning and Job Allocations on Modern GPUs ...
Carlos Reaño González
Improving Kafka at-least-once performance at Uber
Improving Kafka at-least-once performance at Uber
Ying Zheng
Why your Spark job is failing
Why your Spark job is failing
Sandy Ryza
Seastore: Next Generation Backing Store for Ceph
Seastore: Next Generation Backing Store for Ceph
ScyllaDB
Spectrum Scale Best Practices by Olaf Weiser
Spectrum Scale Best Practices by Olaf Weiser
Sandeep Patil
InnoDB Internal
InnoDB Internal
mysqlops
Pg pool cluster postgresql
Pg pool cluster postgresql
Hermione Sanz Angel
AF Ceph: Ceph Performance Analysis and Improvement on Flash
AF Ceph: Ceph Performance Analysis and Improvement on Flash
Ceph Community
[232] 성능어디까지쥐어짜봤니 송태웅
[232] 성능어디까지쥐어짜봤니 송태웅
NAVER D2
Running Apache Spark on a High-Performance Cluster Using RDMA and NVMe Flash ...
Running Apache Spark on a High-Performance Cluster Using RDMA and NVMe Flash ...
Databricks
hbaseconasia2017: HBase Practice At XiaoMi
hbaseconasia2017: HBase Practice At XiaoMi
HBaseCon
Driving containerd operations with gRPC
Driving containerd operations with gRPC
Docker, Inc.
BlueStore, A New Storage Backend for Ceph, One Year In
BlueStore, A New Storage Backend for Ceph, One Year In
Sage Weil
Apache Kylin: Speed Up Cubing with Apache Spark with Luke Han and Shaofeng Shi
Apache Kylin: Speed Up Cubing with Apache Spark with Luke Han and Shaofeng Shi
Databricks
Troubleshooting Kafka's socket server: from incident to resolution
Troubleshooting Kafka's socket server: from incident to resolution
Joel Koshy
ArangoDB
ArangoDB
ArangoDB Database
Introduction to Big Data & Hadoop Architecture - Module 1
Introduction to Big Data & Hadoop Architecture - Module 1
Rohit Agrawal
Cisco's journey from Verbs to Libfabric
Cisco's journey from Verbs to Libfabric
Jeff Squyres
How to get LBR contents on Intel x86
How to get LBR contents on Intel x86
Mohammad Golyani
Poll mode driver integration into dpdk
Poll mode driver integration into dpdk
Vipin Varghese
Substrait Overview.pdf
Substrait Overview.pdf
Rinat Abdullin
Making Networking Apps Scream on Windows with DPDK
Making Networking Apps Scream on Windows with DPDK
Michelle Holley
Linux PV on HVM
Linux PV on HVM
The Linux Foundation
eBPF - Rethinking the Linux Kernel
eBPF - Rethinking the Linux Kernel
Thomas Graf
Intel DPDK Step by Step instructions
Intel DPDK Step by Step instructions
Hisaki Ohara
Os Linux Documentation
Os Linux Documentation
Federal Urdu University
The life and times
The life and times
Abeer Naskar
More Related Content
What's hot
InnoDB Internal
InnoDB Internal
mysqlops
Pg pool cluster postgresql
Pg pool cluster postgresql
Hermione Sanz Angel
AF Ceph: Ceph Performance Analysis and Improvement on Flash
AF Ceph: Ceph Performance Analysis and Improvement on Flash
Ceph Community
[232] 성능어디까지쥐어짜봤니 송태웅
[232] 성능어디까지쥐어짜봤니 송태웅
NAVER D2
Running Apache Spark on a High-Performance Cluster Using RDMA and NVMe Flash ...
Running Apache Spark on a High-Performance Cluster Using RDMA and NVMe Flash ...
Databricks
hbaseconasia2017: HBase Practice At XiaoMi
hbaseconasia2017: HBase Practice At XiaoMi
HBaseCon
Driving containerd operations with gRPC
Driving containerd operations with gRPC
Docker, Inc.
BlueStore, A New Storage Backend for Ceph, One Year In
BlueStore, A New Storage Backend for Ceph, One Year In
Sage Weil
Apache Kylin: Speed Up Cubing with Apache Spark with Luke Han and Shaofeng Shi
Apache Kylin: Speed Up Cubing with Apache Spark with Luke Han and Shaofeng Shi
Databricks
Troubleshooting Kafka's socket server: from incident to resolution
Troubleshooting Kafka's socket server: from incident to resolution
Joel Koshy
ArangoDB
ArangoDB
ArangoDB Database
Introduction to Big Data & Hadoop Architecture - Module 1
Introduction to Big Data & Hadoop Architecture - Module 1
Rohit Agrawal
Cisco's journey from Verbs to Libfabric
Cisco's journey from Verbs to Libfabric
Jeff Squyres
How to get LBR contents on Intel x86
How to get LBR contents on Intel x86
Mohammad Golyani
Poll mode driver integration into dpdk
Poll mode driver integration into dpdk
Vipin Varghese
Substrait Overview.pdf
Substrait Overview.pdf
Rinat Abdullin
Making Networking Apps Scream on Windows with DPDK
Making Networking Apps Scream on Windows with DPDK
Michelle Holley
Linux PV on HVM
Linux PV on HVM
The Linux Foundation
eBPF - Rethinking the Linux Kernel
eBPF - Rethinking the Linux Kernel
Thomas Graf
Intel DPDK Step by Step instructions
Intel DPDK Step by Step instructions
Hisaki Ohara
What's hot
(20)
InnoDB Internal
InnoDB Internal
Pg pool cluster postgresql
Pg pool cluster postgresql
AF Ceph: Ceph Performance Analysis and Improvement on Flash
AF Ceph: Ceph Performance Analysis and Improvement on Flash
[232] 성능어디까지쥐어짜봤니 송태웅
[232] 성능어디까지쥐어짜봤니 송태웅
Running Apache Spark on a High-Performance Cluster Using RDMA and NVMe Flash ...
Running Apache Spark on a High-Performance Cluster Using RDMA and NVMe Flash ...
hbaseconasia2017: HBase Practice At XiaoMi
hbaseconasia2017: HBase Practice At XiaoMi
Driving containerd operations with gRPC
Driving containerd operations with gRPC
BlueStore, A New Storage Backend for Ceph, One Year In
BlueStore, A New Storage Backend for Ceph, One Year In
Apache Kylin: Speed Up Cubing with Apache Spark with Luke Han and Shaofeng Shi
Apache Kylin: Speed Up Cubing with Apache Spark with Luke Han and Shaofeng Shi
Troubleshooting Kafka's socket server: from incident to resolution
Troubleshooting Kafka's socket server: from incident to resolution
ArangoDB
ArangoDB
Introduction to Big Data & Hadoop Architecture - Module 1
Introduction to Big Data & Hadoop Architecture - Module 1
Cisco's journey from Verbs to Libfabric
Cisco's journey from Verbs to Libfabric
How to get LBR contents on Intel x86
How to get LBR contents on Intel x86
Poll mode driver integration into dpdk
Poll mode driver integration into dpdk
Substrait Overview.pdf
Substrait Overview.pdf
Making Networking Apps Scream on Windows with DPDK
Making Networking Apps Scream on Windows with DPDK
Linux PV on HVM
Linux PV on HVM
eBPF - Rethinking the Linux Kernel
eBPF - Rethinking the Linux Kernel
Intel DPDK Step by Step instructions
Intel DPDK Step by Step instructions
Similar to Hugepage
Os Linux Documentation
Os Linux Documentation
Federal Urdu University
The life and times
The life and times
Abeer Naskar
Driver development – memory management
Driver development – memory management
Vandana Salve
Unix Memory Management - Operating Systems
Unix Memory Management - Operating Systems
Drishti Bhalla
MSE
MSE
Varnish Software
Massive Storage Engine
Massive Storage Engine
Varnish Software
Optimizing Latency-sensitive queries for Presto at Facebook: A Collaboration ...
Optimizing Latency-sensitive queries for Presto at Facebook: A Collaboration ...
Alluxio, Inc.
ch9_virMem.pdf
ch9_virMem.pdf
HoNguyn746501
Segmentation with paging methods and techniques
Segmentation with paging methods and techniques
nikhilrana24112003
EncExec: Secure In-Cache Execution
EncExec: Secure In-Cache Execution
Yue Chen
Memory management in sql server
Memory management in sql server
Prashant Kumar
Computer architecture virtual memory
Computer architecture virtual memory
Mazin Alwaaly
cache memory management
cache memory management
VELAMMAL INSTITUTE OF TECHNOLOGY
CSL Seminar presented by Cassiano Campes - 16-11-14
CSL Seminar presented by Cassiano Campes - 16-11-14
Cassiano Campes
Virtual Memory (1).pptx
Virtual Memory (1).pptx
RohitGautam247629
Virtual Memory 53565686598386865286860.pdf
Virtual Memory 53565686598386865286860.pdf
ChetanRaut43
Cs416 08 09a
Cs416 08 09a
Nishanthi Bheeman
Colvin exadata mistakes_ioug_2014
Colvin exadata mistakes_ioug_2014
marvin herrera
Virtual Memory in Windows
Virtual Memory in Windows
HanzlaRafique
Hadoop - Introduction to HDFS
Hadoop - Introduction to HDFS
Vibrant Technologies & Computers
Similar to Hugepage
(20)
Os Linux Documentation
Os Linux Documentation
The life and times
The life and times
Driver development – memory management
Driver development – memory management
Unix Memory Management - Operating Systems
Unix Memory Management - Operating Systems
MSE
MSE
Massive Storage Engine
Massive Storage Engine
Optimizing Latency-sensitive queries for Presto at Facebook: A Collaboration ...
Optimizing Latency-sensitive queries for Presto at Facebook: A Collaboration ...
ch9_virMem.pdf
ch9_virMem.pdf
Segmentation with paging methods and techniques
Segmentation with paging methods and techniques
EncExec: Secure In-Cache Execution
EncExec: Secure In-Cache Execution
Memory management in sql server
Memory management in sql server
Computer architecture virtual memory
Computer architecture virtual memory
cache memory management
cache memory management
CSL Seminar presented by Cassiano Campes - 16-11-14
CSL Seminar presented by Cassiano Campes - 16-11-14
Virtual Memory (1).pptx
Virtual Memory (1).pptx
Virtual Memory 53565686598386865286860.pdf
Virtual Memory 53565686598386865286860.pdf
Cs416 08 09a
Cs416 08 09a
Colvin exadata mistakes_ioug_2014
Colvin exadata mistakes_ioug_2014
Virtual Memory in Windows
Virtual Memory in Windows
Hadoop - Introduction to HDFS
Hadoop - Introduction to HDFS
More from Buland Singh
Kdump and the kernel crash dump analysis
Kdump and the kernel crash dump analysis
Buland Singh
reference_guide_Kernel_Crash_Dump_Analysis
reference_guide_Kernel_Crash_Dump_Analysis
Buland Singh
Kernel_Crash_Dump_Analysis
Kernel_Crash_Dump_Analysis
Buland Singh
Kdump-FUDcon-2015-Workshop
Kdump-FUDcon-2015-Workshop
Buland Singh
Kdump-FUDcon-2015-Session
Kdump-FUDcon-2015-Session
Buland Singh
Tuned
Tuned
Buland Singh
PCP
PCP
Buland Singh
More from Buland Singh
(7)
Kdump and the kernel crash dump analysis
Kdump and the kernel crash dump analysis
reference_guide_Kernel_Crash_Dump_Analysis
reference_guide_Kernel_Crash_Dump_Analysis
Kernel_Crash_Dump_Analysis
Kernel_Crash_Dump_Analysis
Kdump-FUDcon-2015-Workshop
Kdump-FUDcon-2015-Workshop
Kdump-FUDcon-2015-Session
Kdump-FUDcon-2015-Session
Tuned
Tuned
PCP
PCP
Recently uploaded
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
ranjana rawat
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
upamatechverse
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSIS
rknatarajan
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls in Nagpur High Profile
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
ranjana rawat
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
SIVASHANKAR N
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
sanyuktamishra911
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Call Girls in Nagpur High Profile
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur High Profile
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduits
rknatarajan
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur High Profile
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
Suhani Kapoor
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
purnimasatapathy1234
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
Tsuyoshi Horigome
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
Soham Mondal
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
Asst.prof M.Gokilavani
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
ranjana rawat
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
M Maged Hegazy, LLM, MBA, CCP, P3O
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
sivaprakash250
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control
Recently uploaded
(20)
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSIS
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduits
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
Hugepage
1.
HugePage
2.
Basics: Memory ● In Linux, memory is managed in blocks known as "pages". ● A page is the basic unit of virtual memory. ● The size of a page is "4096" bytes. $ getconf PAGE_SIZE 4096 ● In Linux the process address space is virtual. ● The CPU and the operating system have to remember which page belong to which process, and where it is stored. ● The more pages you have, the more time it takes to find where the memory is mapped. ● When a process uses 1 GiB of memory, that's 262144 entries to look up (1GiB/4KiB). ● If one Page Table Entry consume 8bytes, that's 2 MiB (262144 x 8) to lookup. ● CPUs have a builtin memory management unit (MMU) that contains a list of these pages, with each page referenced through a page table entry (PTE).
3.
HugePage: Hardware Support ● Depending on the processor, there are two different HugePage sizes on the x86_64 architecture: 2 MiB and 1 GiB ● If the CPU supports 2 MiB pages, it has the "PSE" cpuinfo flag. ● If the CPU supports 1 GiB pages, it has the "PDPE1GB" cpuinfo flag. ● /proc/cpuinfo shows whether the two flags are set. $ grep pse /proc/cpuinfo | uniq flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr ● The page tables used by the 2 MiB pages are suitable for managing multiple gigabytes of memory. ● The page tables used by the 1 GiB pages are best for scaling to terabytes of memory.
4.
HugePage: Kernel Support ● The support for HugePage is enabled in standard RHEL kernel. $ grep HUGETLB /boot/config$(uname r) CONFIG_HUGETLBFS=y CONFIG_HUGETLB_PAGE=y ● The HugePage size can be determined by looking at /proc/meminfo: # cat /proc/meminfo |grep Hugepagesize Hugepagesize: 2048 kB
5.
HugePage: Size Based on Arch ● Huge pages sizes based on Architecture: Architecture HugePage Size i386
4MiB (2 MiB in PAE mode) ia64 1MiB, 4MiB, 16MiB, 256MiB ppc64 16MiB
6.
HugePage: Setting Temporary: ● Using /proc/sys/vm/nr_hugepages file. Permanent: ● Using sysctl parameter vm.nr_hugepages in /etc/sysctl.conf file. For Example; # echo 1 > /proc/sys/vm/nr_hugepages OR # vim /etc/sysctl.conf vm.nr_hugepages = 1 Note: Huge pages must be assigned at boot time. (Reboot the system)
7.
HugePage: How much HugePages ? ● Ideally it is recommended to set HugePages to half of the available RAM. ● But it is advisable to set HugePages based on the requirement of the application.
8.
HugePage: Example Task: Set 10 GiB of HugePages on the system. Formula: vm.nr_hugepages = (Memory in KiB)/Hugepagesize Calculation: 10 GiB = 10485760 KiB Hugepagesize = 2048 KiB vm.nr_hugepages = 10485760/2048 = 5120
9.
HugePage: How to determine if HugePages is disable or enabled on the server ? 1) Check the value of HugePages_Total field in /proc/meminfo file. 2) Check the value in /proc/sys/vm/nr_hugepages file. 3) Check the value of vm.nr_hugepages in /etc/sysctl.conf file.
10.
HugePage: ● If the value is "0" (zero) then it means that HugePages is "disable" on the system. Eg: # grep i HugePages_Total /proc/meminfo HugePages_Total: 0 # cat /proc/sys/vm/nr_hugepages 0 # grep nr_hugepages /etc/sysctl.conf vm.nr_hugepages = 0
11.
HugePage: ● If the value is (!0) nonzero then it means that HugePages is "enabled" on the system. # grep i HugePages_Total /proc/meminfo HugePages_Total: 1024 # cat /proc/sys/vm/nr_hugepages 1024 # grep nr_hugepages /etc/sysctl.conf vm.nr_hugepages = 1024
12.
HugePage: /proc/meminfo $ grep i "HugePage" /proc/meminfo HugePages_Total: 7176 HugePages_Free: 7176 HugePages_Rsvd: 0 HugePages_Surp: 0 Hugepagesize: 2048 kB Where; HugePages_Total is the size of the pool of huge pages. HugePages_Free is the number of huge pages in the pool that are not yet allocated. Hugepagesize is the size of single huge page.
13.
HugePage: /proc/meminfo $ grep i "HugePage" /proc/meminfo HugePages_Total: 7176 HugePages_Free: 7176 HugePages_Rsvd: 0 HugePages_Surp: 0 Hugepagesize: 2048 kB Where; HugePages_Total is the size of the pool of huge pages. HugePages_Free is the number of huge pages in the pool that are not yet allocated. Hugepagesize is the size of single huge page.
14.
HugePage: Calculation: Total memory allocated by Hugepages = HugePages_Total x Hugepagesize = 7176 x 2048 = 14696448 MiB = 14696448/1048576 = 14.01 GiB
15.
HugePage: Advantages: ● HugePages are never swapped out when the system is under memory pressure. ● It reduces the kernel's memory management overhead since it will be managing fewer pages. (Improves Performance) ●
The kernel virtual memory manager utilizes Low Memory fewer pages to manage means it will consume less low memory.
16.
HugePage: Disadvantages: ● The system reboot is required after allocating the HugePages. ● The memory reserved by HugePages can only be utilized by process(es) which are Hugepages aware. ●
The memory pages for "HugePages" are kept apart at boottime of the system, and cannot be used for other memory allocations, even if they are free.
17.
Questions ?
Download now