-
Notifications
You must be signed in to change notification settings - Fork 91
Description
Dear SGX-LKL developers,
I would to benchmark some file intensive operations which may take from a couple of milliseconds to a few seconds. I'm aware that SGX-LKL protects the disk I/O calls using dm-crypt and dm-integrity (I currently use those when building the disk image).
When I measure some disk I/O in my program hosted in SGX-LKL (hawdware mode), should I assume the environment persists the changes on the disk image similarly to a regular operating system (e.g., when calling fsync
), or does SGX-LKL adds additional caching layers that can delay such operations and therefore, wrongly increases the throughput of my benchmarking (typically faster)? If so, do you provide a convenient way to disable such caching mechanism ?
Many thanks for your work!