cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Akshay Suresh <akshay.sur...@unotechsoft.com>
Subject Re: Slow writes and Frequent timeouts
Date Tue, 18 Apr 2017 06:15:06 GMT
Hi


- Hardware Specs
RAM: 14GB
Cores: 8
Disk: 440GB SSD

- I have deployed 7 instances ( Earlier, I mentioned 8 but I had to
decommission 1 due to low disk space ) on AWS.

- Every node is in the same datacenter.
.
- I have created a custom schema with 28 columns. Created a simple YAML
file for the stress tool.
The command is as follows:
./cassandra-stress user profile=foo.yml duration=180m ops\(insert=1\)
cl=one -rate threads=850

- I have used a heap space of 7GB. I am using the default CMS for GC.

I am clearing all the data and logs. I will try to replicate the issue and
post the exact metrics.




Thanks in advance.


On Mon, Apr 17, 2017 at 10:28 PM, Jon Haddad <jonathan.haddad@gmail.com>
wrote:

> What are your hardware specs?  Where are you running the cluster?  Is
> every node in the same physical datacenter?  What command are you using to
> run stress?
>
> On Apr 17, 2017, at 9:57 AM, Akshay Suresh <akshay.suresh@unotechsoft.com>
> wrote:
>
> Hi
>
> I have not done much. Just created a schema with SimpleStrategy and a
> replication factor of 3.
> Then I created a yaml file
>  Now I am running the cassandra stress tool invoking the yaml file - with
> 10,000 records ( no warmup ) with 10 concurrent threads. I am just running
> writes ( no reads )
>
>
> When I keep running this script again and again eventually my nodes start
> going down and I start getting timeouts and out of memory errors.
>
>
>
> On Mon, Apr 17, 2017 at 9:23 PM, Hannu Kröger <hkroger@gmail.com> wrote:
>
>> It would help to know what kind queries are slow.
>>
>> Hannu
>>
>> On 17 Apr 2017, at 18:42, Akshay Suresh <akshay.suresh@unotechsoft.com>
>> wrote:
>>
>> Hi
>>
>> I have set up a cassandra cluster of 8 nodes.
>>
>> I am using Apache Cassandra 3.9
>>
>> While using cassandra-stress tool for load testing, I am getting really
>> slow writes ( low upto few 10-20 writes per second ) along with frequent
>> timeouts and out of heap space errors.
>>
>> Kindly let me know how do I resolve this issue.
>>
>> *Disclaimer :* The contents of this e-mail and attachment(s) thereto are
>> confidential and intended for the named recipient(s) only. It shall not
>> attach any liability on the originator or Unotech Software Pvt. Ltd. or its
>> affiliates. Any views or opinions presented in this email are solely those
>> of the author and may not necessarily reflect the opinions of Unotech
>> Software Pvt. Ltd. or its affiliates. Any form of reproduction,
>> dissemination, copying, disclosure, modification, distribution and / or
>> publication of this message without the prior written consent of the author
>> of this e-mail is strictly prohibited. If you have received this email in
>> error please delete it and notify the sender immediately.
>>
>>
>>
>
>
> --
> Regards,
>
>
> *Akshay Suresh*
> *Unotech Software Pvt. Ltd*
>
>
> * <http://www.unotechsoft.com/>*
> M : +91 99309 80509
> O : +91 (22) 2687 9402
> A :  D Wing, 7th floor, 32 Corporate Avenue, Off Mahakali Caves Road,
> Andheri (E), Mumbai, 400093
> W : www.unotechsoft.com
>
> *Disclaimer :* The contents of this e-mail and attachment(s) thereto are
> confidential and intended for the named recipient(s) only. It shall not
> attach any liability on the originator or Unotech Software Pvt. Ltd. or its
> affiliates. Any views or opinions presented in this email are solely those
> of the author and may not necessarily reflect the opinions of Unotech
> Software Pvt. Ltd. or its affiliates. Any form of reproduction,
> dissemination, copying, disclosure, modification, distribution and / or
> publication of this message without the prior written consent of the author
> of this e-mail is strictly prohibited. If you have received this email in
> error please delete it and notify the sender immediately.
>
>
>


-- 
Regards,


*Akshay Suresh*
*Unotech Software Pvt. Ltd*


* <http://www.unotechsoft.com/>*
M : +91 99309 80509
O : +91 (22) 2687 9402
A :  D Wing, 7th floor, 32 Corporate Avenue, Off Mahakali Caves Road,
Andheri (E), Mumbai, 400093
W : www.unotechsoft.com

-- 
*Disclaimer :* The contents of this e-mail and attachment(s) thereto are 
confidential and intended for the named recipient(s) only. It shall not 
attach any liability on the originator or Unotech Software Pvt. Ltd. or its 
affiliates. Any views or opinions presented in this email are solely those 
of the author and may not necessarily reflect the opinions of Unotech 
Software Pvt. Ltd. or its affiliates. Any form of reproduction, 
dissemination, copying, disclosure, modification, distribution and / or 
publication of this message without the prior written consent of the author 
of this e-mail is strictly prohibited. If you have received this email in 
error please delete it and notify the sender immediately.

Mime
View raw message