sockperf: Docker container for running sockperf client for doing network performance review.
10K+
This repository is for creating the docker image for doing network performance testing using sockperf.
You have to run a server and a client for this purpose.
docker run -p image_name bash run.sh s
You can run client in two modes:
docker run image_name bash run.sh c th ip_of_server
Results
sockperf: Total of 859056 messages sent in 5.000 sec
sockperf: NOTE: test was performed, using msg-size=1500. For getting maximum throughput consider using --msg-size=1472
sockperf: Summary: Message Rate is 171795 [msg/sec], Packet Rate is about 343590 [pkt/sec] (2 ip frags / msg)
sockperf: Summary: BandWidth is 245.755 MBps (1966.038 Mbps)
docker run image_name bash run.sh c ul ip_of_server
Results
sockperf: Warmup stage (sending a few dummy messages)...
sockperf: Starting test...
sockperf: Test end (interrupted by timer)
sockperf: Test ended
sockperf: [Total Run] RunTime=5.000 sec; Warm up time=400 msec; SentMessages=50005; ReceivedMessages=500
sockperf: ========= Printing statistics for Server No: 0
sockperf: Test end (interrupted by signal 2)
sockperf: [Valid Duration] RunTime=4.520 sec; SentMessages=45201; ReceivedMessages=453
sockperf: ====> avg-rtt=116.460 (std-dev=178.973)
sockperf: # dropped messages = 0; # duplicated messages = 0; # out-of-order messages = 0
sockperf: Summary: Round trip is 116.460 usec
sockperf: Total 453 observations; each percentile contains 4.53 observations
sockperf: ---> observation = 3103.589
sockperf: ---> percentile 99.999 = 3103.589
sockperf: ---> percentile 99.990 = 3103.589
sockperf: ---> percentile 99.900 = 3103.589
sockperf: ---> percentile 99.000 = 410.328
sockperf: ---> percentile 90.000 = 194.947
sockperf: ---> percentile 75.000 = 123.583
sockperf: ---> percentile 50.000 = 75.848
sockperf: ---> percentile 25.000 = 63.534
sockperf: ---> observation = 49.811
This is very basic test we can include more test if you want to contribute.
When contributing to this repository, please first discuss the change you wish to make via issue, or any other method with the owners of this repository before making a change.
Please note we have a code of conduct, please follow it in all your interactions with the project.
Visit sockperf-container if you want to create an issue of contribute.
In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.
Examples of behavior that contributes to creating a positive environment include:
Examples of unacceptable behavior by participants include:
Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
Content type
Image
Digest
Size
108.5 MB
Last updated
about 7 years ago
docker pull chowmean/sockperf