From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753036AbcDSIIa (ORCPT ); Tue, 19 Apr 2016 04:08:30 -0400 Received: from mail-pf0-f178.google.com ([209.85.192.178]:35924 "EHLO mail-pf0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753013AbcDSII0 (ORCPT ); Tue, 19 Apr 2016 04:08:26 -0400 Date: Tue, 19 Apr 2016 17:08:21 +0900 From: Sergey Senozhatsky To: Minchan Kim Cc: Sergey Senozhatsky , Andrew Morton , linux-kernel@vger.kernel.org, Sergey Senozhatsky Subject: Re: zram: per-cpu compression streams Message-ID: <20160419080821.GB537@swordfish> References: <20160330083419.GA2769@swordfish> <20160330221233.GA6736@bbox> <20160331012626.GB1758@swordfish> <20160331055355.GD6736@bbox> <20160331063416.GA3343@swordfish> <20160401153829.GA1212@swordfish> <20160404002757.GC5833@bbox> <20160404011702.GB6164@swordfish> <20160418075758.GA1983@swordfish> <20160419080025.GE18448@bbox> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160419080025.GE18448@bbox> User-Agent: Mutt/1.6.0 (2016-04-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Minchan, On (04/19/16 17:00), Minchan Kim wrote: > Great! > > So, based on your experiment, the reason I couldn't see such huge win > in my mahcine is cache size difference(i.e., yours is twice than mine, > IIRC.) and my perf stat didn't show such big difference. > If I have a time, I will test it in bigger machine. quite possible it's due to the cache size. [..] > > NOTE: > > -- fio seems does not attempt to write to device more than disk size, so > > the test don't include 're-compresion path'. > > I'm convinced now with your data. Super thanks! > However, as you know, we need data how bad it is in heavy memory pressure. > Maybe, you can test it with fio and backgound memory hogger, yeah, sure, will work on it. > Thanks for the test, Sergey! thanks! -ss