Created
May 29, 2019 13:15
-
-
Save rustyrazorblade/dd17bb4265af57afecf63dac8b3f2b7f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
tlp-cluster init cassandra CASSANDRA-15066 messaging-improvements -s 1 -c 9 --instance r3.xlarge --az a,b,c | |
tlp-cluster up --yes | |
tlp-cluster build -n may28 ~/dev/cassandra | |
tlp-cluster use may28 -c dynamic_snitch:false -c concurrent_reads:128 -c concurrent_writes:128 -c num_tokens:32 -c cross_node_timeout:true | |
cat << EOF >> provisioning/cassandra/conf/jvm-server.options | |
-Xmx16G | |
-Xms16G | |
-Xmn8G | |
EOF | |
sed -i '' 's/-XX:SurvivorRatio=8/-XX:SurvivorRatio=6/g' provisioning/cassandra/conf/jvm8-server.options | |
sed -i '' 's/-XX:MaxTenuringThreshold=1/-XX:MaxTenuringThreshold=2/g' provisioning/cassandra/conf/jvm8-server.options | |
tlp-cluster install | |
tlp-cluster start | |
# on the stress node | |
tlp-stress run BasicTimeSeries --host 172.31.3.112 --ttl 300 -p 10M --compaction "{'class':'TimeWindowCompactionStrategy', 'cpaction_window_unit':'MINUTES', 'compaction_window_size': '1'}" -d 7d -t 8 -c 50 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment