https://github.com/redsift/sockperf
Container for sockpref
https://github.com/redsift/sockperf
Last synced: 3 months ago
JSON representation
Container for sockpref
- Host: GitHub
- URL: https://github.com/redsift/sockperf
- Owner: redsift
- Created: 2015-07-31T09:52:22.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-11-26T12:28:54.000Z (over 10 years ago)
- Last Synced: 2024-12-29T07:33:14.932Z (over 1 year ago)
- Size: 3.91 KB
- Stars: 1
- Watchers: 22
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Container for Socketperf
[](https://quay.io/repository/redsift/sockperf)
docker run -ti --rm quay.io/redsift/sockperf --help
SockPerf is a network testing tool oriented to measure network latency and also spikes of network latency.
# Multicast UDP tests
$ docker run -ti --rm --net=host quay.io/redsift/sockperf server -i 224.18.7.81 -p 5001
Then
$ docker run -ti --rm --net=host quay.io/redsift/sockperf ping-pong -i 224.18.7.81 -p 5001 -m 16384 -t 10 --pps=max
Note the use of host networking, this is due to limitations with docker not being setup with multicast. A few workarounds exist on [this thread](https://github.com/docker/docker/issues/3043).
# Errors
sockperf: No messages were received from the server. Is the server down?
# Routing for Multicast
Check your device of choice is routing multicast addresses.
ip route add 224.0.0.0/4 dev
You should then see it listed via
ip route
You will need to make this persistent on your distro e.g. an entry in `/etc/sysconfig/network-scripts/route-eth0`.
# iptables/firewalld
Ensure you are not blocking this traffic