[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20230811133450.08cfa609@gandalf.local.home>
Date: Fri, 11 Aug 2023 13:34:50 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: kernel test robot <oliver.sang@...el.com>
Cc: Ajay Kaher <akaher@...are.com>, <oe-lkp@...ts.linux.dev>,
<lkp@...el.com>, Linux Memory Management List <linux-mm@...ck.org>,
Ching-lin Yu <chinglinyu@...gle.com>,
<linux-kernel@...r.kernel.org>,
<linux-trace-kernel@...r.kernel.org>, <ying.huang@...el.com>,
<feng.tang@...el.com>, <fengwei.yin@...el.com>
Subject: Re: [linux-next:master] [eventfs] 27152bceea:
stress-ng.getdent.ops_per_sec -8.4% regression
On Thu, 10 Aug 2023 16:35:17 +0800
kernel test robot <oliver.sang@...el.com> 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 <oliver.sang@...el.com>
> | Closes: https://lore.kernel.org/oe-lkp/202308101425.8416d10d-oliver.sang@intel.com
>
>
> Details are as below:
> -------------------------------------------------------------------------------------------------->
>
>
Powered by blists - more mailing lists