Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

ishworg/systemd-disable-transparent-huge-pages

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

systemd-disable-transparent-huge-pages

Disable Linux Kernel's Transparent Huge pages in order to run Redis and MongoDB reliably. Also installs a tuned profile based on virtual-guest that keeps the Kernel setting disabled.

Tested on Fedora 25.

Installation

  1. Decide where you want to install things.

    INSTALL_DIR=/usr/local/src/systemd-disable-transparent-huge-pages
  2. Clone this repository.

    $ git clone https://github.com/agross/systemd-disable-transparent-huge-pages.git "$INSTALL_DIR"
    Cloning into 'systemd-disable-transparent-huge-pages'...
  3. Install disable-transparent-huge-pages systemd service unit.

    $ "$INSTALL_DIR/install"
    Linking and enabling /usr/local/src/systemd-disable-transparent-huge-pages/disable-transparent-huge-pages.service
    Created symlink /etc/systemd/system/disable-transparent-huge-pages.service → /usr/local/src/systemd-disable-transparent-huge-pages/disable-transparent-huge-pages.service.
    Created symlink /etc/systemd/system/basic.target.wants/disable-transparent-huge-pages.service → /usr/local/src/systemd-disable-transparent-huge-pages/disable-transparent-huge-pages.service.
    Enabling tuned profile virtual-guest-nothp

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%