Skip to content

Commit 14a5775

Browse files
author
Qi Li (leeli4)
committed
readme
1 parent 0bc8487 commit 14a5775

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

README.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,39 @@ All the diagram generated have a red warning line to indicate where is the Commi
3535
* Allocated Memory per Process vs Total Allocated Memory(Commited_AS)
3636
* Total Allocated Memory(Commited_AS) vs Physical Memory Usage(RSS)
3737

38+
## Recommended CommitLimit
39+
vm.overcommit_ratio can be calculated with the following formular
40+
```
41+
100(CommitLimit - SWAP) / (total_RAM - total_huge_TLB) = vm.overcommit_ratio
42+
```
43+
After data collection, the code will list the maximum Commited_AS + Buffer and recommend that as CommitLimit
44+
45+
```
46+
* COLUMN:
47+
Mean: 1.59283e+07
48+
Std Dev: 926.0038
49+
Sample StdDev: 1069.2571
50+
Skewness: 0.3991
51+
Kurtosis: 1.5237
52+
Avg Dev: 855.0000
53+
Sum: 6.37133e+07
54+
Sum Sq.: 1.01485e+15
55+
56+
Mean Err.: 463.0019
57+
Std Dev Err.: 327.3918
58+
Skewness Err.: 1.2247
59+
Kurtosis Err.: 2.4495
60+
61+
Minimum: 1.59274e+07 [2]
62+
Maximum: 1.59297e+07 [0]
63+
Quartile: 1.59275e+07
64+
Median: 1.59281e+07
65+
Quartile: 1.59292e+07
66+
67+
Recommended CommitLimit: 15929672.0
68+
Please add some buffer range based on the Recommended CommitLimit
69+
```
70+
3871
## Example Usage
3972
Customer has configured the following settings to only allow 50 percent of total memory to get allocated in the system.
4073
```

0 commit comments

Comments
 (0)