DOI QR코드

DOI QR Code

Implementing I/O Bandwidth Sharing Scheme between Multiple Linux Containers based on Dm-zoned for Zoned Namespace SSDs

  • Seokjun Lee (School of Computer Science and Engineering, Pusan National University) ;
  • Sungyong Ahn (School of Computer Science and Engineering, Pusan National University)
  • Received : 2023.10.23
  • Accepted : 2023.11.04
  • Published : 2023.12.31

Abstract

In the cloud service, system resource such as CPU, memory, I/O bandwidth are shared among multiple users. Particularly, in Linux containers environment, I/O bandwidth is distributed in proportion to the weight of each container through the BFQ I/O scheduler. However, since the I/O scheduler can only be applied to conventional block storage devices, it cannot be applied to Zoned Namespace(ZNS) SSD, a new storage interface that has been recently studied. To overcome this limitation, in this paper, we implemented a weighted proportional I/O bandwidth sharing scheme for ZNS SSDs in dm-zoned, which emulates conventional block storage using ZNS SSDs. Each user receives a different amount of budget, which is required to process the user's I/O requests based on the user's weight. If the budget is exhausted I/O requests cannot be processed and requests are queued until the budget replenished. Each budget refill period, the budget is replenished based on the user's weight. In the experiment, as a result, we can confirm that the I/O bandwidth can be distributed on their weight as we expected.

Keywords

Acknowledgement

This research was supported by the MSIT(Ministry of Science and ICT), Korea, under the Convergence security core talent training business(Pusan National University) support program(IITP-2023-2022-0-01201) supervised by the IITP(Institute for Information & Communications Technology Planning & Evaluation). This research was supported by the MSIT(Ministry of Science and ICT), Korea, under the ITRC(Information Technology Research Center) support program(IITP-2023-2020-0-01797) supervised by the IITP(Institute for Information & Communications Technology Planning & Evaluation)

References

  1. Cgroup, [Online] Available: https://www.kernel.org/doc/Documentation/group-v1/cgroups.txt ,2018.
  2. BFQ Scheduler, [Online] Available: https://www.kernel.org/doc/Documentation/block/bfq-iosched.txt
  3. Zoned Namespaces (ZNS) SSDs, [Online] Available: https:// zonedstorage.io/introduction/zns/.
  4. dm-zoned-tools, [Online] Available: https://github.com/westerndigitalcorporation/dm-zoned-tools.
  5. S. Ahn, K. La., and J. Kim, "Improving I/O Resource Sharing of Linux Cgroup for NVMe SSDs on Multi-core Systems," 8th USENIX Workshop on Hot Topics in Storage and File Systems(HotStorage 16). pp. 111-115, 2016. DOI: https://dl.acm.org/doi/10.5555/3026852.3026875
  6. H. Li, et. al., "The case of FEMU: cheap, accurate, scalable and extensible flash emulator," 16th USENIX Conference on File and Storage Technologies (FAST 18), pp. 83-90, 2018. DOI: https://dl.acm.org/doi/10.5555/3189759.3189767
  7. J. Axboe, "Flexible I/O tester,", [Online] Available: https:/ /github.com/axboe/fio
  8. UMASS trace, [Online] Available: https://traces.cs.umass.edu/
  9. R. K. Jain, et al. "A quantitative measure of fairness and discrimination," Eastern Research Laboratory, Digital Equipment Corporation, 1984. DOI: https://doi.org/10.48550/arXiv.cs/9809099
  10. trace-replay, [Online] Available: https://github.com/yongseokoh/trace-replay