Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp756069pxk; Thu, 24 Sep 2020 18:38:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyXSDuj07COrZErdQ6xlZDTpZL8ivt4U4HoEK6/nKpiwx1YxWXP0ZLgwEgtTNsBeOJFADVQ X-Received: by 2002:a17:906:f6c6:: with SMTP id jo6mr428729ejb.251.1600997933682; Thu, 24 Sep 2020 18:38:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600997933; cv=none; d=google.com; s=arc-20160816; b=nTFBJUALZRh3d6L3f4noCwQprD9LL0OyiVeWaRQ4v9n+H7Kemwo1WFVNJYRWmYQ6fV l8VQLOMx0wt4oJtPmlxfBmrs6MT0U7g4k88jfPDf3bREMa7XL55oUumpchPiwJZN48vB /2SUPIN0TvLlldFV6Atf+7hIfHBHjvyTaM5ZKS/2mAsf+Vypc3QmUPyC4UlRUUrTwMDn pH4Pi6vzOsPHPuaefhSNLxcbTMPQpmro82zNKVBcwJFSuv6gRKdvdm/snVsYA5VFb0Cn LQGOhD7+/Ndj0ojqT2Mzq/syDkFhQ18egsSkbUcPEeEXx0Fef+LjfBnuHjaks1n2pgbv xeNw== 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=fgmv1ZdL7UUXwEEal/l25It5GrSTWQVpHodie+cr1w0=; b=JeYllEQZO8cpB4xYiE3Vokl6zysTfksjbSjf7vGiqISfkIi/98BtHGtPxmUR1qQDEj RsjqxPYwSXpwjSA686dWePzm0O599DFbBRWe/OZ1Ecj9DLXwGJibArm9d0M89gCtc9to OGoq9AATI558O8tSu248iQkKppWm9uAzaMxWtdsaYqbCqNoTgyqifqP35e/zJByt9Zh/ 8ZCqNtKOnQ0SErN/Kupskw2nnB9JRBLwvRc2aSnKkqV7H4jNEyt6VSqeERDx6CmgsgMa pvBYuNEfKi0bU5nE4asRwLr0IEoPDyavFG+jBroj1eFWqIB4XUEvvuY4EFmlAE8e6eCK AmGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="JRYOS6/E"; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u23si795086edq.185.2020.09.24.18.38.28; Thu, 24 Sep 2020 18:38:53 -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=@gmail.com header.s=20161025 header.b="JRYOS6/E"; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726843AbgIYBgH (ORCPT + 99 others); Thu, 24 Sep 2020 21:36:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47610 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726704AbgIYBgH (ORCPT ); Thu, 24 Sep 2020 21:36:07 -0400 Received: from mail-pf1-x444.google.com (mail-pf1-x444.google.com [IPv6:2607:f8b0:4864:20::444]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2F8AEC0613CE; Thu, 24 Sep 2020 18:36:07 -0700 (PDT) Received: by mail-pf1-x444.google.com with SMTP id o20so1576598pfp.11; Thu, 24 Sep 2020 18:36:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=fgmv1ZdL7UUXwEEal/l25It5GrSTWQVpHodie+cr1w0=; b=JRYOS6/EWijo06SB1EWdfUNPiLTpKE4BWfZ0U4z5NiWUiGwaLLEqBs82QOWSq7GHC/ Lg0nuso6br2icKGo48MjaGPbXt5XfW+FuOep9LZ2ZL0UgBjAiyXvLvw+nU+81bi+nlID UiABi7ZcXRSWMSOkl541UuJvrGPaFFf8TcNRndTcWBo71DcNu87UqP4PY0icMqLb/S4N vtzUMuvt3t3P8x6O73AmiMAueQDgU0z+uV7hj+1vegevWLFaqER5uz+8cjRUOqXWyv27 14y6BlTCkF2D9NOMS0AdWMvO3p//u2+Qf4Tcni0GdmPnH7KSeAVIUvMMT2acozLbmbiR lUAA== 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=fgmv1ZdL7UUXwEEal/l25It5GrSTWQVpHodie+cr1w0=; b=nyxdUYn3y4jQ7cPWFnZyBNZDiCoMnd1zC/f7moFGHX9UIWCnKsEKrmvB87oGXK3Xpv 5EE4y3MtnPLXqIUISHEtr2DbhROtOHA59Ud8XXhFZ0SQrseXHhf8mxd8KmePSfcBasqP D7Amor6XLsEFNzdh6TAD3h4H1QMHQuJVuNPuaWTgq8ysupib82oHu70xCaTbigj9/FVN 5T44Pvb4cT5rNZyRosYhdld8F4qjstYAP/A3OzLAboOOJvZKEKy7PKed18SByY7z8IZx sPvicbIiM2dNZFC0nMZQGIc+z/IqnSoPYxo9547B+BjnoOkRva9vA5Vooe1bdkfpS8G3 y0UA== X-Gm-Message-State: AOAM532RaQ0J5v+lVgvnnYnUNRfgfxAUKhxPq+UdTIlea8Ue4X/IWzVr zFUSxM6WgH8MRSgjNZMp0nIqCVReBna1K0Pq6+Q= X-Received: by 2002:a17:902:7445:b029:d1:dea3:a3ca with SMTP id e5-20020a1709027445b02900d1dea3a3camr1876986plt.19.1600997766672; Thu, 24 Sep 2020 18:36:06 -0700 (PDT) MIME-Version: 1.0 References: <202009241646.5739BE3@keescook> In-Reply-To: <202009241646.5739BE3@keescook> From: YiFei Zhu Date: Thu, 24 Sep 2020 20:35:55 -0500 Message-ID: Subject: Re: [PATCH v2 seccomp 5/6] selftests/seccomp: Compare bitmap vs filter overhead To: Kees Cook Cc: Linux Containers , YiFei Zhu , bpf , kernel list , Aleksa Sarai , Andrea Arcangeli , Andy Lutomirski , Dimitrios Skarlatos , Giuseppe Scrivano , Hubertus Franke , Jack Chen , Jann Horn , Josep Torrellas , Tianyin Xu , Tobin Feldman-Fitzthum , Tycho Andersen , Valentin Rothberg , Will Drewry Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 24, 2020 at 6:47 PM Kees Cook wrote: > BTW, did this benchmark tool's results match your expectations from what > you saw with your RFC? (I assume it helped since you've included in > here.) Yes, I updated the commit message with the benchmarks of this patch series. Though, given that I'm running in a qemu-kvm on my laptop that has a lot of stuffs running on it (and with the cursed ThinkPad T480 CPU throttling), I had to throw much more syscalls at it to pass the "approximately equals" expectation... though no idea about what's going on with 732 vs 737. Or if you mean if I expected these results, yes. YiFei Zhu