Closed emmurphy1 closed 2 years ago
= Latency improvement by minimizing memory swapping
[role="_abstract"] Swapping pages to disk can introduce latency in any environment. To ensure low latency, ensure that you have enough memory in your systems, so that swapping is not necessary. Always size the physical RAM as appropriate for your application and system.
Use the [command]vmstat
command to monitor memory usage and watch the [parameter]si
(swap in) and [parameter]so
(swap out) fields. It is optimal that they remain zero as much as possible.
See Issue 119 for the discussion.