Skip to content

agross/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