-- Leo's gemini proxy

-- Connecting to darknesscode.xyz:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini;lang=en-US

Enable HugePages on Linux


Check the size of hugepages


grep Huge /proc/meminfo

To enable hugepages run


sudo sysctl -w vm.nr_hugepages=16

To ensure that the change stays persistent across future reboots, open


For **Arch Linux** the file is in


sudo vim /etc/sysctl.d/sysctl.conf

For **Debian** the file is in


sudo vim /etc/sysctl.conf

Add at the end of the file


vm.nr_hugepages = 16

Reboot for these changes to take effect


sudo reboot

The size of the hugepages can be has high as need


----------


Home

Linux

Notes

MicroLog


----------


© DarknessCode

-- Response ended

-- Page fetched on Tue May 21 23:00:56 2024