当前位置:网站首页>I/O 虚拟化技术 — UIO Framework
I/O 虚拟化技术 — UIO Framework
2022-06-26 03:33:00 【范桂飓】
目录
UIO Framework — 用户态网络协议栈方案
UIO Framework Kernel Module(User Space I/O,用户态 I/O 框架内核模块),是 Kernel 提供的用户态 I/O 驱动程序框架。基于 UIO Framework 可以编写出让数据报文绕过 Kernel Network Stack,直接进入 User Space 进行处理的内核模块(e.g. DPDK IGB_UIO)。
但是,UIO 也有着不足之处,例如:不支持 DMA(不受 IOMMU 的保护)、中断支持有限、需要 Root 权限运行等,所以通过 DMA 传输大流量数据的 I/O 设备,如:被 Passthrougth 的网卡、显卡等设备,是无法使用 UIO Framework 的。
UIO 的实现机制是:对用户态暴露一个文件接口,当注册一个 UIO 设备时,就会出现一个系统文件 /dev/uioX,对该文件的读写就是对网卡设备的内存的读写。除此之外,对网卡设备的控制还可以通过 /sys/class/uio 下的各个文件的读写来完成。
如下图:
- mmap() 接口:用于映射设备的寄存器空间。
- read() 接口:用于等待
边栏推荐
- ABP framework Practice Series (II) - Introduction to domain layer
- mysql 常用语句
- An error occurred using the connection to database 'on server' 10.28.253.2‘
- MySQL development environment
- 虚拟化是什么意思?包含哪些技术?与私有云有什么区别?
- Nebula Graph学习篇3_多线程完成6000w+关系数据迁移
- MySQL高級篇第一章(linux下安裝MySQL)【下】
- Xgboost, lightgbm, catboost -- try to stand on the shoulders of giants
- Camera-CreateCaptureSession
- WebRTC系列-网络传输之7-ICE补充之偏好(preference)与优先级(priority)
猜你喜欢

ABP framework Practice Series (III) - domain layer in depth

“再谈”协议

Request object, send request
HL7Exception: Can‘t XML-encode a GenericMessage. Message must have a recognized struct

MySQL development environment

ASP. Net core introduction

After Ali failed to start his job in the interview, he was roast by the interviewer in the circle of friends (plug)

Group counting notes - instruction pipeline of CPU

多媒体元素,音频、视频

Evaluation - analytic hierarchy process
随机推荐
Kotlin uses viewpager2+fragment+bottomnavigationview to implement the style of the switching module of the bottom menu bar.
Class diagram
Asynctask multiple simultaneous use methods
. Net core learning journey
Restful API interface design standards and specifications
Comparison of static methods and variables with instance methods and variables
智能制造学习记录片和书籍
Click event
Procédures stockées MySQL
USB driver -debug
XGBoost, lightGBM, CatBoost——尝试站在巨人的肩膀上
C # knowledge structure
Kotlin quick start
Where is it safe to open a fund account?
Contains an object field at offset position
Classic model - Nin & googlenet
Preparation for wechat applet development
动态线段树leetcode.715
Uni app, the text implementation expands and retracts the full text
MySQL addition, deletion, query and modification (primary level)