Skip to content

Commit

Permalink
mm: vmscan: adjust swappiness rates
Browse files Browse the repository at this point in the history
* 130 on 4GB RAM
* 80 on 6/8GB RAM
  • Loading branch information
ananjaser1211 committed Dec 16, 2023
1 parent 26f377b commit 885e3b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mm/vmscan.c
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,9 @@ struct scan_control {
* From 0 .. 100. Higher means more swappy.
*/
#if defined(CONFIG_OIS_USE_RUMBA_S6)
int vm_swappiness = 60;
int vm_swappiness = 80;
#else
int vm_swappiness = 160;
int vm_swappiness = 130;
#endif
/*
* The total number of pages which are beyond the high watermark within all
Expand Down

0 comments on commit 885e3b2

Please sign in to comment.