From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id D6286C001DE for ; Fri, 11 Aug 2023 17:34:57 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 6D99A6B0075; Fri, 11 Aug 2023 13:34:57 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 689C46B007B; Fri, 11 Aug 2023 13:34:57 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 578456B007D; Fri, 11 Aug 2023 13:34:57 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id 3E9126B0075 for ; Fri, 11 Aug 2023 13:34:57 -0400 (EDT) Received: from smtpin17.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id EE724C040B for ; Fri, 11 Aug 2023 17:34:56 +0000 (UTC) X-FDA: 81112524192.17.2DCBD1F Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf10.hostedemail.com (Postfix) with ESMTP id 55E72C000D for ; Fri, 11 Aug 2023 17:34:55 +0000 (UTC) Authentication-Results: imf10.hostedemail.com; dkim=none; dmarc=none; spf=pass (imf10.hostedemail.com: domain of "SRS0=Nh2Q=D4=goodmis.org=rostedt@kernel.org" designates 139.178.84.217 as permitted sender) smtp.mailfrom="SRS0=Nh2Q=D4=goodmis.org=rostedt@kernel.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1691775295; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=vxD+zxJwT4NELfouWBkc6IdRTrwJOJiOHX/HzWD6TvQ=; b=hHy10wFWygJhBaMHlZZg8JLcCcgiDz/j/zvisnfIDd7M/VBfMT8kWzsC5GSxCgIkP1xUrr Wn49yIB2PQppGIVRP3ndbBZVtaG1NJEHBo3S47u4hl21kcSZCE+sVUC4mxrKhcySvXJFyC 71aicWVI3CAYcOovGvx2yuBKkBxhHdU= ARC-Authentication-Results: i=1; imf10.hostedemail.com; dkim=none; dmarc=none; spf=pass (imf10.hostedemail.com: domain of "SRS0=Nh2Q=D4=goodmis.org=rostedt@kernel.org" designates 139.178.84.217 as permitted sender) smtp.mailfrom="SRS0=Nh2Q=D4=goodmis.org=rostedt@kernel.org" ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1691775295; a=rsa-sha256; cv=none; b=jv0QBUqMVZqPXLUqWqbyS0TZkBalTWCUxqSskZP1hrH6iYsn4C+xwgJolc6A2s7Is319lr taUgGe28Ik8sH9kgDZgdm3SRQ5wH/IIk61a42tOKEhZ1WoSeQxlzBvfiY/BwhY2FWcOOS6 Gh7l7/BngahaVOuhTE6ZmNLktZwriZw= 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 43B7A65128; 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-Rspamd-Server: rspam09 X-Rspamd-Queue-Id: 55E72C000D X-Stat-Signature: 4oy9um8xutn73ybu8gjebgmuea6jsxtb X-Rspam-User: X-HE-Tag: 1691775295-941368 X-HE-Meta: U2FsdGVkX19ZW0V2JnDckipxUZ/qpX1TDeCl0u7ndkTbq/Qi1Njcu1RaDwT8xwa6Gf4wyWI2mK5ivbILHV3/KVuIiiXfi4ijTKamDZvH7Y5Grd+XM5M8ppXEDKIcQSxfIbQOyzThjx3pj+t/7C/YGl4Fgw92OA9SCx6Tx0BiR1S43ErP9j4BfJJYa5dorl9X9SzZ9pKTUkphWSlrt9U/A0SKB0tSzqcABfZLulnC8VBw0dBg8mVhE2uCAkRwls+fZkyDG62vvhB/sRUCw+/Yp+ZLE6HvDo0kRckR+pSkkfrnC8KeDBfLyZ3dBXet331ree8J2+BG1qrq27iGeVvGCGJqtrhd0OYqTT6eZbnzv0v9UksEJbzE2nu+iUnBi11iYiwPb0NxRgBTagOzBr4L2dqAtse2PFWWPXMCHsssKM2qfb28AtxOjfgn40AFt7zSDw4vH7Lubfxxk1N0DfT4l5y9nhD3+/pWqHrjc0WRgWDF+1/L0in1e/DQml98cndu9WaGiBJOp/uQfnd2ui25mTwQ/CLRmtkzi7AgCWsJpjHG0siZwS1lwPz/dsqQLZaPwsytSrsl4kdtmI7jmN+TWeMxchmZed9QH8JMyqyZ2jFeTievTFsqVUb9c7pdclKmvKwPgPumyw/MaRlViF3zx+jszhR7ad93k02W2N7yzcmPzziDbhaRIon8rOQbpmXpBAJjvgv7J9BfqspxAoQ7aRbomB4vyL2/2u+9EnvVPsZjuaRxVmi+oHmQZktNe0+NsdYmEFIncun1in32hT5qA6p4Gh/c6lq3j/j11C6sk+/uYjb7jVtHiTsHJ+mAZH5UjurrQ2WniNhmtBhh3yATjeG2pf4j9rwlgRkS3OgKJ4DhCEM2Y3WZDHfle6tRUpcdgOvjNsaTwCpwAlFsvT02jrQsh63Go1aoymr4DkgeuA39nUHzZ47wXYiI3n5gPLZf1ZGoHKlxhmCufSe1rMl cVVZ4N/c swtYc61BnnDHn3dNIY/sYbs/3OOCJ26s4tu+AyXS25pcejMtOYllLOP1C/hpjIU8CLqMR2GLCl8QBAGTTH/Wl8LZwZjBmyEus4JmN+FeGxWIH/w0lGIckD0A0rYl4P89Un5qR1X2kpFxEMTRotJOtfvZhXfm8NDMGJvkAowZ5Jp0atK0O42lvjuOFmt7Jk0t0u8Rs2gCnod9WPEkfZmurK224Q0eSIWWoa3Dth2zNpnx0aMLJ5YYcWYqot+s2v8gcczJQK2VRf0mMy+riXZwGGfhVGbxxejBv7g7OXawB7ljkRnwKcytgbWlo4P/3zY0gY3YKWWjWhLuGkwY4kPBAkrLz4gmivrYtC5x1YSgqWvG4yHXjZ6FHfwza/L1NzCq11xskkb+WBKXLVp7O6f/+lwC22VV7uszwqI9jUScmhGWhFPxopUcTPPOMbBdoOZ8qCWiy8Y9QUtlXAHmlk7RjpUUSmCVYB0+D6g13 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: 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: > --------------------------------------------------------------------------------------------------> > >