note on tcconfig

Christian Schwarz
2021-02-28 23:47:00 +01:00
parent 6d7bc89dd0
commit 576cf0c19d

@ -1,3 +1,16 @@
## Debugging Setup
* Create 2 VMs, configure a file-backed ZFS pool on each of them
* The VMs should share a private network or a bridge network with the host
* Write yourself some scripting to build the zrepl binary on the host and scp it into the guests
### Tasks:
* Reduce network bandwidth between the VMs:
* Use https://github.com/thombashi/tcconfig instead of Linux `tc`
* `tcset eth0 --rate 100Mbps --direction incoming --src-network 192.168.124.233/32 --overwrite`
## Memory Leaks & Goroutine Leaks
Good exapmles for situations where the following instructions helped with debugging: