Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1019042ybl; Sat, 17 Aug 2019 16:33:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqx3coWGI03rBUVzrcLQEKNz/b3f95rTnwgC1sMdKKm9wj78B7Ws+QZiEIBoCc4skxRsF/7P X-Received: by 2002:a17:902:f217:: with SMTP id gn23mr15729722plb.21.1566084787324; Sat, 17 Aug 2019 16:33:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566084787; cv=none; d=google.com; s=arc-20160816; b=YvjDM91B5QnI92U24L3F9fpLZ9sZDh9QW4HLn9fRsMP32B8vvhtKDorUacLQszU4kh VVc+Yg2hDTqLjfx7wUFstrv+aZe1tJqbv5krUeoX6FHhAHypPF+pC9bjDCGZzSeFUzBK 6EBgezzNOl3nXJ6FdGTmMaJ4BNc5HsXY2CnFRjMyPCwZLAMuqWteeEIOS57XSMWqpRea kN3EpQGaknUkSlSyh7S73o52XEAJixpWV1tCUpwRNKgZxiluxQ4NOW1Dvy9Q6Q85utuD vnE0l/6z1y/6YKS9xJMSxW5g0j5U70XphaS51CEKgF948Wd8E9f8tY0q2PL67kZ7NY+H ouEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:thread-index:thread-topic :content-transfer-encoding:mime-version:subject:references :in-reply-to:message-id:cc:to:from:date; bh=2qlvtm1akk1bo9K5Ce2xgOioOSixX+LbfJEVt0Fye+s=; b=o1s7lG1N7rB5ru/V8j6zkeIkVmLw5PdrjTfrAfJQ0It/mLux/8MYmywZGTmnw38fT5 M2/u4/zdXCDiv6qx62DsBM0qtXNnEkx9Ksv6Umi1KzglMjxPykkXQzJnhzNj1iwf0xzL oZwTwoK/LWK1WZ6AJ96PTPvLON4q8wEqoLMu4UTAo1BEZD0mLU+s6BbAu276rrwKMvV0 YSpnecHyT0jlI+M52ZTl9Prf9pJZAmlepZfYZtg7fEB6uMPVXSEua843e5sIz2dDd940 E2pULilCWDd1jPsCsEBPvG+ZdOnCFm1D4zzqEGWOVWhQ2M06vStzdTlASNbWWJSRjFq5 k3RQ== 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 16si7212173pfc.213.2019.08.17.16.32.22; Sat, 17 Aug 2019 16:33:07 -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 S1726294AbfHQX0C convert rfc822-to-8bit (ORCPT + 99 others); Sat, 17 Aug 2019 19:26:02 -0400 Received: from lithops.sigma-star.at ([195.201.40.130]:43534 "EHLO lithops.sigma-star.at" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726045AbfHQX0C (ORCPT ); Sat, 17 Aug 2019 19:26:02 -0400 Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id 70CEF6083139; Sun, 18 Aug 2019 01:25:59 +0200 (CEST) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id cO1ZOsJcBe06; Sun, 18 Aug 2019 01:25:59 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id 094F3608311C; Sun, 18 Aug 2019 01:25:59 +0200 (CEST) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id lRtR3EyXAiKz; Sun, 18 Aug 2019 01:25:58 +0200 (CEST) Received: from lithops.sigma-star.at (lithops.sigma-star.at [195.201.40.130]) by lithops.sigma-star.at (Postfix) with ESMTP id 63195621FCC8; Sun, 18 Aug 2019 01:25:58 +0200 (CEST) Date: Sun, 18 Aug 2019 01:25:58 +0200 (CEST) From: Richard Weinberger To: Gao Xiang Cc: Greg Kroah-Hartman , Al Viro , linux-fsdevel , devel , linux-erofs , linux-kernel , Andrew Morton , Stephen Rothwell , tytso , Pavel Machek , David Sterba , Amir Goldstein , Christoph Hellwig , Darrick , Dave Chinner , Jaegeuk Kim , Jan Kara , torvalds , Chao Yu , Miao Xie , Li Guifu , Fang Wei , Gao Xiang Message-ID: <1163995781.68824.1566084358245.JavaMail.zimbra@nod.at> In-Reply-To: <20190817220706.GA11443@hsiangkao-HP-ZHAN-66-Pro-G1> References: <20190817082313.21040-1-hsiangkao@aol.com> <1746679415.68815.1566076790942.JavaMail.zimbra@nod.at> <20190817220706.GA11443@hsiangkao-HP-ZHAN-66-Pro-G1> Subject: Re: [PATCH] erofs: move erofs out of staging MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT X-Originating-IP: [195.201.40.130] X-Mailer: Zimbra 8.8.12_GA_3807 (ZimbraWebClient - FF60 (Linux)/8.8.12_GA_3809) Thread-Topic: erofs: move erofs out of staging Thread-Index: iW3vMR6GAc7F9NKtTVkkNSt0c7Y/uQ== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org ----- Ursprüngliche Mail ----- >> How does erofs compare to squashfs? >> IIUC it is designed to be faster. Do you have numbers? >> Feel free to point me older mails if you already showed numbers, >> I have to admit I didn't follow the development very closely. > > You can see the following related material which has microbenchmark > tested on my laptop: > https://static.sched.com/hosted_files/kccncosschn19eng/19/EROFS%20file%20system_OSS2019_Final.pdf > > which was mentioned in the related topic as well: > https://lore.kernel.org/r/20190815044155.88483-1-gaoxiang25@huawei.com/ Thanks! Will read into. While digging a little into the code I noticed that you have very few checks of the on-disk data. For example ->u.i_blkaddr. I gave it a try and created a malformed filesystem where u.i_blkaddr is 0xdeadbeef, it causes the kernel to loop forever around erofs_read_raw_page(). Thanks, //richard