Discover Centmin Mod today
Register Now

Kernel Memory de-duplication

Discussion in 'Feature Requests & Suggestions' started by pamamolf, Sep 7, 2016.

  1. pamamolf

    pamamolf Premium Member Premium Member

    3,346
    318
    83
    May 31, 2014
    Ratings:
    +593
    Local Time:
    7:49 PM
    Nginx-1.17.x
    MariaDB 10.3.x
    Hi :)

    I got this recommendation from netdata and i was wondering if it is good to have it already enabled on Centminmod :)

    Code:
    You have kernel memory de-duper (called Kernel Same-page Merging,
    or KSM) available, but it is not currently enabled.
    
    To enable it run:
    
    echo 1 >/sys/kernel/mm/ksm/run
    echo 1000 >/sys/kernel/mm/ksm/sleep_millisecs
    
    If you enable it, you will save 40-60% of netdata memory.
    What do you think? is it something that will help in general and should add on Centminmod default installation or is it specific for netdata only?

    Thanks
     
    • Like Like x 1
  2. eva2000

    eva2000 Administrator Staff Member

    40,620
    9,014
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +13,880
    Local Time:
    2:49 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    • Informative Informative x 1
  3. pamamolf

    pamamolf Premium Member Premium Member

    3,346
    318
    83
    May 31, 2014
    Ratings:
    +593
    Local Time:
    7:49 PM
    Nginx-1.17.x
    MariaDB 10.3.x
    Ok then i will wait for the addon to be available so i can test it :)

    Don't know if it is also possible to have an auto update system as it get updates every 4-5 days :)

    Code:
    cd netdata
    git pull
    ./netdata-installer.sh
     
    style="display:inline-block;min-width:400px;max-width:970px;width:95%;height:90px" data-ad-client="ca-pub-6669518204467592" data-ad-slot="4024536743" data-ad-format="auto">
  4. eva2000

    eva2000 Administrator Staff Member

    40,620
    9,014
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +13,880
    Local Time:
    2:49 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    maybe possible seeing as how frequent updates are being made to netdata :)
     
    • Like Like x 1