tarantool / doc

Tarantool documentation
https://www.tarantool.io/en/doc/
Other
14 stars 43 forks source link

[2pt] Consider to recommend disabling swap / overcommit #1936

Open Totktonada opened 3 years ago

Totktonada commented 3 years ago

Recommend disabling certain system settings for memtx

Product: Tarantool Audience/target: dev Root document: https://www.tarantool.io/en/doc/latest/book/box/engines/memtx/#summary ? TBD SME: @ Mons, @ Totktonada

Details

There is a gap in the docs. All of the following hasn't been documented yet:

@ Mons can provide information on how this works in practice, @ Totktonada knows well how it works in theory.


Original message from @ Totktonada:

Regarding swap: I guess fast fail (OOM killer) is much more wishful in the general case comparing to dramatically degraded performance (near to the level of full service unavailability).

Regarding sysctl vm.overcommit_memory: it is better to say that memtx_memory is incorrect on starting rather than be hit by the physical memory limit during work.

I guess @Mons can share experience of projects-in-production.

Totktonada commented 3 years ago

What kind of feedback is needed and from who?