f2fs: Tune intervals

Following: [init.rc: Tune F2FS and dirty writeout policy for modern devices]
3f0e715129

Change-Id: I34fe1c76e874f42d52a3a87381421b21f2e5ade5
Signed-off-by: Richard Raya <rdxzv.dev@gmail.com>
This commit is contained in:
Richard Raya 2024-12-31 01:19:39 -03:00
parent a8d7b20544
commit 3863eb9f33
2 changed files with 2 additions and 2 deletions

View File

@ -235,7 +235,7 @@ enum {
#define DEF_MAX_DISCARD_ISSUE_TIME 60000 /* 60 s, if no candidates */
#define DEF_DISCARD_URGENT_UTIL 80 /* do more discard over 80% */
#define DEF_MAX_DISCARD_URGENT_ISSUE_TIME 10000 /* 10 s, if no candidates on high utilization */
#define DEF_CP_INTERVAL 200 /* 200 secs */
#define DEF_CP_INTERVAL 6000 /* 6000 secs */
#define DEF_IDLE_INTERVAL 5 /* 5 secs */
#define DEF_DISABLE_INTERVAL 5 /* 5 secs */
#define DEF_DISABLE_QUICK_INTERVAL 1 /* 1 secs */

View File

@ -10,7 +10,7 @@
* whether IO subsystem is idle
* or not
*/
#define DEF_GC_THREAD_URGENT_SLEEP_TIME 5 /* 5 ms */
#define DEF_GC_THREAD_URGENT_SLEEP_TIME 200 /* 200 ms */
#define DEF_GC_THREAD_MIN_SLEEP_TIME 30000 /* milliseconds */
#define DEF_GC_THREAD_MAX_SLEEP_TIME 60000
#define DEF_GC_THREAD_NOGC_SLEEP_TIME 300000 /* wait 5 min */