Can I also give the size of the blobs I want to test with? Is
stress-schema configurable to what I need to test? Can I give min, max
and avg sizes of blobs in the test?
2011/3/21 Patricio Echagüe <patr...@gmail.com>:
-N
2011/3/21 Patricio Echagüe <patr...@gmail.com>:
On Mon, Mar 21, 2011 at 3:05 PM, Nate McCall <na...@datastax.com> wrote:
> Requires maven install to be run on the source initially. I just
> updated the readme with instructions for such. In short
>
> - download source
> - mvn install
> - cd target/appassembler
> - sh bin/stress ... options....
>
> I'll do some fancier packaging at some point, but the above should
> work ok for now.
>
> On Mon, Mar 21, 2011 at 2:49 PM, Mohit Anchlia <mohita...@gmail.com> wrote:
>> Thanks!
>>
>> I ran mvn compile install and produced
>> /drives/c/proj/zznate-cassandra-stress-90ff926/target/cassandra-stress-0.7_25.jar.
>>
>> When I try to run:
>> C:\proj\zznate-cassandra-stress-90ff926>java -jar target\cassandra-stress-0.7_25
>> .jar
>> Failed to load Main-Class manifest attribute from
>> target\cassandra-stress-0.7_25.jar
>>
>> Am I doing something wrong?
Now if I want to compile on windows and then take it to linux just the
jar files should I just zip the "target" directory and install it that
way?
On Mon, Mar 21, 2011 at 1:05 PM, Nate McCall <na...@datastax.com> wrote:
> Requires maven install to be run on the source initially. I just
> updated the readme with instructions for such. In short
>
> - download source
> - mvn install
> - cd target/appassembler
> - sh bin/stress ... options....
>
> I'll do some fancier packaging at some point, but the above should
> work ok for now.
>
> On Mon, Mar 21, 2011 at 2:49 PM, Mohit Anchlia <mohita...@gmail.com> wrote:
>> Thanks!
>>
>> I ran mvn compile install and produced
>> /drives/c/proj/zznate-cassandra-stress-90ff926/target/cassandra-stress-0.7_25.jar.
>>
>> When I try to run:
>> C:\proj\zznate-cassandra-stress-90ff926>java -jar target\cassandra-stress-0.7_25
>> .jar
>> Failed to load Main-Class manifest attribute from
>> target\cassandra-stress-0.7_25.jar
>>
>> Am I doing something wrong?
>>
>> On Mon, Mar 21, 2011 at 12:24 PM, Nate McCall <na...@datastax.com> wrote:
Given the overhead in process management, if you really want to test
throughput of a cluster, you should be running the stress tool on
multiple client machines.
I am getting two 12 core machines with 96GB RAM to use for client test.
It looks like latencies are printed after executing the batch. Is it
possible to print latencies and other statistics in between
periodically? I can change the code if it makes sense for my purpose.
How do I run test for "n" mts or hrs? I am trying to test concurrent
inserts and reads. All concurrent inserts and reads are from diff end
clients (not a batch). Also every row in this case has only one column
unless file (data) is too big (Still working on chunking logic).
Is JMX connecting to hector the best way to monitor how each threads
are doing? Is there anything in particular that I should be paying
more attention to when connecting to hector or cassandra's JMX?
Let me know what would be handy feature wise and I will add it in as
time permits.
See the "Optional Performance Counters" section of the user guide for
how to track performance:
https://github.com/rantav/hector/wiki/User-Guide
How are reads done? Does this tool cache the keys to do lookups?
Also, is there a way to just do lookups? For eg: Today I inserted 1M
rows and tomorrow I just want to read those 1M rows in random way, is
that possible?
There is no concept of "run for time T", this seems like a useful
enough feature though, so I will add it as time permits (or gladly
accept a contribution).
Also, it looks like column width is fixed no of bytes. Can it also be
made random between 0 - n bytes. I will probably make this change if
it;s currently not possible.
Also, what's the best way to look hector and cassandra and monitor
throughput as test is progressing?
Is it possible to use some other placement strategy (e.g.
NetworkTopologyStrategy)
instead of the default SimpleStrategy for the stress tool?
Ideally, can we specify our own stress-schema instead of the default one?
That would allow users to define their own keyspace.
--Ajay