Skip to content

Instantly share code, notes, and snippets.

@tjake
Last active August 29, 2015 14:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tjake/0be18bb8111712dacf1b to your computer and use it in GitHub Desktop.
Save tjake/0be18bb8111712dacf1b to your computer and use it in GitHub Desktop.
Results:
real op rate : 43973
adjusted op rate stderr : 0
key rate : 43973
latency mean : 20.5
latency median : 17.4
latency 95th percentile : 47.2
latency 99th percentile : 63.0
latency 99.9th percentile : 95.2
latency max : 365.5
Total operation time : 00:00:22
Improvement over 609 threadCount: 0%
id, ops , op/s, key/s, mean, med, .95, .99, .999, max, time, stderr
4 threadCount, 1000000 , 14824, 14824, 0.3, 0.3, 0.3, 0.5, 3.2, 44.9, 67.5, 0.00636
8 threadCount, 1000000 , 21147, 21147, 0.4, 0.3, 0.6, 0.8, 4.0, 474.9, 47.3, 0.00844
16 threadCount, 1000000 , 27510, 27510, 0.6, 0.5, 0.9, 1.3, 5.8, 665.9, 36.3, 0.00423
24 threadCount, 1000000 , 31210, 31210, 0.8, 0.7, 1.3, 1.9, 6.2, 40.6, 32.0, 0.00614
36 threadCount, 1000000 , 33447, 33447, 1.1, 0.9, 1.8, 2.8, 8.4, 57.2, 29.9, 0.01959
54 threadCount, 1000000 , 37932, 37932, 1.4, 1.3, 2.5, 3.6, 35.1, 56.6, 26.4, 0.00357
81 threadCount, 1000000 , 40180, 40180, 2.0, 1.8, 3.5, 5.4, 36.2, 81.9, 24.9, 0.00600
121 threadCount, 1000000 , 41472, 41472, 2.9, 2.6, 5.1, 8.6, 41.3, 124.0, 24.1, 0.00841
181 threadCount, 1000000 , 42584, 42584, 4.2, 3.7, 7.4, 12.5, 58.5, 125.2, 23.5, 0.01081
271 threadCount, 1000000 , 40827, 40827, 6.6, 5.6, 14.5, 32.3, 56.8, 286.3, 24.5, 0.02517
406 threadCount, 1000000 , 43621, 43621, 9.2, 7.5, 21.0, 41.8, 63.5, 134.8, 22.9, 0.01453
609 threadCount, 1000000 , 43756, 43756, 13.8, 11.5, 30.9, 50.5, 67.4, 111.5, 22.9, 0.01028
913 threadCount, 1000000 , 43973, 43973, 20.5, 17.4, 47.2, 63.0, 95.2, 365.5, 22.7, 0.01388
END
====================================NIO====================================================
Results:
real op rate : 42811
adjusted op rate stderr : 0
key rate : 42811
latency mean : 21.1
latency median : 18.0
latency 95th percentile : 47.0
latency 99th percentile : 74.2
latency 99.9th percentile : 163.9
latency max : 495.6
Total operation time : 00:00:23
Improvement over 609 threadCount: -2%
id, ops , op/s, key/s, mean, med, .95, .99, .999, max, time, stderr
4 threadCount, 1000000 , 11980, 11980, 0.3, 0.3, 0.4, 0.6, 3.2, 53.5, 83.5, 0.00844
8 threadCount, 1000000 , 19707, 19707, 0.4, 0.4, 0.7, 0.9, 3.1, 72.3, 50.7, 0.00358
16 threadCount, 1000000 , 27147, 27147, 0.6, 0.5, 1.0, 1.5, 5.0, 45.8, 36.8, 0.00411
24 threadCount, 1000000 , 29888, 29888, 0.8, 0.7, 1.4, 2.2, 14.6, 62.6, 33.5, 0.01083
36 threadCount, 1000000 , 33308, 33308, 1.1, 0.9, 1.9, 3.1, 9.8, 101.9, 30.0, 0.00655
54 threadCount, 1000000 , 36829, 36829, 1.5, 1.3, 2.8, 4.5, 35.2, 51.0, 27.2, 0.00497
81 threadCount, 1000000 , 38645, 38645, 2.1, 1.8, 3.8, 5.9, 39.0, 47.4, 25.9, 0.00639
121 threadCount, 1000000 , 40792, 40792, 3.0, 2.5, 5.2, 8.3, 39.9, 290.9, 24.5, 0.02358
181 threadCount, 1000000 , 42488, 42488, 4.2, 3.7, 7.8, 13.0, 41.1, 94.1, 23.5, 0.00775
271 threadCount, 1000000 , 42267, 42267, 6.4, 5.6, 14.3, 31.8, 50.2, 90.1, 23.7, 0.01824
406 threadCount, 1000000 , 43192, 43192, 9.3, 7.7, 21.1, 44.8, 64.3, 138.7, 23.2, 0.01063
609 threadCount, 1000000 , 43578, 43578, 13.8, 11.4, 31.3, 55.8, 91.5, 392.5, 22.9, 0.01012
913 threadCount, 1000000 , 42811, 42811, 21.1, 18.0, 47.0, 74.2, 163.9, 495.6, 23.4, 0.01388
END
========================EPOLL==========================
Results:
real op rate : 41832
adjusted op rate stderr : 0
key rate : 41832
latency mean : 21.6
latency median : 18.4
latency 95th percentile : 47.8
latency 99th percentile : 75.9
latency 99.9th percentile : 133.8
latency max : 521.6
Total operation time : 00:00:23
Improvement over 609 threadCount: -1%
id, ops , op/s, key/s, mean, med, .95, .99, .999, max, time, stderr
4 threadCount, 1000000 , 12949, 12949, 0.3, 0.3, 0.4, 0.5, 3.9, 578.7, 77.2, 0.00878
8 threadCount, 1000000 , 19886, 19886, 0.4, 0.4, 0.7, 0.9, 2.8, 40.1, 50.3, 0.00483
16 threadCount, 1000000 , 26935, 26935, 0.6, 0.5, 1.0, 1.5, 18.2, 59.3, 37.1, 0.00989
24 threadCount, 1000000 , 30698, 30698, 0.8, 0.7, 1.3, 2.1, 7.2, 445.6, 32.6, 0.00361
36 threadCount, 1000000 , 34287, 34287, 1.0, 0.9, 1.9, 3.1, 9.1, 210.0, 29.2, 0.00301
54 threadCount, 1000000 , 37057, 37057, 1.5, 1.3, 2.6, 4.2, 35.0, 49.2, 27.0, 0.00406
81 threadCount, 1000000 , 37158, 37158, 2.2, 1.8, 4.5, 10.4, 34.8, 74.7, 26.9, 0.01412
121 threadCount, 1000000 , 40831, 40831, 2.9, 2.5, 5.6, 9.6, 40.6, 127.8, 24.5, 0.00880
181 threadCount, 1000000 , 40515, 40515, 4.5, 3.8, 8.4, 13.0, 49.3, 169.3, 24.7, 0.01434
271 threadCount, 1000000 , 40575, 40575, 6.6, 5.5, 13.5, 28.9, 89.7, 636.7, 24.6, 0.02961
406 threadCount, 1000000 , 40886, 40886, 9.8, 7.8, 21.9, 47.3, 426.6, 597.8, 24.5, 0.03108
609 threadCount, 1000000 , 42137, 42137, 14.3, 12.1, 31.7, 55.5, 640.7, 701.5, 23.7, 0.01490
913 threadCount, 1000000 , 41832, 41832, 21.6, 18.4, 47.8, 75.9, 133.8, 521.6, 23.9, 0.01537
END
====================== THRIFT SYNC =============================
Results:
real op rate : 44837
adjusted op rate stderr : 0
key rate : 44837
latency mean : 1.8
latency median : 1.4
latency 95th percentile : 3.7
latency 99th percentile : 8.8
latency 99.9th percentile : 44.7
latency max : 148.4
Total operation time : 00:00:22
Improvement over 54 threadCount: -4%
id, ops , op/s, key/s, mean, med, .95, .99, .999, max, time, stderr
4 threadCount, 1000000 , 29698, 29698, 0.1, 0.1, 0.2, 0.3, 1.2, 41.8, 33.7, 0.00589
8 threadCount, 1000000 , 38166, 38166, 0.2, 0.2, 0.5, 0.8, 2.1, 42.3, 26.2, 0.00344
16 threadCount, 1000000 , 46148, 46148, 0.3, 0.2, 1.0, 2.5, 7.8, 89.7, 21.7, 0.00481
24 threadCount, 1000000 , 46202, 46202, 0.5, 0.3, 1.2, 3.8, 14.9, 99.4, 21.6, 0.00863
36 threadCount, 1000000 , 47690, 47690, 0.8, 0.4, 2.0, 6.0, 33.5, 226.9, 21.0, 0.00453
54 threadCount, 1000000 , 46929, 46929, 1.1, 0.8, 2.8, 7.7, 39.1, 130.9, 21.3, 0.00397
81 threadCount, 1000000 , 44837, 44837, 1.8, 1.4, 3.7, 8.8, 44.7, 148.4, 22.3, 0.00485
END
========================================Thrift HSHA=============================================
esults:
real op rate : 23284
adjusted op rate stderr : 0
key rate : 23284
latency mean : 5.2
latency median : 4.8
latency 95th percentile : 9.2
latency 99th percentile : 18.5
latency 99.9th percentile : 53.6
latency max : 83.6
Total operation time : 00:00:42
Improvement over 81 threadCount: -10%
id, ops , op/s, key/s, mean, med, .95, .99, .999, max, time, stderr
4 threadCount, 1000000 , 18784, 18784, 0.2, 0.2, 0.3, 0.4, 1.6, 35.6, 53.2, 0.00325
8 threadCount, 1000000 , 22352, 22352, 0.4, 0.3, 0.7, 1.0, 7.5, 38.3, 44.7, 0.00649
16 threadCount, 1000000 , 23925, 23925, 0.7, 0.6, 1.2, 1.7, 9.6, 33.6, 41.8, 0.00423
24 threadCount, 1000000 , 25381, 25381, 0.9, 0.8, 1.9, 2.6, 26.3, 47.7, 39.4, 0.00276
36 threadCount, 1000000 , 25613, 25613, 1.4, 1.2, 2.3, 3.7, 27.5, 568.8, 39.0, 0.00789
54 threadCount, 1000000 , 25785, 25785, 2.1, 2.0, 3.8, 5.4, 31.6, 296.6, 38.8, 0.00432
81 threadCount, 1000000 , 25979, 25979, 3.1, 2.9, 4.9, 8.2, 30.2, 82.0, 38.5, 0.00645
121 threadCount, 1000000 , 23284, 23284, 5.2, 4.8, 9.2, 18.5, 53.6, 83.6, 42.9, 0.02248
END
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment