Received: by 2002:a05:7412:6592:b0:d7:7d3a:4fe2 with SMTP id m18csp1144915rdg; Fri, 11 Aug 2023 11:06:51 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF94WeDIg/PZ13djyQ7bbN8CUbXcp6mv9oynT7dxcYjMJj3HO9VnNRuDJh7O3q/jNx8Qwvn X-Received: by 2002:a17:907:7703:b0:99b:c8db:d92f with SMTP id kw3-20020a170907770300b0099bc8dbd92fmr2429026ejc.69.1691777211074; Fri, 11 Aug 2023 11:06:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691777211; cv=none; d=google.com; s=arc-20160816; b=E8ufmCI4qaz32opB+mmxl++NJjJ2DHH1o3gNbW7KK5AqMFk0gf7CV31NS3pJOQ1JMC k4F9VXMv/vxRtShLmvrt92eJzFAMgxVYYT6q7spz7J/Bx7mvfsvw65G2eBDP+Zcfw/aJ IDOouVDbPvH36UWaIcuiVk9T5qxgRWkeIFyYwjU303c5aEF7BeTwcSgXU2dqZXui9ibr xY29mfWFo/jFJQEQ8lT7afzsHKOvR8XlFHYJePxxW1T3CPHMN/mUPAC+Aq1fJuS/MHD8 5kX1rPDJ3hO+9TOZedUYHC2aUL+OxkQ+3A2LP0QWolS8pRkrnKxcIQpe794IMWMFrL2t L62g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=vxD+zxJwT4NELfouWBkc6IdRTrwJOJiOHX/HzWD6TvQ=; fh=t+1JgqXcByH8Q1+yp8EJ5m3/W88nkHaXTKY+8KFJass=; b=VtdiA1/CnpNxzmf4nzxS++ZFneAzvdd1zIRR8sdgTbVLzC1QSO7f/13qgPL9q81Zb0 bRXoIV3ztHGdFrTbqxzhhPBkktA2pmLHiWnERp61LjWVjaNmgLrm8XZ6Od4laul/iwF5 rYzy7W5KCqpJYXFnmRm7gbVUMza5oEehgOMH9tVHRfqTBkQh4mjoWLCW/UKaZPe6ZuFY RXbzpYxC6H9YAqW9DacylqvUBomCj0mp02JX5G6mIHV1qaaVWCrrAccVg6U55C/RDmW/ Yh+AVaG05peWmozJ6uKD4827g+fpdhEgSt51VdvImjnOPbtM4fXsJchEnd+VOt3+7Rh8 kA5A== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e22-20020a1709062c1600b009926007b7e0si3691087ejh.371.2023.08.11.11.06.25; Fri, 11 Aug 2023 11:06:51 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236838AbjHKRe4 (ORCPT + 99 others); Fri, 11 Aug 2023 13:34:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52604 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232083AbjHKRez (ORCPT ); Fri, 11 Aug 2023 13:34:55 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B1DC5A8; Fri, 11 Aug 2023 10:34:54 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 4A06F67803; Fri, 11 Aug 2023 17:34:54 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4A3F3C433C8; Fri, 11 Aug 2023 17:34:52 +0000 (UTC) Date: Fri, 11 Aug 2023 13:34:50 -0400 From: Steven Rostedt To: kernel test robot Cc: Ajay Kaher , , , Linux Memory Management List , Ching-lin Yu , , , , , Subject: Re: [linux-next:master] [eventfs] 27152bceea: stress-ng.getdent.ops_per_sec -8.4% regression Message-ID: <20230811133450.08cfa609@gandalf.local.home> In-Reply-To: <202308101425.8416d10d-oliver.sang@intel.com> References: <202308101425.8416d10d-oliver.sang@intel.com> X-Mailer: Claws Mail 3.19.1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE, SPF_PASS autolearn=no 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, 10 Aug 2023 16:35:17 +0800 kernel test robot wrote: > Hello, > > kernel test robot noticed a -8.4% regression of stress-ng.getdent.ops_per_sec on: > > > commit: 27152bceea1df27ffebb12ac9cd9adbf2c4c3f35 ("eventfs: Move tracing/events to eventfs") This is a feature ;-) Looking at what stress-ng --getdent does (from the man page:) --getdent N start N workers that recursively read directories /proc, /dev/, /tmp, /sys and /run using getdents and getdents64 (Linux only). So when it looks at /sys/kernel/tracing/events The event inodes and dentries are now dynamically created (like /proc does), and thus will take more time to look up. This is expected behavior as the pro to doing this is the 20 megs of memory saved (per tracing instance). And this savings will grow as more events are introduced. -- Steve > https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master > > testcase: stress-ng > test machine: 64 threads 2 sockets Intel(R) Xeon(R) Gold 6346 CPU @ 3.10GHz (Ice Lake) with 256G memory > parameters: > > nr_threads: 10% > disk: 1HDD > testtime: 60s > fs: xfs > class: filesystem > test: getdent > cpufreq_governor: performance > > > > > If you fix the issue in a separate patch/commit (i.e. not just a new version of > the same patch/commit), kindly add following tags > | Reported-by: kernel test robot > | Closes: https://lore.kernel.org/oe-lkp/202308101425.8416d10d-oliver.sang@intel.com > > > Details are as below: > --------------------------------------------------------------------------------------------------> > >