incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Scott White <scottbl...@gmail.com>
Subject Re: Newbie Performance Question
Date Fri, 26 Mar 2010 20:08:15 GMT
Yep I believe those are inserts per second. Take the last line:

"811653,1666,250"

I believe that's telling you that during that 10 second interval you did
1666 inserts but your overall insert rate is 811653/250 = 3246.612
inserts/sec.

Timeouts may be due to your machine(s) being fully saturated? Not sure.

Scott

On Fri, Mar 26, 2010 at 1:00 PM, malcolm smith <
malsmith@treehousesystems.com> wrote:

> Ok I ran the stress test with out of box settings -- 50 threads and 1M row
> inserts.   It seems to get as high as 4400 ops per second and as low as 968.
>  Am I reading these correctly as inserts per second?
>
> These are results below.  But is also generates timeouts and failures in
> the python code like:
>
> Process Inserter-20:
> Traceback (most recent call last):
>   File "/usr/lib/python2.6/multiprocessing/process.py", line 232, in
> _bootstrap
>     self.run()
>   File
> "/home/malsmith/dev/apache-cassandra-0.5.1-src/test/system/stress.py", line
> 80, in run
>     self.cclient.batch_insert('Keyspace1', key, cfmap,
> ConsistencyLevel.ONE)
>   File
> "/home/malsmith/dev/apache-cassandra-0.5.1-src/interface/gen-py/cassandra/Cassandra.py",
> line 583, in batch_insert
>     self.recv_batch_insert()
>   File
> "/home/malsmith/dev/apache-cassandra-0.5.1-src/interface/gen-py/cassandra/Cassandra.py",
> line 611, in recv_batch_insert
>     raise result.te
> TimedOutException: TimedOutException()
>     self.recv_batch_insert()
>   File
> "/home/malsmith/dev/apache-cassandra-0.5.1-src/interface/gen-py/cassandra/Cassandra.py",
> line 611, in recv_batch_insert
>     raise result.te
> TimedOutException: TimedOutException()
>     self.recv_batch_insert()
>   File
> "/home/malsmith/dev/apache-cassandra-0.5.1-src/interface/gen-py/cassandra/Cassandra.py",
> line 611, in recv_batch_insert
>     raise result.te
> TimedOutException: TimedOutException()
>
>
> total,interval_op_rate,elapsed_time
> 48318,4831,10
> 58006,968,20
> 75447,1744,30
> 118266,4281,40
> 160906,4264,50
> 191501,3059,60
> 235144,4364,70
> 270721,3557,80
> 308977,3825,90
> 353383,4440,100
> 386573,3319,110
> 411550,2497,120
> 445391,3384,130
> 476990,3159,140
> 491169,1417,150
> 512848,2167,160
> 547812,3496,170
> 583997,3618,180
> 609193,2519,190
> 653878,4468,200
> 687692,3381,210
> 711378,2368,220
> 755527,4414,230
> 794985,3945,240
> 811653,1666,250
> ~
>
>
> ~
> On Fri, Mar 26, 2010 at 12:25 PM, Brandon Williams <driftx@gmail.com>wrote:
>
>> On Fri, Mar 26, 2010 at 10:45 AM, malcolm smith <
>> malsmith@treehousesystems.com> wrote:
>>
>>> I've been getting a feel for the performance elements of Cassandra using
>>> version 0.51.  I've done similar tests on HBase before, but Cassandra has
>>> some very appealing aspects that I would like to pursue.
>>>
>>>  However I'm not seeing the what seems like the common level of
>>> performance others are seeing.
>>>
>>
>> Can you test with stress.py?  In 0.5, I think it was in test/stress.
>>
>> -Brandon
>>
>
>

Mime
View raw message