From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752690AbcD0HmG (ORCPT ); Wed, 27 Apr 2016 03:42:06 -0400 Received: from mail-pf0-f179.google.com ([209.85.192.179]:35756 "EHLO mail-pf0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752327AbcD0HmD (ORCPT ); Wed, 27 Apr 2016 03:42:03 -0400 Date: Wed, 27 Apr 2016 16:43:35 +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: <20160427074335.GC7601@swordfish> References: <20160331012626.GB1758@swordfish> <20160331055355.GD6736@bbox> <20160331063416.GA3343@swordfish> <20160401153829.GA1212@swordfish> <20160404002757.GC5833@bbox> <20160404011702.GB6164@swordfish> <20160418075758.GA1983@swordfish> <20160419080025.GE18448@bbox> <20160426112305.GA1155@swordfish> <20160427072954.GA29816@bbox> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160427072954.GA29816@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, On (04/27/16 16:29), Minchan Kim wrote: [..] > > the test: > > > > -- 4 GB x86_64 box > > -- zram 3GB, lzo > > -- mem-hogger pre-faults 3GB of pages before the fio test > > -- fio test has been modified to have 11% compression ratio (to increase the > > chances of re-compressions) > > Could you test concurrent mem hogger with fio rather than pre-fault before fio test > in next submit? this test will not prove anything, unfortunately. I performed it; and it's impossible to guarantee even remotely stable results. mem-hogger process can spend on pre-fault from 41 to 81 seconds; so I'm quite sceptical about the actual value of this test. > > considering buffer_compress_percentage=11, the box was under somewhat > > heavy pressure. > > > > now, the results > > Yeb, Even, recompression case is fater than old but want to see more heavy memory > pressure case and the ratio I mentioned above. I did quite heavy testing over the last 7 days, with numerous OOM kills and OOM panics. -ss