Recommended RAM provisioning for Linux OS ressources after having properly sized for Namespace Indexes, Secondary Indexes, and Namespace Data (if data is in RAM).
As a general guideline we recommend reserving 10-15% of the total physical memory for Linux system ressources. Experience has shown us that this value will help avoid OOM issues. This recommendation is to take account for memory fragmentation, Linux and services, and Aerospike RAM not used by the Namespace/Secondary Indexes.
Be sure to properly size all components that influence memory:
- Overhead from Linux and services.
- Overhead caused by memory fragmentation.
- Overhead from Aerospike indexes (primary & secondary), and Namespace data for data-in-memory namespaces. Please see our capacity planning doc.(http://www.aerospike.com/docs/operations/plan/capacity/)
- Overhead from cache and queue related configurations including max-write-cache (per device) and post-write-queue (per device).
- Overhead from the Aerospike process .