Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp813258ybt; Wed, 1 Jul 2020 10:36:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxlWFkeVOAQcOyJqh8ZtzzSOEj8qBsjzubeum36yHSOKLHEBwV/Ra6GJHR5HBUbB5BfGaH6 X-Received: by 2002:aa7:c583:: with SMTP id g3mr30977205edq.228.1593624976877; Wed, 01 Jul 2020 10:36:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593624976; cv=none; d=google.com; s=arc-20160816; b=gSscODTZ8DIjOmlQI8YhNqHf+2a2N5USG60rajKUMSfljJyjIdauadPE/MVr6Q54Ku uzENan9bpQW8/jMsdSw6Xfk2ECXyCiSYtTEzND1S/A6QpNnC69GNI6lKEVPXJB5onAP6 HiqMe8h07gtcNv5wXESTXKlLjHq5cCUdscD5iDEfQ1DgAldoSFY7e4TuqxdTYiCt85Ax WERuOCb3jZuItm957gcZEuJklbfA7txg+IMuvNMLsxah4oSXrdB6FgHVKcDLwHVykYga GSHeByu/ZPio6O/CFptEcgrC2NGJmYQkJl7EGcNOMDsDTKqoMzmeLfF4B32ZUH8Sx6x9 sHwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:message-id :mime-version:in-reply-to:references:cc:to:subject:from:date :dkim-signature; bh=yg5S/NUNL47YSdgNtROl9qTsDiAs74YW8QyKnvmqWhE=; b=XKl1ZPCa0+UtUw385upWspfOfNMAJEaatW4Z6l0AE2Yu0oBaaVr45GKxZi/dLDwfk+ 1SMoXNxBvQkZEhvd+ng+cPXQjRLodb7hhjWp3nS+Zc8AIMOYGVij69ZTNgwqwvhSazRa odRR1mvhj0Z6AwM/M1ngkLypSByIKAXv1RBcGkFxheo33xwYy6gvG9sJcLRa/WN2Eb/z 7hhqYkBP3jzgjLJApiZJBfew9Z6/OyWJ193SUcQHCPq6qFiQ+20Jw2hDIUasVzrbOd5r IHkFcbVLsgRW39YVarqxRo+2uSWrburzBV01/ncGsvjliQqKVfrYFl8RvrHa97sTKY2q i5jQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@yahoo.ca header.s=s2048 header.b=XkZQI7Sg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=yahoo.ca Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l6si4196736edq.465.2020.07.01.10.35.53; Wed, 01 Jul 2020 10:36:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@yahoo.ca header.s=s2048 header.b=XkZQI7Sg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=yahoo.ca Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732755AbgGARc7 (ORCPT + 99 others); Wed, 1 Jul 2020 13:32:59 -0400 Received: from sonic317-20.consmr.mail.gq1.yahoo.com ([98.137.66.146]:42448 "EHLO sonic317-20.consmr.mail.gq1.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731171AbgGARc7 (ORCPT ); Wed, 1 Jul 2020 13:32:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.ca; s=s2048; t=1593624778; bh=yg5S/NUNL47YSdgNtROl9qTsDiAs74YW8QyKnvmqWhE=; h=Date:From:Subject:To:Cc:References:In-Reply-To:From:Subject; b=XkZQI7SgZevB/HSCapCAKYVp+qq80ltN6uxF+iFMMfhXQgWwqlDapnalgyxdyZC50Y92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ePGBMKf_Ff2EY4RCZs2VE3q kDTwYTmy6sOsvOc5bUbPNPLDTxaSZ2kCRFtbwNlTH6NFgiM.HhkhGrh_v9RfP.nOPCAcsM23kO51 LvOiqf3AtmEDuxiuFtpaVUE3aDyMJQZoxGSX.sFCu9T.LMHmsx9eFVGQ5zxl38dz1YzYqdvBmX08 hQyVHAwm4WBQJnhKS2g4l50gNZvBPPCjAkaOXuusOcXqPpRxylz24CQfj2tE5mpefdJvJlz864FI ktgBQ2QguFCDB96oHQyzXbA6N0iff_4Iq0ofIfPbDNjoUJ2RX3Pbg8geWoHG3Ctu0NcGYnlXwf56 9r7.Nmv67ZDger6LRgrRhAY0h3oZbzZNzBo8PSy9xy.B8KYv5E.raNH63wLVHb89FwbrmCuC.1hl jZKiUv6lJwNblWRFdCeE0aba25_dk50SmNZBnV3NTtWt.nix91oTFYfi3DdF0flcWs2nCf01_5Vr 3YEfwVsqHdVEm5zZZ9cmbsHU2Fls8B.SIVaKuaTk044PVOi4tfPJwgrzQKHF1bxxdxJxFA.mtk0v LM0KUrTK8GFK8f1Ra1YOoDbDn2NVi39RzeRs8FpF3AKf2B92.RMokHM5vTcVfEJcwrnAmuwrVc_Z ooh6xkCdD1O2CIMD3 Received: from sonic.gate.mail.ne1.yahoo.com by sonic317.consmr.mail.gq1.yahoo.com with HTTP; Wed, 1 Jul 2020 17:32:58 +0000 Received: by smtp431.mail.ne1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID db7213753695a442c5a3fafca2fca709; Wed, 01 Jul 2020 17:32:55 +0000 (UTC) Date: Wed, 01 Jul 2020 13:32:52 -0400 From: "Alex Xu (Hello71)" Subject: Re: Kernel compression benchmarks To: Gao Xiang Cc: Chris Mason , gregkh@linuxfoundation.org, Kees Cook , Kernel Team , Adam Borowski , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, mingo@kernel.org, Nick Terrell , Norbert Lange , Petr Malat , Patrick Williams , Patrick Williams , rmikey@fb.com, Sedat Dilek , Nick Terrell , x86@kernel.org References: <20200701153028.GA30962.ref@hsiangkao-HP-ZHAN-66-Pro-G1> <20200701153028.GA30962@hsiangkao-HP-ZHAN-66-Pro-G1> In-Reply-To: <20200701153028.GA30962@hsiangkao-HP-ZHAN-66-Pro-G1> MIME-Version: 1.0 Message-Id: <1593624505.w282woxb43.none@localhost> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Mailer: WebService/1.1.16197 hermes_yahoo Apache-HttpAsyncClient/4.1.4 (Java/11.0.7) Content-Length: 1026 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Excerpts from Gao Xiang's message of July 1, 2020 11:50 am: > Anyway, I think LZMA (xz) is still useful and which is more > friendly to fixed-sized output compression than Zstd yet (But > yeah, I'm not familar with all ZSTD internals. I will dig > into that if I've more extra time). Yes, I agree. If you look at the graphs, LZMA2 (xz/7zip) still produces=20 smaller results, even compared to zstd maximum settings, so definitely=20 LZMA2 should be kept, at least for now. I am only suggesting removing=20 LZMA, since it has no benefits over xz and zstd combination (bigger than=20 xz, slower than zstd). >> - modern compressors (xz, lz4, zstd) decompress about as fast for each=20 >> compression level, only requiring more memory >=20 > lz4 has fixed sliding window (dictionary, 64k), so it won't > require more memory among different compression level when > decompressing. Yes, this is true. I tried to simplify among all compressors, but I=20 think I simplified too much. Thanks for clarifying. Cheers, Alex.