mirror of
https://github.com/zrepl/zrepl.git
synced 2025-08-03 13:07:34 +02:00
note on tcconfig
13
Debugging.md
13
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
|
## Memory Leaks & Goroutine Leaks
|
||||||
|
|
||||||
Good exapmles for situations where the following instructions helped with debugging:
|
Good exapmles for situations where the following instructions helped with debugging:
|
||||||
|
Reference in New Issue
Block a user