Received: by 2002:a17:90a:1609:0:0:0:0 with SMTP id n9csp2404868pja; Thu, 26 Mar 2020 14:46:26 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsnIFrVdisbgG++Qd9JTffa69rIjpIxAGu32bt2J/36KsZIry0ZTnboHp47mf9m/Q30Wpkh X-Received: by 2002:aca:5208:: with SMTP id g8mr1729023oib.169.1585259185957; Thu, 26 Mar 2020 14:46:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585259185; cv=none; d=google.com; s=arc-20160816; b=vqgXNMzanI7s0zBxfoDV9CYksDmOXcRSAN52QLrMYxM/nBGM8CRiiWTrlAAmVQ2Wle TPGDk/l5qZnNcH6/Ioq/lXP5iwh2L2BtUNEaFkI3LgsbE381a82XT7iLeyhU5Cm5NP3l f9+bw1NSULQEndFYvHXCtmwAWIw0FwOkzKjqtAEW+KgrUjJG1i031HgYnhr0wMBN9Zt4 imB5dUXG4a05mvWwcwHIGrwMftZ7KvcZ2EJSvoMRvG90ngbMiCuqGIRdbO624x9Immzl l0QXArRFO3hxBlNARHGxd0RFrLalut6pHGVcgK6v1Ifi08W+0Z1qLvjhJCkHr3sHDZEL VGjA== 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:dkim-signature; bh=C+4lM45XTZukmqA+Vd7SePaQmncNUUq8lz2uA6qbpmo=; b=XQrBfdVwC3E0+0O/Y+21iaM7/cnMmn7FPbAYrcJc+nTSAhtkOaeQX7QhKkhaG6NugD opEB8iEo0r34r24uo2wjy1aATofPrPi/ti/FNSH+7RkHeGYI6ANU+2lE8p9/Hiyk9fX0 selYkU+5p/GhBqYQhz/cdlgI0POrLWdjkV6XQvOrO4HSIpvsAcXcuyvjnk4NGjUODUcl ADTHXcuYvGEmHVjMUq7u+NBwfQpVYdl/qH/Hv6mVlB32tJRK3CkZ7XXUZCZz0Rkbuxbd Aw0Lsc9C0aoYZukPgmdBPiEafmCcZRBVwUQYYOr8mPQElAQUegSEDRvwo0uhOfbLk7ZK yxzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@malat-biz.20150623.gappssmtp.com header.s=20150623 header.b=hMol9Oyb; 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 l21si232398otd.63.2020.03.26.14.46.13; Thu, 26 Mar 2020 14:46:25 -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; dkim=pass header.i=@malat-biz.20150623.gappssmtp.com header.s=20150623 header.b=hMol9Oyb; 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 S1727612AbgCZVob (ORCPT + 99 others); Thu, 26 Mar 2020 17:44:31 -0400 Received: from mail-wm1-f65.google.com ([209.85.128.65]:54067 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726270AbgCZVoa (ORCPT ); Thu, 26 Mar 2020 17:44:30 -0400 Received: by mail-wm1-f65.google.com with SMTP id b12so8926980wmj.3 for ; Thu, 26 Mar 2020 14:44:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=malat-biz.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=C+4lM45XTZukmqA+Vd7SePaQmncNUUq8lz2uA6qbpmo=; b=hMol9Oyb4KP20yY1HAFoFaWogw81z812WwY6QZxGCoUGm5W6ml2flQKMlDT/uuzOFR MSThiOe7a8Sju/CMsXnqMOci8aUSyp9q7ZCEzhvtoTpbejJwcC0lJ5vN2ywjlKvxW8D5 QQ3CN2yRIOLgkf8hdsnRoSPDCv+occfH+iVHNRA/5oo2RwIFhOYlXbSAfNrpt1wu0xmf XjBAvoMmhrq+hnbecmw+JPs4VsJECXHFtLWUn+8qcBvXaUbkaZJZRePsVzMAanu0cnSv ENHgDou+EI1Gdb/pyB0iJarhbLLrjk3B0X6bUUiFAnJfnOvsuF/mBo3hLLr8lL95cVtD oz4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=C+4lM45XTZukmqA+Vd7SePaQmncNUUq8lz2uA6qbpmo=; b=YSD6ScZNqNKGHD5T90C+i2TwIBFc6zWymqy6m6FoAanQ/SYBr3fWvF9CIlHREdjKhm MgsxdbQ80pjs+cypHG/pJotEB2g/XrFP/tAdLBkuw9SrOC2iJxkbe6PY4YszwNcOFJ7m 43+mHAi8woWs8GhR0uDUI/vHTVVcqwpzQe/kGmbtgclF/UI6gcS997qz7QSBvIJIudpv G+3l4PaWZKEwe2Bc91mYs+UhSm6J/Kiqg5elNQWX0HG9lLfRZ0RK1G3+Mr6KB1gulf1e ZoLNVcErtHXTa77zE1uQblwp+bD9cHYZl+zLTo6ig17Jr4h+gq56P759T2+rf0OPLniV zG1Q== X-Gm-Message-State: ANhLgQ3Tk9sfZYGALpointdbYCypLhl/rqhzvHjOXXYWUbZG6AqYd0BE kXD2pwufq4mJ8LjF43S0SX38BQ== X-Received: by 2002:a7b:c389:: with SMTP id s9mr2041169wmj.92.1585259068826; Thu, 26 Mar 2020 14:44:28 -0700 (PDT) Received: from ntb.petris.klfree.czf (p5B36386E.dip0.t-ipconnect.de. [91.54.56.110]) by smtp.gmail.com with ESMTPSA id b11sm5310706wrq.26.2020.03.26.14.44.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Mar 2020 14:44:28 -0700 (PDT) Date: Thu, 26 Mar 2020 22:44:19 +0100 From: Petr Malat To: Nick Terrell Cc: Nick Terrell , "linux-kernel@vger.kernel.org" , Chris Mason , "linux-kbuild@vger.kernel.org" , "x86@kernel.org" , "gregkh@linuxfoundation.org" , Kees Cook , Kernel Team , Adam Borowski , Patrick Williams , Michael van der Westhuizen , "mingo@kernel.org" , Patrick Williams Subject: Re: [PATCH v3 3/8] lib: add zstd support to decompress Message-ID: <20200326214419.GA13249@ntb.petris.klfree.czf> References: <20200325195849.407900-1-nickrterrell@gmail.com> <20200325195849.407900-4-nickrterrell@gmail.com> <20200326164732.GA17157@ntb.petris.klfree.czf> <611A224B-1CB3-4283-9783-87C184C8983A@fb.com> <20200326201634.GA9948@ntb.petris.klfree.czf> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 26, 2020 at 09:13:54PM +0000, Nick Terrell wrote: > >> What do you mean by that? Can you share with me the test you ran? > >> Is this for kernel decompression or initramfs decompression? > > Initramfs - you can apply my v2 patch on v5.5 and try with your test data. > > > > I have tested your patch also on ARMv7 platform and there the degradation > > was 8%. > > Are you comparing the performance of an 8 MB window size vs a 128 MB > window size? No, I use the same initramfs file with 2 different kernels for the test. I have removed if (params.windowSize > ZSTD_WINDOWSIZE_MAX) goto out; from your code. Petr