occlum/demos/benchmarks/fio
2022-11-30 21:25:32 +08:00
..
configs [demos] Move all the benchmark demos together 2022-11-30 21:25:32 +08:00
.gitignore [demos] Move all the benchmark demos together 2022-11-30 21:25:32 +08:00
disable-fadvise.diff [demos] Move all the benchmark demos together 2022-11-30 21:25:32 +08:00
download_and_build_fio.sh [demos] Move all the benchmark demos together 2022-11-30 21:25:32 +08:00
fio.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
run_fio_on_occlum.sh [demos] Move all the benchmark demos together 2022-11-30 21:25:32 +08:00

Use Flexible I/O Tester in SGX with Occlum

This project demonstrates how Occlum enables the Flexible I/O Tester(FIO) in SGX enclaves.

Step 1: Download and build the FIO

./download_and_build_fio.sh

When completed, the FIO program is generated in the source directory of it.

Step 2: Run the FIO program to test sequential read inside SGX enclave with Occlum

./run_fio_on_occlum.sh fio-seq-read.fio

FIO uses a configuration file to run the I/O test. We have already copied and modified some configuration files from the examples directory of it. Please see the files in the configs for the detail.