mirror of
https://github.com/zrepl/zrepl.git
synced 2025-08-02 04:33:06 +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
|
||||
|
||||
Good exapmles for situations where the following instructions helped with debugging:
|
||||
|
Reference in New Issue
Block a user