summaryrefslogtreecommitdiffstats
path: root/appinfo/info.xml
AgeCommit message (Expand)Author
2021-02-20Command: Add debug item list commandsSean Molenaar
2021-02-10Release 15.3.215.3.2Benjamin Brahmer
2021-02-10Release 15.3.2-rc215.3.2-rc2Benjamin Brahmer
2021-02-10Release 15.3.2-rc115.3.2-rc1Benjamin Brahmer
2021-02-06Release 15.3.115.3.1Benjamin Brahmer
2021-02-06Release 15.3.1-rc315.3.1-rc3Benjamin Brahmer
2021-02-06Release 15.3.1-rc215.3.1-rc2Benjamin Brahmer
2021-02-05Release 15.3.1-rc115.3.1-rc1Benjamin Brahmer
2021-02-05Release 15.3.015.3.0Benjamin Brahmer
2021-02-02Release 15.2.215.2.2Benjamin Brahmer
2021-02-02Release 15.2.115.2.1Benjamin Brahmer
2021-02-02Release 15.2.015.2.0Benjamin Brahmer
2021-01-31Release 15.2.0-rc115.2.0-rc1Benjamin Brahmer
2021-01-1715.2.0-beta2 - 2021-01-1715.2.0-beta2Benjamin Brahmer
2021-01-12fix changelog and version15.2.0-beta1Benjamin Brahmer
2021-01-12Release 15.2.0beta1Benjamin Brahmer
2020-12-27Release 15.1.115.1.1Benjamin Brahmer
2020-12-23Release 15.1.1-rc215.1.1-rc2Benjamin Brahmer
2020-12-16Release 15.1.1-rc115.1.1-rc1Benjamin Brahmer
2020-12-08Release 15.1.015.1.0Benjamin Brahmer
2020-11-11Release 15.1.0-rc315.1.0-rc3Benjamin Brahmer
2020-11-10Release 15.1.0-rc215.1.0-rc2Benjamin Brahmer
2020-11-06Release 15.1.0-rc115.1.0-rc1Benjamin Brahmer
2020-10-26Release 15.0.615.0.6Benjamin Brahmer
2020-10-26Release 15.0.6-rc515.0.6-rc5Benjamin Brahmer
2020-10-26Release 15.0.6-rc415.0.6-rc4Benjamin Brahmer
2020-10-25Release 15.0.6-rc315.0.6-rc3Benjamin Brahmer
2020-10-24Release 15.0.6-rc215.0.6-rc2Benjamin Brahmer
2020-10-24Release 15.0.6-rc115.0.6-rc1Benjamin Brahmer
2020-10-14Release 15.0.515.0.5Benjamin Brahmer
2020-10-10Release 15.0.415.0.4Benjamin Brahmer
2020-10-08Release 15.0.315.0.3Benjamin Brahmer
2020-10-04Release 15.0.215.0.2Benjamin Brahmer
2020-10-03Release 15.0.115.0.1Benjamin Brahmer
2020-09-29update documentationBenjamin Brahmer
2020-09-29OPML export command and fixesSean Molenaar
2020-09-29Move version to 15.0.0Benjamin Brahmer
2020-09-27Create V2 mapper, Service and management commandsSean Molenaar
2020-09-25Move to nextcloud config and update phpunitSean Molenaar
2020-09-25Require nextcloud 20 for new developmentSean Molenaar
2020-09-02Release 14.2.214.2.2Benjamin Brahmer
2020-09-01Test on NC 20Benjamin Brahmer
2020-09-0114.2.114.2.1Benjamin Brahmer
2020-08-26Cleanup appinfo filesSean Molenaar
2020-08-14Update to new BackgroudJob logicBenjamin Brahmer
2020-05-27Release 14.1.1114.1.11Benjamin Brahmer
2020-05-2314.1.914.1.9Benjamin Brahmer
2020-05-23bump versionBenjamin Brahmer
2020-05-04Release 14.1.714.1.7Benjamin Brahmer
2020-04-28Release 14.1.614.1.6Benjamin Brahmer
ase in memory (except for `[db].mode = dbengine`) By default `[db].update every = 1` and `[db].retention = 3600`. This gives you an hour of data with per second updates. If you set `[db].update every = 2` and `[db].retention = 1800`, you will still have an hour of data, but collected once every 2 seconds. This will **cut in half** both CPU and RAM resources consumed by Netdata. Of course experiment a bit to find the right setting. On very weak devices you might have to use `[db].update every = 5` and `[db].retention = 720` (still 1 hour of data, but 1/5 of the CPU and RAM resources). You can also disable [data collection plugins](/collectors/README.md) that you don't need. Disabling such plugins will also free both CPU and RAM resources. ## Memory optimizations ### KSM KSM performs memory deduplication by scanning through main memory for physical pages that have identical content, and identifies the virtual pages that are mapped to those physical pages. It leaves one page unchanged, and re-maps each duplicate page to point to the same physical page. Netdata offers all of its in-memory database to kernel for deduplication. In the past, KSM has been criticized for consuming a lot of CPU resources. This is true when KSM is used for deduplicating certain applications, but it is not true for Netdata. Agent's memory is written very infrequently (if you have 24 hours of metrics in Netdata, each byte at the in-memory database will be updated just once per day). KSM is a solution that will provide 60+% memory savings to Netdata. ### Enable KSM in kernel To enable KSM in kernel, you need to run a kernel compiled with the following: ```sh CONFIG_KSM=y ``` When KSM is enabled at the kernel, it is just available for the user to enable it. If you build a kernel with `CONFIG_KSM=y`, you will just get a few files in `/sys/kernel/mm/ksm`. Nothing else happens. There is no performance penalty (apart from the memory this code occupies into the kernel). The files that `CONFIG_KSM=y` offers include: - `/sys/kernel/mm/ksm/run` by default `0`. You have to set this to `1` for the kernel to spawn `ksmd`. - `/sys/kernel/mm/ksm/sleep_millisecs`, by default `20`. The frequency ksmd should evaluate memory for deduplication. - `/sys/kernel/mm/ksm/pages_to_scan`, by default `100`. The amount of pages ksmd will evaluate on each run. So, by default `ksmd` is just disabled. It will not harm performance and the user/admin can control the CPU resources they are willing to have used by `ksmd`. ### Run `ksmd` kernel daemon To activate / run `ksmd,` you need to run the following: ```sh echo 1 >/sys/kernel/mm/ksm/run echo 1000 >/sys/kernel/mm/ksm/sleep_millisecs ``` With these settings, ksmd does not even appear in the running process list (it will run once per second and evaluate 100 pages for de-duplication). Put the above lines in your boot sequence (`/etc/rc.local` or equivalent) to have `ksmd` run at boot. ### Monitoring Kernel Memory de-duplication performance Netdata will create charts for kernel memory de-duplication performance, like this: ![image](https://cloud.githubusercontent.com/assets/2662304/11998786/eb23ae54-aab6-11e5-94d4-e848e8a5c56a.png)