On 3/25/18 1:44 PM, William Allen Simpson wrote:
On 3/23/18 1:30 PM, William Allen Simpson wrote:
Ran some apples to apples comparisons today V2.7-dev.5:

Without the client-side rbtrees, rpcping works a lot better:

Thought of a small tweak to the list adding routine, so it doesn't
kick the epoll timer unless the SVCXPRT was added to the end of its
timeout list (a much rarer occurrence, but it could happen).

The numbers don't change much, so I ran more of them.  Not sorted
this time, but you get the gist.  Still seeing a huge improvement
around 1,000, with a rough plateau over 10,000 calls.

But the raw data looks to me like Ganesha edges up past the kernel
around 1,000,000....  Or maybe the extra Ganesha system call overhead
cancels out distributed over a longer period of time?

Probably need to run hundreds of times to get a better distribution,
but more than I'm willing to do by hand.

Happy baking!

Ganesha (worst, best):

rpcping tcp localhost count=1000 threads=1 workers=5 (port=2049 program=100003 
version=3 procedure=0): mean 33950.1556, total 33950.1556
rpcping tcp localhost count=1000 threads=1 workers=5 (port=2049 program=100003 
version=3 procedure=0): mean 43668.3435, total 43668.3435


rpcping tcp localhost count=1000 threads=1 workers=5 (port=2049 program=100003 
version=3 procedure=0): mean 151800.6287, total 151800.6287
rpcping tcp localhost count=1000 threads=1 workers=5 (port=2049 program=100003 
version=3 procedure=0): mean 167828.8817, total 167828.8817

rpcping tcp localhost count=1000 threads=1 workers=5 (port=2049 program=100003 
version=3 procedure=0): mean 144967.5809, total 144967.5809
rpcping tcp localhost count=1000 threads=1 workers=5 (port=2049 program=100003 
version=3 procedure=0): mean 219739.3627, total 219739.3627
rpcping tcp localhost count=1000 threads=1 workers=5 (port=2049 program=100003 
version=3 procedure=0): mean 218477.8040, total 218477.8040
rpcping tcp localhost count=1000 threads=1 workers=5 (port=2049 program=100003 
version=3 procedure=0): mean 126693.0146, total 126693.0146
rpcping tcp localhost count=1000 threads=1 workers=5 (port=2049 program=100003 
version=3 procedure=0): mean 131807.8768, total 131807.8768

rpcping tcp localhost count=10000 threads=1 workers=5 (port=2049 program=100003 
version=3 procedure=0): mean 265231.6362, total 265231.6362
rpcping tcp localhost count=10000 threads=1 workers=5 (port=2049 program=100003 
version=3 procedure=0): mean 281711.3287, total 281711.3287
rpcping tcp localhost count=10000 threads=1 workers=5 (port=2049 program=100003 
version=3 procedure=0): mean 258412.9101, total 258412.9101
rpcping tcp localhost count=10000 threads=1 workers=5 (port=2049 program=100003 
version=3 procedure=0): mean 244638.8736, total 244638.8736
rpcping tcp localhost count=10000 threads=1 workers=5 (port=2049 program=100003 
version=3 procedure=0): mean 264594.2726, total 264594.2726

rpcping tcp localhost count=100000 threads=1 workers=5 (port=2049 
program=100003 version=3 procedure=0): mean 281988.8465, total 281988.8465
rpcping tcp localhost count=100000 threads=1 workers=5 (port=2049 
program=100003 version=3 procedure=0): mean 282341.2245, total 282341.2245
rpcping tcp localhost count=100000 threads=1 workers=5 (port=2049 
program=100003 version=3 procedure=0): mean 286837.9973, total 286837.9973
rpcping tcp localhost count=100000 threads=1 workers=5 (port=2049 
program=100003 version=3 procedure=0): mean 277970.8432, total 277970.8432
rpcping tcp localhost count=100000 threads=1 workers=5 (port=2049 
program=100003 version=3 procedure=0): mean 285086.8682, total 285086.8682

rpcping tcp localhost count=1000000 threads=1 workers=5 (port=2049 
program=100003 version=3 procedure=0): mean 292704.4142, total 292704.4142
rpcping tcp localhost count=1000000 threads=1 workers=5 (port=2049 
program=100003 version=3 procedure=0): mean 296892.2598, total 296892.2598
rpcping tcp localhost count=1000000 threads=1 workers=5 (port=2049 
program=100003 version=3 procedure=0): mean 287227.5968, total 287227.5968
rpcping tcp localhost count=1000000 threads=1 workers=5 (port=2049 
program=100003 version=3 procedure=0): mean 295969.2889, total 295969.2889
rpcping tcp localhost count=1000000 threads=1 workers=5 (port=2049 
program=100003 version=3 procedure=0): mean 294702.5526, total 294702.5526



Kernel (worst, best):

rpcping tcp localhost count=1000 threads=1 workers=5 (port=2049 program=100003 
version=3 procedure=0): mean 46826.6383, total 46826.6383
rpcping tcp localhost count=1000 threads=1 workers=5 (port=2049 program=100003 
version=3 procedure=0): mean 52915.1652, total 52915.1652


rpcping tcp localhost count=1000 threads=1 workers=5 (port=2049 program=100003 
version=3 procedure=0): mean 175773.3986, total 175773.3986
rpcping tcp localhost count=1000 threads=1 workers=5 (port=2049 program=100003 
version=3 procedure=0): mean 189168.4778, total 189168.4778

rpcping tcp localhost count=1000 threads=1 workers=5 (port=2049 program=100003 
version=3 procedure=0): mean 247539.0289, total 247539.0289
rpcping tcp localhost count=1000 threads=1 workers=5 (port=2049 program=100003 
version=3 procedure=0): mean 184384.0705, total 184384.0705
rpcping tcp localhost count=1000 threads=1 workers=5 (port=2049 program=100003 
version=3 procedure=0): mean 153295.5634, total 153295.5634
rpcping tcp localhost count=1000 threads=1 workers=5 (port=2049 program=100003 
version=3 procedure=0): mean 154773.5091, total 154773.5091
rpcping tcp localhost count=1000 threads=1 workers=5 (port=2049 program=100003 
version=3 procedure=0): mean 164440.4175, total 164440.4175

rpcping tcp localhost count=10000 threads=1 workers=5 (port=2049 program=100003 
version=3 procedure=0): mean 265388.4779, total 265388.4779
rpcping tcp localhost count=10000 threads=1 workers=5 (port=2049 program=100003 
version=3 procedure=0): mean 255862.8411, total 255862.8411
rpcping tcp localhost count=10000 threads=1 workers=5 (port=2049 program=100003 
version=3 procedure=0): mean 251917.3048, total 251917.3048
rpcping tcp localhost count=10000 threads=1 workers=5 (port=2049 program=100003 
version=3 procedure=0): mean 253991.1212, total 253991.1212
rpcping tcp localhost count=10000 threads=1 workers=5 (port=2049 program=100003 
version=3 procedure=0): mean 261602.3931, total 261602.3931

rpcping tcp localhost count=100000 threads=1 workers=5 (port=2049 
program=100003 version=3 procedure=0): mean 278993.5939, total 278993.5939
rpcping tcp localhost count=100000 threads=1 workers=5 (port=2049 
program=100003 version=3 procedure=0): mean 279343.1649, total 279343.1649
rpcping tcp localhost count=100000 threads=1 workers=5 (port=2049 
program=100003 version=3 procedure=0): mean 282837.8570, total 282837.8570
rpcping tcp localhost count=100000 threads=1 workers=5 (port=2049 
program=100003 version=3 procedure=0): mean 275849.6401, total 275849.6401
rpcping tcp localhost count=100000 threads=1 workers=5 (port=2049 
program=100003 version=3 procedure=0): mean 279375.0901, total 279375.0901

rpcping tcp localhost count=1000000 threads=1 workers=5 (port=2049 
program=100003 version=3 procedure=0): mean 284534.7449, total 284534.7449
rpcping tcp localhost count=1000000 threads=1 workers=5 (port=2049 
program=100003 version=3 procedure=0): mean 281415.0202, total 281415.0202
rpcping tcp localhost count=1000000 threads=1 workers=5 (port=2049 
program=100003 version=3 procedure=0): mean 282831.2086, total 282831.2086
rpcping tcp localhost count=1000000 threads=1 workers=5 (port=2049 
program=100003 version=3 procedure=0): mean 283292.0576, total 283292.0576
rpcping tcp localhost count=1000000 threads=1 workers=5 (port=2049 
program=100003 version=3 procedure=0): mean 284640.9456, total 284640.9456

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Nfs-ganesha-devel mailing list
Nfs-ganesha-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel

Reply via email to