Skip to content

ZebinRen/hotcloudperf24-kyber-artifact-public

Repository files navigation

hotcloudperf24-kyber-public

This is the artifact of A Systematic Configuration Space Exploration of the Linux Kyber I/O Scheduler published in HotCloudPerf 24, link to the paper: https://dl.acm.org/doi/10.1145/3629527.3651416.

Please visit https://github.com/ZebinRen/icpe24_io_scheduler_study_artifact for instructions for setting up the environment.

Reproduce the environments

NOTE: Running the following experiments will wipe out all the existing data on the tested storage device!

Micro-benchmark: Latency-sensitive read + Latency-sensitive write

Remove the existing data:

cd micro-bench-r1-w1

# Remove existing data
rm -r *pdf results_kyber_vary_target_lat/* results.txt kyber_vary_target_lat_log.txt

Change the 'FIO_CMD', 'devices', and 'device_name' to the path to the fio binary and the devices to be tested.

Then run the experiments:

sudo python3 kyber_vary_target_lat.py -r

After the experiments are done, the fio outputs are in the 'results_kyber_vary_target_lat' directory.

For the other three micro-benchmarks, the steps are similar.

Experiments with File System

The procedure for the experiments with the three file systems, ext4, f2fs and xfs are similar. Here we take ext4 as an example.

First, prepare the device:

# Format the device
# Replace ext4 with f2fs or xfs for the other two file systems
sudo mkfs.ext4 YOUR_DEVICE
sudo mount YOUR_DEVICE YOUR_MOUNT_POINT

Then remove the existing data:

cd ext4-microbench/r1-w256
rm -r results_kyber_vary_target_lat/* kyber_vary_target_lat_log.txt *pdf

Then change the 'devices', 'device_name', 'mount_dir', and 'FIO_CMD' according to the local settings.

Run the experiments:

sudo python3 kyber_vary_target_lat.py -r

The results and the figure will be in the same directory as the script.

LICENSE

MIT License

Copyright (c) 2024 ZebinRen

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published