Rate This Document
Findability
Accuracy
Completeness
Readability

Common OS Memory Parameters

The following table lists the common OS memory parameters.

Optimization Item

Description

dirty_background_bytes

Number of bytes in the dirty memory that triggers pflush background writeback

dirty_background_ratio

Percentage of dirty memory that triggers pflush background writeback

dirty_bytes

Number of bytes in the dirty memory that triggers a write process to start writeback.

dirty_ratio

Percentage of dirty memory that triggers a write process to start writeback.

dirty_expire_centisecs

Minimum time of dirty memory suitable for pflush

dirty_writeback_centisecs

pflush active time interval

nr_hugepages

The number of memory huge pages

max_map_count

The maximum number of memory mapping areas that can be used by a process

min_free_kbytes

The expected free memory

overcommit_memory

0: Allow reasonable overcommitment by using the exploration method.

1: Always allow overcommitment, which improves the performance of memory-intensive tasks.

2: Do not allow overcommitment.

swappiness

The degree to which the kernel tends to use paging to free memory

For details, see Documentation/sysctl/vm.txt.