[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a2016360741a596f2b40ab03774458b3ab151a88.camel@themaw.net>
Date: Wed, 09 Jun 2021 18:14:49 +0800
From: Ian Kent <raven@...maw.net>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Tejun Heo <tj@...nel.org>
Cc: Eric Sandeen <sandeen@...deen.net>, Fox Chen <foxhlchen@...il.com>,
Brice Goglin <brice.goglin@...il.com>,
Al Viro <viro@...IV.linux.org.uk>,
Rick Lindsley <ricklind@...ux.vnet.ibm.com>,
David Howells <dhowells@...hat.com>,
Miklos Szeredi <miklos@...redi.hu>,
Marcelo Tosatti <mtosatti@...hat.com>,
"Eric W. Biederman" <ebiederm@...ssion.com>,
Carlos Maiolino <cmaiolino@...hat.com>,
linux-fsdevel <linux-fsdevel@...r.kernel.org>,
Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v6 0/7] kernfs: proposed locking and concurrency
improvement
Hi all,
I couldn't get a working system with more cpus so I've only
got results for my 16 cpu system.
1) Run with 8 distinct sysfs file paths on 16 cpu machine, perf graphs
in base-files-cpu-16-perf.txt and patched-files-cpu-16-perf.txt.
Base (5.12.2, unpatched)
------------------------
single: total 44.158890ms per 4.415889us
concur: total 759.684873ms per 75.968487us CPU 8
concur: total 883.026965ms per 88.302696us CPU 2
concur: total 891.909766ms per 89.190977us CPU 4
concur: total 897.459477ms per 89.745948us CPU 13
concur: total 906.879726ms per 90.687973us CPU 6
concur: total 909.682410ms per 90.968241us CPU 11
concur: total 913.444779ms per 91.344478us CPU 14
concur: total 913.736983ms per 91.373698us CPU 10
concur: total 918.075936ms per 91.807594us CPU 3
concur: total 919.471392ms per 91.947139us CPU 12
concur: total 919.670827ms per 91.967083us CPU 7
concur: total 920.037084ms per 92.003708us CPU 15
concur: total 920.629499ms per 92.062950us CPU 0
concur: total 920.668293ms per 92.066829us CPU 1
concur: total 920.742206ms per 92.074221us CPU 9
concur: total 920.857279ms per 92.085728us CPU 5
times: 10000 threads: 16 cpus: 16
patched (5.12.2)
----------------
single: total 44.802810ms per 4.480281us
concur: total 207.606721ms per 20.760672us CPU 0
concur: total 208.033458ms per 20.803346us CPU 7
concur: total 208.040271ms per 20.804027us CPU 10
concur: total 208.407953ms per 20.840795us CPU 6
concur: total 208.447839ms per 20.844784us CPU 8
concur: total 208.442189ms per 20.844219us CPU 15
concur: total 208.491044ms per 20.849104us CPU 12
concur: total 209.035376ms per 20.903538us CPU 13
concur: total 209.236987ms per 20.923699us CPU 5
concur: total 209.272867ms per 20.927287us CPU 4
concur: total 209.383602ms per 20.938360us CPU 2
concur: total 209.712447ms per 20.971245us CPU 11
concur: total 210.486235ms per 21.048623us CPU 9
concur: total 213.338587ms per 21.333859us CPU 14
concur: total 214.711534ms per 21.471153us CPU 3
concur: total 215.163929ms per 21.516393us CPU 1
times: 10000 threads: 16 cpus: 16
2) Run with a single sysfs file path on 16 cpu machine, perf graphs in
base-missing-cpu-16-perf.txt and patched-missing-cpu-16-perf.txt.
Base (5.12.2, unpatched)
------------------------
single: total 28.576170ms per 2.857617us
concur: total 793.285548ms per 79.328555us CPU 9
concur: total 806.402939ms per 80.640294us CPU 12
concur: total 827.931022ms per 82.793102us CPU 11
concur: total 839.489379ms per 83.948938us CPU 0
concur: total 841.252407ms per 84.125241us CPU 2
concur: total 843.533057ms per 84.353306us CPU 6
concur: total 844.030949ms per 84.403095us CPU 4
concur: total 845.267140ms per 84.526714us CPU 5
concur: total 850.316442ms per 85.031644us CPU 7
concur: total 851.884324ms per 85.188432us CPU 15
concur: total 861.188703ms per 86.118870us CPU 13
concur: total 865.995968ms per 86.599597us CPU 8
concur: total 868.057703ms per 86.805770us CPU 3
concur: total 868.599150ms per 86.859915us CPU 1
concur: total 866.567102ms per 86.656710us CPU 14
concur: total 871.594502ms per 87.159450us CPU 10
times: 10000 threads: 16 cpus: 16
patched (5.12.2)
----------------
single: total 21.335142ms per 2.133514us
concur: total 223.727132ms per 22.372713us CPU 12
concur: total 224.061497ms per 22.406150us CPU 10
concur: total 227.070350ms per 22.707035us CPU 2
concur: total 229.940510ms per 22.994051us CPU 8
concur: total 230.853379ms per 23.085338us CPU 6
concur: total 230.928784ms per 23.092878us CPU 3
concur: total 231.158093ms per 23.115809us CPU 15
concur: total 229.597176ms per 22.959718us CPU 13
concur: total 231.967832ms per 23.196783us CPU 7
concur: total 232.725323ms per 23.272532us CPU 9
concur: total 233.141065ms per 23.314107us CPU 4
concur: total 234.486371ms per 23.448637us CPU 11
concur: total 234.658243ms per 23.465824us CPU 14
concur: total 235.053843ms per 23.505384us CPU 5
concur: total 236.137191ms per 23.613719us CPU 0
concur: total 240.090098ms per 24.009010us CPU 1
times: 10000 threads: 16 cpus: 16
View attachment "base-files-cpu-16-perf.txt" of type "text/plain" (154049 bytes)
View attachment "base-missing-cpu-16-perf.txt" of type "text/plain" (796828 bytes)
View attachment "patched-files-cpu-16-perf.txt" of type "text/plain" (246158 bytes)
View attachment "patched-missing-cpu-16-perf.txt" of type "text/plain" (184970 bytes)
Powered by blists - more mailing lists