Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp6672766pxv; Thu, 29 Jul 2021 22:34:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwEOgTKIVUrVMCLeRw9CxrjS5UORwma2v07ieyHmMslGU3RZjagUWx1mQcoUt0erGprAjLE X-Received: by 2002:a17:906:8443:: with SMTP id e3mr970386ejy.46.1627623295616; Thu, 29 Jul 2021 22:34:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627623295; cv=none; d=google.com; s=arc-20160816; b=qkxW32qcJ7MrIklJosEUNZMHqJcv3FnO/klRN21nD+jg9+16ocZblPIRDS+YqWUain 419MBmK6QsmlbqfSnmaDpQi29V9cU66K4wgg3waGOBOBH4sLISe9SPgsv9QvQPoqRBWQ HWNxPU9og65nDqNW59hckgvtzw7iCWbLbbp9YrQ41qvdxzgHqUa0OGuylWvJwb3CMtDQ FBbNbr6oxE/6iSKPAldRUhpaBnjKHwuepBE8oAqv/89L0FBmnkXV0uDP2NfLPl0KQ8KA 190Tzfp0jl4Yj9Iv981CDVwz++Sbo2RUoo+uP4+EfJzK38VcYJYlRFaCH3qxV0yGtBYg JEuQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=C1WY5v0DZXHTp8X+jU1XBLMpyZKc7p/7Jj3rqiqH4LA=; b=cTO4D6oI4cx4JHRkcDbGIr2oBZ4wSiLES8DmkUliuH+761DX9Z/F3hsGE5uqn3FeL9 J3TU3QT5DxP1I7Jf1KoC19z94DPVrpMXZMQmrlnzih+Yhe3pK6CaEyFu96hfEqtidXIk 2IwSrqbnJeR1wiETIsTmAWfRCFtDVEh9bH97BybnbvPUCxrdth4VpkuBe/Xmc0nKDE34 0cemCWXIkmwl0p6i211GXuUyE4C4KuyGbPMa41NjQ1CBxhfansmLi2KG5XsRgJHNV43P FKxnoJ/VTTFXZM3i5990IHGeMkqBWNbMhV3FGCh89Cw+Myv52auWA63YA2/QTcexqBxt SQRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=lSscHTft; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cw2si793869ejc.730.2021.07.29.22.34.26; Thu, 29 Jul 2021 22:34:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-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=@google.com header.s=20161025 header.b=lSscHTft; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236597AbhG3FeF (ORCPT + 99 others); Fri, 30 Jul 2021 01:34:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49224 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233424AbhG3FeE (ORCPT ); Fri, 30 Jul 2021 01:34:04 -0400 Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 46A50C0613C1 for ; Thu, 29 Jul 2021 22:33:59 -0700 (PDT) Received: by mail-wm1-x336.google.com with SMTP id l11-20020a7bcf0b0000b0290253545c2997so5541378wmg.4 for ; Thu, 29 Jul 2021 22:33:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=C1WY5v0DZXHTp8X+jU1XBLMpyZKc7p/7Jj3rqiqH4LA=; b=lSscHTftFvVptU0RS+B9xY4/Kl/vKO0fmd8RJGUtS0QJ7Cr+HIxgoDwzNcHLV2KcRq yaT6keM0oGDXc3g8ZUrvahCgeQ8zhc0bV9uDYtmXoO/w4FeCIKbeGql0cmwWkc9uMWNp 7J4wlepD4tHdJAgjt3sIf2nWEEpOnAVnSd3s25CSzaItqfe23aRogMnFmjUcQ0H8SVhj Qao+bSdulih83AGQIt98is8fwF9t6zY8EyA301QW4G1xdTWL5faEh+ATQZax/v91wtpJ fKK/bm2q5IXTx0xCN7WDvo7cKg67B0PK75se07A5oWQyPOfJLPWKax5F6WtOFWWqgXxO KjIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=C1WY5v0DZXHTp8X+jU1XBLMpyZKc7p/7Jj3rqiqH4LA=; b=R5SClkzqzLeFyc4D2tR6bZSmtr9bwSMxgb2FZHjgFbm9DHMNswVoA7Rrpxb2NNsMEt G2b0fVYYKkrzir+QKUnkeBmzTPL03q+Hi8K8+Xj0IoEK2QZR1Xp7C5B/4848jlBG+wtn 8CyUbI3eHFkuNiUwW3JwHqCyRIGxsRvis6l20Ac833BprG3nqB0wXDl5jjVsW3FeU5Es fY75X0AEY7G3M/u4niRTV5IXvDZJPR29Pmypd+k2DMF0SfPsdEXgkj2moYgAHPy6Z7Tt cuX8bh5HCEmZgUIFYBcavHHU7aCsD2cYqn5VeuW5nwSnx9WyXynpBvdIHxijyjdLAPCw GtIA== X-Gm-Message-State: AOAM530YarQ9mLGlJwFiJb+inQqnwhSyAFn/DNmiB17yeN03clCpASgT YurtGxcD301469xtxOHMpUbphUohWcOeNQ+ha06dmGkVuP+xgg== X-Received: by 2002:a1c:1dcf:: with SMTP id d198mr981162wmd.103.1627623237784; Thu, 29 Jul 2021 22:33:57 -0700 (PDT) MIME-Version: 1.0 References: <20210715213138.1363079-1-dlatypov@google.com> <20210715213138.1363079-2-dlatypov@google.com> <20210723064328.GA7986@gondor.apana.org.au> <20210730025544.GA12781@gondor.apana.org.au> In-Reply-To: <20210730025544.GA12781@gondor.apana.org.au> From: David Gow Date: Fri, 30 Jul 2021 13:33:46 +0800 Message-ID: Subject: Re: [RFC v1 1/2] crypto: tcrypt: minimal conversion to run under KUnit To: Herbert Xu Cc: Daniel Latypov , davem@davemloft.net, linux-crypto@vger.kernel.org, Brendan Higgins , Linux Kernel Mailing List , KUnit Development Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Fri, Jul 30, 2021 at 10:55 AM Herbert Xu wrote: > > On Fri, Jul 23, 2021 at 12:31:28PM -0700, Daniel Latypov wrote: > > > > Thanks, that makes a lot of sense. > > In that case, how useful would `kunit.py run` be? I.e. Do people > > mostly want to see numbers on bare metal? > > I think it's a mix of both. As in performance on bare metal and > under virtualisation may be of interest. I don't think you're going > to be going through kunit for the speed tests though, because you > need to supply module parameters for tcrypt to do that. FYI, there is a patch for kunit_tool which will allow kernel parameters to be passed through: https://patchwork.kernel.org/project/linux-kselftest/patch/20210715160819.1107685-1-dlatypov@google.com/ That being said, no-one's ever used any of the KUnit tooling for performance testing before, as far as I know, so whether or not it turns out to be useful or not remains to be seen. With this patch, it'd at least be an option if you wanted to try it. -- David