Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有人可以告诉我用户空间 NIC 的确切含义和使用时间。以这种方式运行应用程序有什么好处?如果您能举个例子来支持您的回复,我会很高兴。
NIC 驱动程序和应用程序之间的软件层会增加延迟。如果要最小化延迟,有两种选择:在内核中运行应用程序,或者将 NIC 更直接地连接到用户空间中的应用程序。
用户空间 NIC 接口用于对延迟至关重要的应用程序,例如数据包过滤。一个专用硬件对到达一个 NIC 的每个数据包进行加密并通过另一个 NIC 将其发送出去,这很可能运行具有用户空间 NIC 接口的应用程序。