occlum/demos/iperf2
2022-06-05 15:46:07 +08:00
..
build.sh Add iperf2 demo 2022-06-05 15:46:07 +08:00
iperf2.yaml Add iperf2 demo 2022-06-05 15:46:07 +08:00
README.md Add iperf2 demo 2022-06-05 15:46:07 +08:00

Run iperf2 on Occlum

Iperf2 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 iperf2 server
cd occlum_server
occlum run /bin/iperf -s -p 6888
  • Start the iperf2 client with 16 threads
cd occlum_client
occlum run /bin/iperf -c 127.0.0.1 -p 6888 -P 16