Modifying Cache Parameters
Purpose
Modify some cache parameter settings at the operating system layer to improve server performance.
Procedure
Modify the parameters based on the following table.
Linux Parameter |
Description |
Operation |
||||||
|---|---|---|---|---|---|---|---|---|
swappiness |
Policy of using the swap partition and memory. A larger value indicates more active use of the swap partition, and a smaller value indicates more active use of the memory. |
Set vm.swappiness to a small value 1 to reduce the swap partition usage.
|
||||||
dirty_ratio |
Percentage of dirty data allowed in the memory |
Set dirty_ratio to 5.
|
Parent topic: OS Tuning