Cargando…
Overcoming the IOTLB wall for multi-100-Gbps Linux-based networking
This article explores opportunities to mitigate the performance impact of IOMMU on high-speed network traffic, as used in the Linux kernel. We first characterize IOTLB behavior and its effects on recent Intel Xeon Scalable & AMD EPYC processors at 200 Gbps, by analyzing the impact of different f...
Autores principales: | , , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
PeerJ Inc.
2023
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10280580/ https://www.ncbi.nlm.nih.gov/pubmed/37346709 http://dx.doi.org/10.7717/peerj-cs.1385 |
_version_ | 1785060827350433792 |
---|---|
author | Farshin, Alireza Rizzo, Luigi Elmeleegy, Khaled Kostić, Dejan |
author_facet | Farshin, Alireza Rizzo, Luigi Elmeleegy, Khaled Kostić, Dejan |
author_sort | Farshin, Alireza |
collection | PubMed |
description | This article explores opportunities to mitigate the performance impact of IOMMU on high-speed network traffic, as used in the Linux kernel. We first characterize IOTLB behavior and its effects on recent Intel Xeon Scalable & AMD EPYC processors at 200 Gbps, by analyzing the impact of different factors contributing to IOTLB misses and causing throughput drop (up to 20% compared to the no-IOMMU case in our experiments). Secondly, we discuss and analyze possible mitigations, including proposals and evaluation of a practical hugepage-aware memory allocator for the network device drivers to employ hugepage IOTLB entries in the Linux kernel. Our evaluation shows that using hugepage-backed buffers can completely recover the throughput drop introduced by IOMMU. Moreover, we formulate a set of guidelines that enable network developers to tune their systems to avoid the “IOTLB wall”, i.e., the point where excessive IOTLB misses cause throughput drop. Our takeaways signify the importance of having a call to arms to rethink Linux-based I/O management at higher data rates. |
format | Online Article Text |
id | pubmed-10280580 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2023 |
publisher | PeerJ Inc. |
record_format | MEDLINE/PubMed |
spelling | pubmed-102805802023-06-21 Overcoming the IOTLB wall for multi-100-Gbps Linux-based networking Farshin, Alireza Rizzo, Luigi Elmeleegy, Khaled Kostić, Dejan PeerJ Comput Sci Computer Networks and Communications This article explores opportunities to mitigate the performance impact of IOMMU on high-speed network traffic, as used in the Linux kernel. We first characterize IOTLB behavior and its effects on recent Intel Xeon Scalable & AMD EPYC processors at 200 Gbps, by analyzing the impact of different factors contributing to IOTLB misses and causing throughput drop (up to 20% compared to the no-IOMMU case in our experiments). Secondly, we discuss and analyze possible mitigations, including proposals and evaluation of a practical hugepage-aware memory allocator for the network device drivers to employ hugepage IOTLB entries in the Linux kernel. Our evaluation shows that using hugepage-backed buffers can completely recover the throughput drop introduced by IOMMU. Moreover, we formulate a set of guidelines that enable network developers to tune their systems to avoid the “IOTLB wall”, i.e., the point where excessive IOTLB misses cause throughput drop. Our takeaways signify the importance of having a call to arms to rethink Linux-based I/O management at higher data rates. PeerJ Inc. 2023-05-16 /pmc/articles/PMC10280580/ /pubmed/37346709 http://dx.doi.org/10.7717/peerj-cs.1385 Text en © 2023 Farshin et al. https://creativecommons.org/licenses/by/4.0/This is an open access article distributed under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0/) , which permits unrestricted use, distribution, reproduction and adaptation in any medium and for any purpose provided that it is properly attributed. For attribution, the original author(s), title, publication source (PeerJ Computer Science) and either DOI or URL of the article must be cited. |
spellingShingle | Computer Networks and Communications Farshin, Alireza Rizzo, Luigi Elmeleegy, Khaled Kostić, Dejan Overcoming the IOTLB wall for multi-100-Gbps Linux-based networking |
title | Overcoming the IOTLB wall for multi-100-Gbps Linux-based networking |
title_full | Overcoming the IOTLB wall for multi-100-Gbps Linux-based networking |
title_fullStr | Overcoming the IOTLB wall for multi-100-Gbps Linux-based networking |
title_full_unstemmed | Overcoming the IOTLB wall for multi-100-Gbps Linux-based networking |
title_short | Overcoming the IOTLB wall for multi-100-Gbps Linux-based networking |
title_sort | overcoming the iotlb wall for multi-100-gbps linux-based networking |
topic | Computer Networks and Communications |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10280580/ https://www.ncbi.nlm.nih.gov/pubmed/37346709 http://dx.doi.org/10.7717/peerj-cs.1385 |
work_keys_str_mv | AT farshinalireza overcomingtheiotlbwallformulti100gbpslinuxbasednetworking AT rizzoluigi overcomingtheiotlbwallformulti100gbpslinuxbasednetworking AT elmeleegykhaled overcomingtheiotlbwallformulti100gbpslinuxbasednetworking AT kosticdejan overcomingtheiotlbwallformulti100gbpslinuxbasednetworking |