From: Amos Jeffries Date: Sat, 29 Aug 2015 18:01:56 +0000 (-0700) Subject: Increase UFS removal rate to 300/s X-Git-Tag: SQUID_4_0_1~87 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7bcaf76ffaf577fa9dbf2d272eb5fe20b325c793;p=thirdparty%2Fsquid.git Increase UFS removal rate to 300/s ... by request of testers who report 250+ as better for current high performance traffic needs. --- diff --git a/src/cf.data.pre b/src/cf.data.pre index 0c9b0ce791..53e61cb82f 100644 --- a/src/cf.data.pre +++ b/src/cf.data.pre @@ -4015,7 +4015,7 @@ DOC_START by cache_swap_high object eviction becomes more agressive. The value difference in percentages between low- and high-water - marks represent an eviction rate of 200 objects per second and + marks represent an eviction rate of 300 objects per second and the rate continues to scale in agressiveness by multiples of this above the high-water mark. @@ -4043,7 +4043,7 @@ DOC_START eviction becomes more agressive. The value difference in percentages between low- and high-water - marks represent an eviction rate of 200 objects per second and + marks represent an eviction rate of 300 objects per second and the rate continues to scale in agressiveness by multiples of this above the high-water mark. diff --git a/src/fs/ufs/UFSSwapDir.cc b/src/fs/ufs/UFSSwapDir.cc index 552bb6e286..29845e444a 100644 --- a/src/fs/ufs/UFSSwapDir.cc +++ b/src/fs/ufs/UFSSwapDir.cc @@ -473,7 +473,7 @@ Fs::Ufs::UFSSwapDir::maintain() int max_scan = (int) (f * 400.0 + 100.0); // try to purge only this many objects this cycle. - int max_remove = (int) (f * 200.0 + 20.0); + int max_remove = (int) (f * 300.0 + 20.0); /* * This is kinda cheap, but so we need this priority hack?