cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Russ Hatch (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-6553) Benchmark counter improvements (counters++)
Date Mon, 10 Mar 2014 21:42:43 GMT


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.
Counter write performance

    rf>1 and; 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
        # 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\)

> Benchmark counter improvements (counters++)
> -------------------------------------------
>                 Key: CASSANDRA-6553
>                 URL:
>             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:
(old counters)
> compared to:
(new counters)
> So far, the above changes should only affect the write path.

This message was sent by Atlassian JIRA

View raw message