Messages in this thread Patch in this message | | | From | Dave Rodgman <> | Subject | [PATCH 8/8] zram: default to lzo-rle instead of lzo | Date | Fri, 30 Nov 2018 14:26:31 +0000 |
| |
lzo-rle gives higher performance and similar compression ratios to lzo.
Testing with 80 browser tabs showed a 27% reduction in total time spent (de)compressing data during swapping.
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com> --- drivers/block/zram/zram_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/block/zram/zram_drv.c b/drivers/block/zram/zram_drv.c index 58b025c5c83e..b8dc0976e385 100644 --- a/drivers/block/zram/zram_drv.c +++ b/drivers/block/zram/zram_drv.c @@ -41,7 +41,7 @@ static DEFINE_IDR(zram_index_idr); static DEFINE_MUTEX(zram_index_mutex); static int zram_major; -static const char *default_compressor = "lzo"; +static const char *default_compressor = "lzo-rle"; /* Module params (documentation at end) */ static unsigned int num_devices = 1; -- 2.17.1
| |