Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp620497ybi; Fri, 7 Jun 2019 13:51:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqzj56cvofflsZnrcsCC6whKOOe60osZNUGssLtDVUVjzQTv3jYZ4G33vkivSRANQMc5mN0m X-Received: by 2002:a17:902:9b85:: with SMTP id y5mr57240635plp.313.1559940676094; Fri, 07 Jun 2019 13:51:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559940676; cv=none; d=google.com; s=arc-20160816; b=gSd3zhivlsqkxiEXKVF5nNx3YaxTJc+TJ6zHTyM7ino+C89faKa0BTR81ahbpUPBQ1 1OuMv6jvzeUk7KzNNE3rbJ4dP6RukBIkl0WZ7VBTNhqwwu32LZo3STXnQkHVcLsA50ly d9E9ANcJOWltueRSRvx9Zge+AC75LRYYeesP6jaw5R53+OOWCrBzxzEbbsp226V1ZGbk kACdPbHq1HtBzw2YVdnwZf/z2dt75joa/ng+mEPywqAE7poSVubg339EG9exHNW56ZEn BaMqZlBISIE4PEfVpbaIdVahuoub6TJnFxMVbNu+0fA4Hi2k9c4I7L8cReoTaxXL4zeK p9Eg== 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=fgbtNYGQLt4sgRXnnYO1xQKq/bNZGLdlwietTzcOxxQ=; b=uG3ucgdivwnnS271EBAXD7O7sGDglSgYpOWA58zRArWPP2WL82OMqrqa+1bMKtNQ/l NtBDdj1ULug/F+IhKeY/Icjsj2AOEQM1OArzfz7BVFV7dPho1c395nAz5foJRf5zv4Jn cLdSSGNQwsNG21RoZsmT5rb5nD/0v+AgFCAaTcebal3vPVwBcSu4ucm38yyRtfBM95KS 7j1UJ82ZP6T2UVgaYmpTjmbHheJDowgYSjpWy0lyrfffde+Egcgu20rz4yqEJmYiKFen /h1VKUHNX37+Due0OWVqUMTjaU07h7we8jz9MyPlZN7wQBS0fXxwakhV9ebnIlWJdEJG JNDQ== 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 r23si3031730pgj.234.2019.06.07.13.50.59; Fri, 07 Jun 2019 13:51:16 -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 S1730242AbfFGUtz convert rfc822-to-8bit (ORCPT + 99 others); Fri, 7 Jun 2019 16:49:55 -0400 Received: from lithops.sigma-star.at ([195.201.40.130]:46594 "EHLO lithops.sigma-star.at" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729640AbfFGUtz (ORCPT ); Fri, 7 Jun 2019 16:49:55 -0400 Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id 88DA9608310F; Fri, 7 Jun 2019 22:49:53 +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 rHXN-8rB8r0w; Fri, 7 Jun 2019 22:49:52 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id D7FA46074CFD; Fri, 7 Jun 2019 22:49:52 +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 JNgeMnXRlRNU; Fri, 7 Jun 2019 22:49:52 +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 AEF6A608310F; Fri, 7 Jun 2019 22:49:52 +0200 (CEST) Date: Fri, 7 Jun 2019 22:49:52 +0200 (CEST) From: Richard Weinberger To: Emil Lenngren Cc: linux-mtd , Sebastian Andrzej Siewior , linux-kernel , Michele Dionisio Message-ID: <1342653998.84700.1559940592644.JavaMail.zimbra@nod.at> In-Reply-To: References: <20190515210202.21169-1-richard@nod.at> <1644731533.84685.1559938164477.JavaMail.zimbra@nod.at> Subject: Re: [PATCH] ubifs: Add support for zstd compression. 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.8_GA_3025 (ZimbraWebClient - FF60 (Linux)/8.8.8_GA_1703) Thread-Topic: ubifs: Add support for zstd compression. Thread-Index: i0naAnpf5ado1iIuaToqoo7bNUnLng== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org ----- Ursprüngliche Mail ----- > Von: "Emil Lenngren" > An: "richard" > CC: "linux-mtd" , "Sebastian Andrzej Siewior" , "linux-kernel" > , "Michele Dionisio" > Gesendet: Freitag, 7. Juni 2019 22:27:09 > Betreff: Re: [PATCH] ubifs: Add support for zstd compression. >> So I'm not sure what is the best choice for the default filesystem. > > My idea was at the end, i.e. it will only be used when LZO and ZLIB > are not selected to be included for UBIFS, for example when someone > compiles a minimal kernel who knows exactly which compression > algorithms will be used on that system. BTW: you can always select the compressor using the compr= mount option. Also for the default filesystem. Putting it at the end does not harm but IMHO the use is little. But for the sake of completes, I agree with you. Can you send a follow-up patch? > I did a single test today and compared lzo and zstd and on that test > lzo had faster decompression speed but resulted in larger space. I'll > do more tests later. Can you please share more details? I'm interested what CPU this was. Thanks, //richard