diff --git a/Debugging.md b/Debugging.md index e8a2af6..187905d 100644 --- a/Debugging.md +++ b/Debugging.md @@ -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: