memgraph / documentation

The official documentation for Memgraph open-source graph database.
https://memgraph.com/docs
MIT License
9 stars 5 forks source link

Give more details on how to set vm.max_map_count #529

Closed gitbuda closed 2 months ago

gitbuda commented 3 months ago

especially for the larger amounts of system memory

e.g. https://docs.actian.com/vector/5.0/User/Increase_max_map_count_Kernel_Parameter_(Linux).htm says "where map_count should be around 1 per 128 KB of system memory" For memgraph that number is probably different, but we should come with a table like:

gitbuda commented 3 months ago

@antoniofilipovic what are the recommended values for Memgraph depending on the available RAM under the system?

antoniofilipovic commented 2 months ago

I would recommend following also this link: https://docs.actian.com/vector/5.0/index.html#page/User/Increase_max_map_count_Kernel_Parameter_(Linux).htm link

Here are suggestions @kgolubic:

Afterward, you need to run: sudo sysctl -p

kgolubic commented 2 months ago

We already have the info similar to the one that you referred to (https://docs.actian.com/vector/5.0/User/Increase_max_map_count_Kernel_Parameter_(Linux).htm ). Our docs are located at https://memgraph.com/docs/configuration/system-configuration#increasing-memory-map-areas an this is the place where I'll add this table.

image