4 ms·
How does this compare with the built-in netem in linux?
by tomohawk 4y ago
How does this compare with the built-in netem in linux?
- ikiris 4y agoThis is something they built that they can put on their promo doc.
- kffl 4y agonetmem allows for traffic shaping at the kernel-level, whereas speedbump operates on a TCP connection level. While netmem can be used for adding a fixed delay to network traffic (or a randomly generated one for each packet following a given distribution), speedbump can be used for introducing latency that changes predictably over time (i.e. forming a sawtooth wave or a sine wave), which was particularly desirable in my use case (testing app instrumentation). On the flip side, netmem can simulate packet loss, which speedbump can't do.