[ https://issues.apache.org/jira/browse/CASSANDRA-6553?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13926269#comment-13926269 ]
Russ Hatch commented on CASSANDRA-6553: --------------------------------------- [~iamaleksey] Sorry for the delay. This is a high priority for me this week, so I hope to have some more progress soon. Took me a while to figure out how to accomplish this with the new stress tool. Below I've included the stress comparisons I plan to do. {noformat} Counter write performance rf>1 and cl.one; rf>1 and cl.quorum contention incrementing counters in different partitions: # two counters, each with a different partition ./bin/cassandra-stress counterwrite n=10000 -key populate=1..2 -col n=FIXED\(1\) contention incrementing same counter (same partition and cell): # contention over one counter ./bin/cassandra-stress counterwrite n=1000000 -key dist=FIXED\(1\) -col n=FIXED\(1\) contention incrementing one partition with two cells: # two counters in same partition ./bin/cassandra-stress counterwrite n=1000000 -key dist=FIXED\(1\) -col n=FIXED\(1\) -col n=FIXED\(2\) contention incrementing counters in a few cells in the same few partitions (hot counter partition): # three partitions with three cells (9 counters) ./bin/cassandra-stress counterwrite n=1000000 -key populate=1..3 -col n=FIXED\(1\) -col n=FIXED\(2\) -col n=FIXED\(3\) {noformat} > Benchmark counter improvements (counters++) > ------------------------------------------- > > Key: CASSANDRA-6553 > URL: https://issues.apache.org/jira/browse/CASSANDRA-6553 > Project: Cassandra > Issue Type: Test > Reporter: Ryan McGuire > Assignee: Russ Hatch > Fix For: 2.1 beta2 > > > Benchmark the difference in performance between CASSANDRA-6504 and trunk. > * Updating totally unrelated counters (different partitions) > * Updating the same counters a lot (same cells in the same partition) > * Different cells in the same few partitions (hot counter partition) > benchmark: > https://github.com/apache/cassandra/tree/1218bcacba7edefaf56cf8440d0aea5794c89a1e > (old counters) > compared to: > https://github.com/apache/cassandra/tree/714c423360c36da2a2b365efaf9c5c4f623ed133 > (new counters) > So far, the above changes should only affect the write path. -- This message was sent by Atlassian JIRA (v6.2#6252)