occlum/demos/benchmarks/iperf3
2023-11-07 09:26:20 +08:00
..
build.sh Update demos to enable EDMM features 2023-11-07 09:26:20 +08:00
iperf3.sh [demos] Update iperf3/sysbench for benchmarks 2023-07-13 10:47:29 +08:00
iperf3.yaml [demos] Move all the benchmark demos together 2022-11-30 21:25:32 +08:00
README.md [demos] Move all the benchmark demos together 2022-11-30 21:25:32 +08:00
result_template.json [demos] Update iperf3/sysbench for benchmarks 2023-07-13 10:47:29 +08:00

Run iperf3 on Occlum

Iperf3 is a popular tool for measuring Internet bandwidth performance.

Build

./build.sh

If everything goes well, it generates two occlum instances.

occlum_server
occlum_client

Run the test

  • Start the iperf3 server for on one time benchmark
cd occlum_server
occlum run /bin/iperf3 -s -p 6777 -1
  • Start the iperf3 client with 16 streams
cd occlum_client
occlum run /bin/iperf3 -c 127.0.0.1 -p 6777 -P 16