Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp1366789rwe; Thu, 1 Sep 2022 17:50:54 -0700 (PDT) X-Google-Smtp-Source: AA6agR5WGG/uEZLjRhJH95ZlqunkLafIIh86OMrwtvwSu7nKgCYPmF2XMXD5LCzonp8v/Fx8tgjR X-Received: by 2002:a17:906:cc16:b0:73d:d16c:609f with SMTP id ml22-20020a170906cc1600b0073dd16c609fmr24550481ejb.691.1662079854030; Thu, 01 Sep 2022 17:50:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662079854; cv=none; d=google.com; s=arc-20160816; b=hPLUk/7hKaX29uvW8Oz/GFxrJ9ayT9x0sntnU4iJpqPultMbOQIwrBW0zvlK1jxGNL lc36JyhQUCJMuJPRLhgT/WhIftaZBiEgVZQS0+hb81iKHt+7P6XaQ/n4PEz8IslVLx8j vwOlt8KXl6qdnb5x0nfCqTreOHGS8Th/rzC9npt3eUcUZ5/uQgDRbdZAqqqvWVfxp7Vi DC77Hz6ZDrC/bBCoGQYTYHQEHz7dcQXyydHj4JvIrhIu1BogXASNqN4yvbyJEt6YG04K IvRR3rjJFE4AUcTFXYvvP/xUYaQbcQr8JJUecKsOX9Zhqs5u99IGO1JS5YgL2216KcSP jgLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:dkim-signature:date; bh=sH0J8UqLRGNNuqRGsl3/vKnq+Ig43rrwpYa6HCIFafY=; b=NHzn0T7LTxn1X65f5YOyxQrYPxFQP4xThQUxmOTZx/6uAFN5UPoiGhP6HpnXAv87Hq WpldXssN63xVEMwvdCgbdJBiIQN6bxD9DWjN8J7BcxYmA+KKslngjrT8/seYHXghyRbq YxvTKglRcB+5X5OAsclqBw7Puebk9rbbSUZbs8rUuSOBffpSvM2zNyT+HMb1on1HWXjq SfcjQxRQ/6EXWb2T+1tRDyghb/JBHLIn11EaPwDuMFT97J1iZffmkyDLyQcLoXApAJF2 8Pgmz9+Js5SQCYo9jAQyGoW4wZEyYeqHQ4Vb450xzORtqwVy/L/4YIR7HSw4vXxYON3f hdfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=vjeyKYOO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hc34-20020a17090716a200b0072eebe0b003si640872ejc.715.2022.09.01.17.50.28; Thu, 01 Sep 2022 17:50:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=vjeyKYOO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233483AbiIBASA (ORCPT + 99 others); Thu, 1 Sep 2022 20:18:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45824 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234064AbiIBAR6 (ORCPT ); Thu, 1 Sep 2022 20:17:58 -0400 Received: from out2.migadu.com (out2.migadu.com [IPv6:2001:41d0:2:aacc::]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C45A05E65F; Thu, 1 Sep 2022 17:17:56 -0700 (PDT) Date: Thu, 1 Sep 2022 20:17:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1662077875; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=sH0J8UqLRGNNuqRGsl3/vKnq+Ig43rrwpYa6HCIFafY=; b=vjeyKYOOpSC2AFAm4jt7/ryb4LupJNByTeBTeMD2t/Q2AW+B/pFP/7ZiDdyE5cJVTVuMdX ALGyATHTOJUJtqm8qyYMtPK0sO9+YjGsLH/Fx8WaF/0/oH1YBX2k+q7scEmrOk5wkgPIK+ fpiOJqNgjvaRqABW672Bej0dOIxJQbI= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Kent Overstreet To: Roman Gushchin Cc: Yosry Ahmed , Michal Hocko , Mel Gorman , Peter Zijlstra , Suren Baghdasaryan , Andrew Morton , Vlastimil Babka , Johannes Weiner , dave@stgolabs.net, Matthew Wilcox , liam.howlett@oracle.com, void@manifault.com, juri.lelli@redhat.com, ldufour@linux.ibm.com, Peter Xu , David Hildenbrand , axboe@kernel.dk, mcgrof@kernel.org, masahiroy@kernel.org, nathan@kernel.org, changbin.du@intel.com, ytcoode@gmail.com, vincent.guittot@linaro.org, dietmar.eggemann@arm.com, Steven Rostedt , bsegall@google.com, bristot@redhat.com, vschneid@redhat.com, Christoph Lameter , Pekka Enberg , Joonsoo Kim , 42.hyeyoo@gmail.com, glider@google.com, elver@google.com, dvyukov@google.com, Shakeel Butt , Muchun Song , arnd@arndb.de, jbaron@akamai.com, David Rientjes , minchan@google.com, kaleshsingh@google.com, kernel-team@android.com, Linux-MM , iommu@lists.linux.dev, kasan-dev@googlegroups.com, io-uring@vger.kernel.org, linux-arch@vger.kernel.org, xen-devel@lists.xenproject.org, linux-bcache@vger.kernel.org, linux-modules@vger.kernel.org, Linux Kernel Mailing List Subject: Re: [RFC PATCH 00/30] Code tagging framework and applications Message-ID: <20220902001747.qqsv2lzkuycffuqe@moria.home.lan> References: <20220830214919.53220-1-surenb@google.com> <20220831084230.3ti3vitrzhzsu3fs@moria.home.lan> <20220831101948.f3etturccmp5ovkl@suse.de> <20220831190154.qdlsxfamans3ya5j@moria.home.lan> <20220901223720.e4gudprscjtwltif@moria.home.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: linux.dev X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 01, 2022 at 03:53:57PM -0700, Roman Gushchin wrote: > I'd suggest to run something like iperf on a fast hardware. And maybe some > io_uring stuff too. These are two places which were historically most sensitive > to the (kernel) memory accounting speed. I'm getting wildly inconsistent results with iperf. io_uring-echo-server and rust_echo_bench gets me: Benchmarking: 127.0.0.1:12345 50 clients, running 512 bytes, 60 sec. Without alloc tagging: 120547 request/sec With: 116748 request/sec https://github.com/frevib/io_uring-echo-server https://github.com/haraldh/rust_echo_bench How's that look to you? Close enough? :)