From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752563AbbI3Phj (ORCPT ); Wed, 30 Sep 2015 11:37:39 -0400 Received: from mx2.suse.de ([195.135.220.15]:45441 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751279AbbI3Phi (ORCPT ); Wed, 30 Sep 2015 11:37:38 -0400 Subject: Re: [PATCH 0/3] allow zram to use zbud as underlying allocator To: Vitaly Wool , Minchan Kim References: <20150914154901.92c5b7b24e15f04d8204de18@gmail.com> <20150915061349.GA16485@bbox> Cc: Sergey Senozhatsky , Dan Streetman , LKML , Linux-MM , =?UTF-8?B?6rmA7KSA7IiY?= , Gioh Kim From: Vlastimil Babka Message-ID: <560C01BF.3040604@suse.cz> Date: Wed, 30 Sep 2015 17:37:35 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 09/25/2015 11:54 AM, Vitaly Wool wrote: > Hello Minchan, > > the main use case where I see unacceptably long stalls in UI with > zsmalloc is switching between users in Android. > There is a way to automate user creation and switching between them so > the test I run both to get vmstat statistics and to profile stalls is > to create a user, switch to it and switch back. Each test cycle does > that 10 times, and all the results presented below are averages for 20 > runs. > > Kernel configurations used for testing: > > (1): vanilla > (2): (1) plus "make SLUB atomic" patch [1] > (3): (1) with zbud instead of zsmalloc > (4): (2) with compaction defer logic mostly disabled Disabling compaction deferring leads to less compaction stalls? That indeed looks very weird and counter-intuitive. Also what's "mostly" disabled mean?