Git Product home page Git Product logo

Comments (4)

nefelim4ag avatar nefelim4ag commented on May 31, 2024

Check at now please

from systemd-swap.

mattia-b89 avatar mattia-b89 commented on May 31, 2024

ok, it's better than before, it's a begin!
I'd like to understand the vm.overcommit_memory=1 setting
and why do you suggest to increase vm.swappiness since this would handle of deeper use of the swap?

from systemd-swap.

nefelim4ag avatar nefelim4ag commented on May 31, 2024

I already describe in config, what it's suggested to change vm.swappiness for prevent problems with zram and for free up more memory for io cache with zswap

For vm.overcommit_memory=1 i already write

## (for disable early OOM killer)

https://www.kernel.org/doc/Documentation/vm/overcommit-accounting

If you interested in "Why should i disable it?", i will explain applications working with Virtual Memory and by default it's allocate much more memory when you have physically on system (i.e. you can have only 8Gb of memory and have 100-200 Gb virtual memory allocated), and some times OOM can kill app, not because you don't have memory, but only because it's allocate to much memory.
And I, and not only I, don't like this thing.

So i suggest to disable too early OOM killer, because i can have swap which not used, and app get OOM (WTF?).

Sorry for bad english.

from systemd-swap.

nefelim4ag avatar nefelim4ag commented on May 31, 2024

Config file has been rewritten.
Thanks.

from systemd-swap.

Related Issues (20)

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.