Page Fault Support for Network Controllers

Author:

Lesokhin Ilya1,Eran Haggai1,Raindel Shachar2,Shapiro Guy2,Grimberg Sagi2,Liss Liran2,Ben-Yehuda Muli3,Amit Nadav4,Tsafrir Dan3

Affiliation:

1. Technion -- Israel Institute of Technology & Mellanox Technologies, Haifa, Israel

2. Mellanox Technologies, Yokneam, Israel

3. Technion -- Israel Institute of Technology, Haifa, Israel

4. Technion -- Israel Institute of Technology & VMware Research, Haifa, Israel

Abstract

Direct network I/O allows network controllers (NICs) to expose multiple instances of themselves, to be used by untrusted software without a trusted intermediary. Direct I/O thus frees researchers from legacy software, fueling studies that innovate in multitenant setups. Such studies, however, overwhelmingly ignore one serious problem: direct memory accesses (DMAs) of NICs disallow page faults, forcing systems to either pin entire address spaces to physical memory and thereby hinder memory utilization, or resort to APIs that pin/unpin memory buffers before/after they are DMAed, which complicates the programming model and hampers performance. We solve this problem by designing and implementing page fault support for InfiniBand and Ethernet NICs. A main challenge we tackle---unique to NICs---is handling receive DMAs that trigger page faults, leaving the NIC without memory to store the incoming data. We demonstrate that our solution provides all the benefits associated with "regular" virtual memory, notably (1) a simpler programming model that rids users from the need to pin, and (2) the ability to employ all the canonical memory optimizations, such as memory overcommitment and demand-paging based on actual use. We show that, as a result, benchmark performance improves by up to 1.9x.

Publisher

Association for Computing Machinery (ACM)

Reference119 articles.

1. Brian Aker and Mingqiang Zhuang. Memaslap - load testing and benchmarking a server. http://docs.libmemcached.org/bin/memaslap.html. libmemcached 1.1.0 documentation. Accessed: May 2016. Brian Aker and Mingqiang Zhuang. Memaslap - load testing and benchmarking a server. http://docs.libmemcached.org/bin/memaslap.html. libmemcached 1.1.0 documentation. Accessed: May 2016.

2. Data center transport mechanisms: Congestion control theory and IEEE standardization

3. AMD Inc. AMD IOMMU architectural specification rev 2.00. http://developer.amd.com/wordpress/media/2012/10/488821.pdf Mar 2011. Accessed: May 2016. AMD Inc. AMD IOMMU architectural specification rev 2.00. http://developer.amd.com/wordpress/media/2012/10/488821.pdf Mar 2011. Accessed: May 2016.

Cited by 4 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. IOGuard: Software-Based I/O Page Fault Handling with One CPU Core;Proceedings of the 15th Asia-Pacific Symposium on Internetware;2024-07-24

2. Copy-on-Pin: The Missing Piece for Correct Copy-on-Write;Proceedings of the 28th ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 2;2023-01-27

3. KafkaDirect: Zero-copy Data Access for Apache Kafka over RDMA Networks;Proceedings of the 2022 International Conference on Management of Data;2022-06-10

4. Efficient and scalable core multiplexing with M³v;Proceedings of the 27th ACM International Conference on Architectural Support for Programming Languages and Operating Systems;2022-02-22

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3