Skip to content

Instantly share code, notes, and snippets.

@bradfordcp
Created March 26, 2015 20:26
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 bradfordcp/50afaaaac60e304aa07d to your computer and use it in GitHub Desktop.
Save bradfordcp/50afaaaac60e304aa07d to your computer and use it in GitHub Desktop.
Cassandra Stress Reads on Intel Edison
./cassandra-stress read n=100000 -node 192.168.1.50
Warming up READ with 50000 iterations...
Failed to connect over JMX; not collecting these stats
INFO 18:41:53 Using data-center name 'datacenter1' for DCAwareRoundRobinPolicy (if this is incorrect, please provide the correct datacenter name with DCAwareRoundRobinPolicy constructor)
Connected to cluster: Edison Cluster
INFO 18:41:53 New Cassandra host /192.168.1.50:9042 added
Datatacenter: datacenter1; Host: /192.168.1.50; Rack: rack1
Sleeping 2s...
Running with 4 threadCount
Running READ with 4 threads for 100000 iteration
...
Results:
op rate : 238
partition rate : 238
row rate : 238
latency mean : 16.8
latency median : 14.8
latency 95th percentile : 25.6
latency 99th percentile : 31.2
latency 99.9th percentile : 34.2
latency max : 455.9
total gc count : 9
total gc mb : 1430
total gc time (s) : 11
avg gc time(ms) : 1188
stdev gc time(ms) : 3083
Total operation time : 00:07:00
Running with 8 threadCount
Running READ with 8 threads for 100000 iteration
...
Results:
op rate : 399
partition rate : 399
row rate : 399
latency mean : 20.0
latency median : 17.3
latency 95th percentile : 36.0
latency 99th percentile : 46.4
latency 99.9th percentile : 52.2
latency max : 334.9
total gc count : 6
total gc mb : 957
total gc time (s) : 1
avg gc time(ms) : 98
stdev gc time(ms) : 10
Total operation time : 00:04:10
Improvement over 4 threadCount: 68%
Running with 16 threadCount
Running READ with 16 threads for 100000 iteration
...
Results:
op rate : 588
partition rate : 588
row rate : 588
latency mean : 27.2
latency median : 23.4
latency 95th percentile : 51.0
latency 99th percentile : 67.7
latency 99.9th percentile : 77.9
latency max : 314.2
total gc count : 5
total gc mb : 797
total gc time (s) : 0
avg gc time(ms) : 90
stdev gc time(ms) : 2
Total operation time : 00:02:50
Improvement over 8 threadCount: 47%
Running with 24 threadCount
Running READ with 24 threads for 100000 iteration
...
Results:
op rate : 722
partition rate : 722
row rate : 722
latency mean : 33.2
latency median : 27.2
latency 95th percentile : 63.1
latency 99th percentile : 87.0
latency 99.9th percentile : 141.5
latency max : 2816.2
total gc count : 5
total gc mb : 798
total gc time (s) : 0
avg gc time(ms) : 90
stdev gc time(ms) : 5
Total operation time : 00:02:18
Improvement over 16 threadCount: 23%
Running with 36 threadCount
Running READ with 36 threads for 100000 iteration
...
Results:
op rate : 873
partition rate : 873
row rate : 873
latency mean : 41.2
latency median : 33.8
latency 95th percentile : 85.0
latency 99th percentile : 122.9
latency 99.9th percentile : 146.3
latency max : 521.7
total gc count : 4
total gc mb : 637
total gc time (s) : 0
avg gc time(ms) : 88
stdev gc time(ms) : 2
Total operation time : 00:01:54
Improvement over 24 threadCount: 21%
Running with 54 threadCount
Running READ with 54 threads for 100000 iteration
...
Results:
op rate : 1096
partition rate : 1096
row rate : 1096
latency mean : 49.2
latency median : 40.8
latency 95th percentile : 102.5
latency 99th percentile : 155.3
latency 99.9th percentile : 186.1
latency max : 474.3
total gc count : 4
total gc mb : 639
total gc time (s) : 0
avg gc time(ms) : 86
stdev gc time(ms) : 1
Total operation time : 00:01:31
Improvement over 36 threadCount: 25%
Running with 81 threadCount
Running READ with 81 threads for 100000 iteration
...
Results:
op rate : 1247
partition rate : 1247
row rate : 1247
latency mean : 64.9
latency median : 55.8
latency 95th percentile : 127.0
latency 99th percentile : 183.9
latency 99.9th percentile : 222.2
latency max : 463.3
total gc count : 5
total gc mb : 798
total gc time (s) : 0
avg gc time(ms) : 85
stdev gc time(ms) : 2
Total operation time : 00:01:20
Improvement over 54 threadCount: 14%
Running with 121 threadCount
Running READ with 121 threads for 100000 iteration
...
Results:
op rate : 1376
partition rate : 1376
row rate : 1376
latency mean : 87.8
latency median : 79.5
latency 95th percentile : 162.5
latency 99th percentile : 225.5
latency 99.9th percentile : 261.2
latency max : 599.9
total gc count : 4
total gc mb : 639
total gc time (s) : 0
avg gc time(ms) : 85
stdev gc time(ms) : 1
Total operation time : 00:01:12
Improvement over 81 threadCount: 10%
Running with 181 threadCount
Running READ with 181 threads for 100000 iteration
...
Results:
op rate : 1444
partition rate : 1444
row rate : 1444
latency mean : 125.3
latency median : 117.4
latency 95th percentile : 223.0
latency 99th percentile : 287.3
latency 99.9th percentile : 325.3
latency max : 710.5
total gc count : 4
total gc mb : 639
total gc time (s) : 0
avg gc time(ms) : 86
stdev gc time(ms) : 1
Total operation time : 00:01:09
Improvement over 121 threadCount: 5%
Running with 271 threadCount
Running READ with 271 threads for 100000 iteration
...
op rate : 1532
partition rate : 1532
row rate : 1532
latency mean : 176.9
latency median : 159.0
latency 95th percentile : 339.4
latency 99th percentile : 452.8
latency 99.9th percentile : 516.1
latency max : 1118.1
total gc count : 4
total gc mb : 638
total gc time (s) : 0
avg gc time(ms) : 88
stdev gc time(ms) : 1
Total operation time : 00:01:05
Improvement over 181 threadCount: 6%
Running with 406 threadCount
Running READ with 406 threads for 100000 iteration
...
Results:
op rate : 1515
partition rate : 1515
row rate : 1515
latency mean : 267.8
latency median : 244.4
latency 95th percentile : 501.6
latency 99th percentile : 648.3
latency 99.9th percentile : 737.9
latency max : 1364.0
total gc count : 4
total gc mb : 637
total gc time (s) : 0
avg gc time(ms) : 90
stdev gc time(ms) : 4
Total operation time : 00:01:06
Improvement over 271 threadCount: -1%
Running with 609 threadCount
Running READ with 609 threads for 100000 iteration
...
Results:
op rate : 1500
partition rate : 1500
row rate : 1500
latency mean : 403.8
latency median : 359.8
latency 95th percentile : 765.3
latency 99th percentile : 937.9
latency 99.9th percentile : 1006.8
latency max : 1771.4
total gc count : 4
total gc mb : 639
total gc time (s) : 0
avg gc time(ms) : 97
stdev gc time(ms) : 3
Total operation time : 00:01:06
Improvement over 406 threadCount: -1%
Running with 913 threadCount
Running READ with 913 threads for 100000 iteration
...
Results:
op rate : 1501
partition rate : 1501
row rate : 1501
latency mean : 604.5
latency median : 570.4
latency 95th percentile : 1128.8
latency 99th percentile : 1414.5
latency 99.9th percentile : 2057.2
latency max : 2870.5
total gc count : 4
total gc mb : 639
total gc time (s) : 0
avg gc time(ms) : 98
stdev gc time(ms) : 1
Total operation time : 00:01:06
Improvement over 609 threadCount: 0%
...
id, total ops , adj row/s, op/s, pk/s, row/s
4 threads, 100000 , 238, 238, 238, 238
8 threads, 100000 , -0, 399, 399, 399
16 threads, 100000 , 588, 588, 588, 588
24 threads, 100000 , 725, 722, 722, 722
36 threads, 100000 , -0, 873, 873, 873
54 threads, 100000 , -0, 1096, 1096, 1096
81 threads, 100000 , -0, 1247, 1247, 1247
121 threads, 100000 , -0, 1376, 1376, 1376
181 threads, 100000 , -0, 1444, 1444, 1444
271 threads, 99688 , -0, 1532, 1532, 1532
406 threads, 100000 , -0, 1515, 1515, 1515
609 threads, 100000 , -0, 1500, 1500, 1500
913 threads, 100000 , 1509, 1501, 1501, 1501
END
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment