Skip to content

some improvements #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,8 @@ RUN apt-get update && \
RUN curl -LO ftp://ftp.netperf.org/netperf/netperf-2.7.0.tar.gz && tar -xzf netperf-2.7.0.tar.gz
RUN cd netperf-2.7.0 && ./configure && make && make install

EXPOSE 12865/udp
EXPOSE 12865/tcp

USER 1001
CMD ["/usr/local/bin/netserver", "-D"]

6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,10 @@ Throughput Throughput Stddev Local
Microseconds Util
%
11198.09 10^6bits/s 32.46 31.51
```

Start a local netperf server with Podman:
```
podman run --rm=true --user=1001 -d --name=netperf paultiplady/netperf
03d764388fa439fa601d2d862e9a4752d86c3c349730a58e72f8f65ec48df3af
```