A little background on my context:
We run multiple Solr JVMs per box, which live in directories like:
/mnt/solr_8983
/mnt/solr_8984
/mnt/solr_8985
...
/mnt/solr_${PORT}
| ########### | |
| # Variables | |
| ########### | |
| variable "aws_key_name" { | |
| default = "mykeypair" | |
| } | |
| variable "region" { | |
| default = "eu-west-1" | |
| } |
| Producer | |
| Setup | |
| bin/kafka-topics.sh --zookeeper esv4-hcl197.grid.linkedin.com:2181 --create --topic test-rep-one --partitions 6 --replication-factor 1 | |
| bin/kafka-topics.sh --zookeeper esv4-hcl197.grid.linkedin.com:2181 --create --topic test --partitions 6 --replication-factor 3 | |
| Single thread, no replication | |
| bin/kafka-run-class.sh org.apache.kafka.clients.tools.ProducerPerformance test7 50000000 100 -1 acks=1 bootstrap.servers=esv4-hcl198.grid.linkedin.com:9092 buffer.memory=67108864 batch.size=8196 |
| Host *.vpc.mycorp.com | |
| User ubuntu | |
| ProxyCommand ssh -W %h:%p [email protected] | |
| IdentityFile "~/.ssh/mykey.pem" | |
| Host 172.1.* | |
| User ubuntu | |
| ProxyCommand ssh -W %h:%p [email protected] | |
| IdentityFile "~/.ssh/mykey.pem" | |
| Host nat.mycorp.com |
| launch_terms () { | |
| until [ -z "$1" ] # Until uses up arguments passed... | |
| do | |
| /usr/bin/osascript <<-EOF | |
| tell application "iTerm" | |
| make new terminal | |
| tell the current terminal | |
| activate current session | |
| launch session "Default Session" | |
| tell the last session |
A little background on my context:
We run multiple Solr JVMs per box, which live in directories like:
/mnt/solr_8983
/mnt/solr_8984
/mnt/solr_8985
...
/mnt/solr_${PORT}
| sshto() { | |
| ssh ubuntu@`knife ec2 server list | grep $1 | awk '{print $3}'` | |
| } | |
| # ex usage: sshto i-12341234 |
| -verbose:gc \ | |
| -XX:+PrintGCDetails \ | |
| -XX:+PrintGCDateStamps \ | |
| -XX:+PrintGCTimeStamps \ | |
| -XX:+PrintHeapAtGC \ | |
| -XX:+PrintTenuringDistribution \ | |
| -XX:+PrintGCApplicationStoppedTime \ | |
| -XX:+PrintGCApplicationConcurrentTime \ | |
| -XX:+UseGCLogFileRotation \ | |
| -XX:NumberOfGCLogFiles=5 \ |
AWS u-24tb1.112xlarge:
GCE m3-ultramem-128:
| #------------------------------------------------------------------------------ | |
| # AUTOVACUUM PARAMETERS | |
| #------------------------------------------------------------------------------ | |
| #autovacuum = on # Enable autovacuum subprocess? 'on' | |
| # requires track_counts to also be on. | |
| log_autovacuum_min_duration = 0 # -1 disables, 0 logs all actions and | |
| # their durations, > 0 logs only | |
| # actions running at least this number | |
| # of milliseconds. |
| ======================================================================== | |
| BYTE UNIX Benchmarks (Version 5.1.3) | |
| System: machine1.com: GNU/Linux | |
| OS: GNU/Linux -- 3.8.0-35-generic -- #50~precise1-Ubuntu SMP Wed Dec 4 17:25:51 UTC 2013 | |
| Machine: x86_64 (x86_64) | |
| Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8") | |
| CPU 0: Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz (5000.1 bogomips) | |
| Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET | |
| CPU 1: Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz (5000.1 bogomips) |