Intel Acceleration Stack Quick Start Guide for Intel® Programmable Acceleration Card with Intel® Arria® 10 GX FPGA

ID 683633
Date 12/04/2020
Document Table of Contents

E. Hugepage Settings

Use the hugepage settings to reserve 2 MB-hugepages or 1 GB-hugepages . For example, the hello_fpga sample requires several 2 MB-hugepages .

The following command below reserves 20, 2 MB-hugepages :

sudo sh -c 'echo 20 > /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages'
The following command below reserves 4, 1 GB-hugepages:
sudo sh -c 'echo 4 > /sys/kernel/mm/hugepages/hugepages-1048576kB/nr_hugepages'
Note: To make these changes permanent, include them as part of /etc/bashrc.