Would you like to learn how to disable Transparent Huge Pages on Ubuntu Linux? In this tutorial, we are going to disable Transparent Huge Pages on a computer running Ubuntu Linux.

• Ubuntu 18
• Ubuntu 19
• Ubuntu 20

Equipment list

The following section presents the list of equipment used to create this tutorial.

As an Amazon Associate, I earn from qualifying purchases.

Tutorial Ubuntu - Disable Transparent Huge Pages

Create an SYSTEMD configuration file.

Copy to Clipboard

Here is the file content.

Copy to Clipboard

Reload the services configuration.

Copy to Clipboard

Start the created service.

Copy to Clipboard

Verify if the Transparent Huge Pages were disabled.

Copy to Clipboard

Here is the command output.

Copy to Clipboard

Enable the created service during boot.

Copy to Clipboard

Reboot the computer.

Copy to Clipboard

In our example, we disabled Transparent Huge Pages.

Congratulations! You are able to disable Transparent Huge Pages on Ubuntu Linux.