Skip to content

Instantly share code, notes, and snippets.

@thomascate
Created December 17, 2018 21:52
Show Gist options
  • Save thomascate/ff5b1db3a4230a9ab6e037f202b33f30 to your computer and use it in GitHub Desktop.
Save thomascate/ff5b1db3a4230a9ab6e037f202b33f30 to your computer and use it in GitHub Desktop.
for i in `seq 101 300`; do sleep 5; echo "scaling to $i nodes"; kubectl scale --replicas $i -f hab_testring.yaml -n new-phone-whodis; done
~15 minutes of scaling
16 services per hab-sup
100 - 300 nodes, 1 node every 5 seconds
cat scale_100_30.tcpdump | awk '{sum += $NF} END {print sum}'
1205992527
1.123 GB
Port 9638 data
grep -r '[0-9][0-9][0-9][0-9]\.9638' scale_100_30.tcpdump | awk '{sum += $NF} END {print sum}'
56323
56 KB
UDP Traffic
grep UDP scale_100_30.tcpdump | awk '{sum += $NF} END {print sum}'
758877
758 KB
TCP Traffic
[root@fileserv hab_load_test]# grep -v UDP scale_100_30.tcpdump | awk '{sum += $NF} END {print sum}'
1205233650
1.122 GB
9638 Traffic
grep -e '\.9638 >' -e '\.9638 <' -e '\.9638:' scale_100_30.tcpdump | awk '{sum += $NF} END {print sum}'
1205992527
1.123 GB
completed TCP connections
grep "\[F.\]" scale_100_30.tcpdump | wc -l
24103
[root@fileserv hab_load_test]# grep "\[S" scale_100_30.tcpdump | wc -l
24915
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment