Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp4032094ybg; Fri, 25 Oct 2019 12:20:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqzrB00bABjhk6LkIsxIAbezs1RdQSFsnGlmVQ64/wA/cx90nhilN9HOiY3Vbe0zSkzQMTq1 X-Received: by 2002:a17:906:3946:: with SMTP id g6mr4979788eje.49.1572031245818; Fri, 25 Oct 2019 12:20:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572031245; cv=none; d=google.com; s=arc-20160816; b=Di8lRJRNGaWmAWdURYq0KgZXaHNmhZzCx+6L66ASfbAiIBqzArXqqcRAAnxzuP1im/ gFK5Pts4xOcQ9Tkpya0bDEvR43GZs+O5YBR+4Bg81tTW9vxE9Ow2wcOGicJItQfHwxmN kFod84Ovd+s7nqFKWMt3QmAlCE77qvCWk+94kc71tjh2j6egqmeeb3luuta2X2oolYlo +OTTLF1ACpg3q0EAsl/ZLE6VzbGkZVrmYstAdXzZ8EqTD4EJGKE42a1yH+qBSRJjR4/E 5fZqSNWjhEJ1Kollg7MSwbMbcZJ2F6sH3xizStS89YfuaciQeZ6EnoFLgNUtyf6549Cs 3hZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=7WxoUm+59aHAJuMbL0Ay2oxcxCgO9nRylJEjHn9qR2k=; b=wXBIvCNNIbxlpgKkyTCMSi9rDGgU6BVq8dE4r+ITAOapt2mMMRJTT6BV0DPEuM/J+X 2qJ0Fdm/zdmxoznm/7vHaVPLBAl3+k4tqv0gQbHRYOV4FXiRS641ULUquZo4FqxLWgq7 GmXlUKKmOzkY7pfX5qvnSXuUFcwWZodOdsFMLDBlPu3NF+MW9KipkOyTVbhNC+DL+ODU Mh+Qelhl7dUJE5VDoVP4qquS1MVBvJJzMBJ6IpB7Ngc5GrzE5EWcc1A+0praM7u24UR+ U9NsgRvLQhy5tfOsxbfrZ5/EpYp4ztSr9NzNA9YDbnCzacTiYx6HYumge568mcIQKE4y PVxQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id qh2si1737823ejb.372.2019.10.25.12.20.22; Fri, 25 Oct 2019 12:20:45 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391083AbfJYCvA (ORCPT + 99 others); Thu, 24 Oct 2019 22:51:00 -0400 Received: from szxga03-in.huawei.com ([45.249.212.189]:2065 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1732696AbfJYCvA (ORCPT ); Thu, 24 Oct 2019 22:51:00 -0400 Received: from DGGEMM405-HUB.china.huawei.com (unknown [172.30.72.57]) by Forcepoint Email with ESMTP id 4208DBF4F971B1226BAC; Fri, 25 Oct 2019 10:50:56 +0800 (CST) Received: from dggeme762-chm.china.huawei.com (10.3.19.108) by DGGEMM405-HUB.china.huawei.com (10.3.20.213) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 25 Oct 2019 10:50:44 +0800 Received: from architecture4 (10.140.130.215) by dggeme762-chm.china.huawei.com (10.3.19.108) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Fri, 25 Oct 2019 10:50:44 +0800 Date: Fri, 25 Oct 2019 10:53:35 +0800 From: Gao Xiang To: Philippe Liard CC: , , , , Chao Yu Subject: Re: [PATCH] squashfs: Migrate from ll_rw_block usage to BIO Message-ID: <20191025025334.GA210047@architecture4> References: <20191018010846.186484-1-pliard@google.com> <20191025004531.89978-1-pliard@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20191025004531.89978-1-pliard@google.com> User-Agent: Mutt/1.9.4 (2018-02-28) X-Originating-IP: [10.140.130.215] X-ClientProxiedBy: dggeme706-chm.china.huawei.com (10.1.199.102) To dggeme762-chm.china.huawei.com (10.3.19.108) X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 25, 2019 at 09:45:31AM +0900, Philippe Liard wrote: > > Personally speaking, just for Android related use cases, I'd suggest > > latest EROFS if you care more about system overall performance more > > than compression ratio, even https://lkml.org/lkml/2017/9/22/814 is > > applied (you can do benchmark), we did much efforts 3 years ago. > > > > And that is not only performance but noticable memory overhead (a lot > > of extra memory allocations) and heavy page cache thrashing in low > > memory scenarios (it's very common [1].) > > Thanks for the suggestion. EROFS is on our radar and we will > (re)consider it once it goes out of staging. But we will most likely > stay on squashfs until this happens. EROFS is already out of staging in mainline right now, https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/fs/erofs/ If you agree on that, I'd suggest you try it right now since it's widely (200+ million devices on the market) deployed for our Android smartphones and fully open source and open community. I think this is not a regrettable attempt and we can response any question. https://lore.kernel.org/r/20191024033259.GA2513@hsiangkao-HP-ZHAN-66-Pro-G1 In my personal opinion, just for Android use cases, I think it is worth taking some time. Thanks, Gao Xiang