GithubHelp home page GithubHelp logo

isabella232 / tuned-percona-mongodb Goto Github PK

View Code? Open in Web Editor NEW

This project forked from percona-lab/tuned-percona-mongodb

0.0 0.0 0.0 5 KB

A performance-focused tuned profile for MongoDB on CentOS/Redhat Linux

Makefile 58.97% Shell 41.03%

tuned-percona-mongodb's Introduction

tuned-percona-mongodb

A performance-focused tuned profile for MongoDB on CentOS/Redhat Linux.

About

The profile sets various recommended settings for a production mongodb deployment (sysctls, io scheduler, THP, CPU states, etc). Tested on CentOS/Redhat 7 although it may work on Debian's tuned in 8+.

Many of the tunings are justified/explained in this blog post: https://www.percona.com/blog/2016/08/12/tuning-linux-for-mongodb/

Experimental

While this profile has undergone testing, it comes with no gurantees and it is possible these tunings will not work well for your situation.

Why?

Tuned's daemon runs by default on CentOS/Redhat hosts since version 7, managing the tunings of operating system via profiles. Tuning the system manually outside of using tuned profiles will often cause your settings to be overriden by tuned itself or future upgrades. Tuned profiles abstract the details of where/how to apply tunings in a consolidated, easy-to-troubleshoot location.

Install

Note: The profile assumes /dev/sda is an Linux "os" disk and /dev/sdX are for database data. Adjust "devices=" in the disk section if this is not the case.

$ git clone https://github.com/Percona-Lab/tuned-percona-mongodb
$ cd tuned-percona-mongodb
$ sudo make enable

Uninstall

Note: uninstall step enables the 'latency-performance' profile, change after if needed

$ cd /your/git/path/tuned-percona-mongodb
$ sudo make uninstall

Contact

tuned-percona-mongodb's People

Contributors

timvaillancourt avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.