Skip to content

Commit

Permalink
mm: Set swappiness to 20
Browse files Browse the repository at this point in the history
This is the best ratio for a multi application device.

Signed-off-by: Ethan Halsall <[email protected]>
  • Loading branch information
ethan-halsall committed Jun 24, 2020
1 parent a975ba2 commit 785c41b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mm/vmscan.c
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ struct scan_control {
/*
* From 0 .. 100. Higher means more swappy.
*/
int vm_swappiness = 8;
int vm_swappiness = 20;
/*
* The total number of pages which are beyond the high watermark within all
* zones.
Expand Down

0 comments on commit 785c41b

Please sign in to comment.