File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ pub fn start(config: &Config) -> Result<ZswapBackup> {
9999 // Default to "1" because if start() is called, zswap should be enabled
100100 let enabled = config. get ( "zswap_enabled" ) . unwrap_or ( "1" ) ;
101101 let compressor = config. get ( "zswap_compressor" ) . unwrap_or ( "lz4" ) ; // LZ4 for speed
102- let max_pool_percent = config. get ( "zswap_max_pool_percent" ) . unwrap_or ( "25 " ) ; // Unified 25 %
102+ let max_pool_percent = config. get ( "zswap_max_pool_percent" ) . unwrap_or ( "50 " ) ; // Unified 50 %
103103 let zpool = config. get ( "zswap_zpool" ) . unwrap_or ( "zsmalloc" ) ; // zsmalloc (z3fold removed in newer kernels)
104104 let shrinker_enabled = config. get ( "zswap_shrinker_enabled" ) . unwrap_or ( "1" ) ; // Enable shrinker
105105 let accept_threshold = config. get ( "zswap_accept_threshold" ) . unwrap_or ( "90" ) ;
You can’t perform that action at this time.
0 commit comments