摘要: 网络IO的虚拟化模型随着技术发展,出现了多种方式,例如emulation、para-virtualization、pass-through和SR-IOV等,本文试图对其做一个简单的总结。 Emulation(仿真): 全虚拟化是最早出现的IO虚拟化方式,效率也最低。以接收网络报文为例,其处理步骤可以简单描述如下: 数据包到达主机物理网卡,向host CPU发出中断。QEMU创建的网桥(br... 阅读全文
posted @ 2015-08-12 03:49 CodeComposer 阅读(1275) 评论(0) 推荐(0) 编辑
摘要: 是在features.h中用于特性控制的一个功能测试宏 /user/include/features.h /* If _GNU_SOURCE was defined by the user, turn on all the other features. */ #ifdef _GNU_SOURCE # undef _ISOC99_SOURCE # define _ISOC99_SOURCE 1... 阅读全文
posted @ 2015-08-12 03:00 CodeComposer 阅读(658) 评论(0) 推荐(0) 编辑
摘要: This is a list of all Intel Ivy Bridge Microarchitecture performance counter event types. Please see Intel Architecture Developer's Manual Volume 3B, Appendix A and Intel Architecture Optimization Ref... 阅读全文
posted @ 2015-08-12 02:59 CodeComposer 阅读(598) 评论(0) 推荐(0) 编辑
摘要: This is a list of all Intel Sandy Bridge Microarchitecture performance counter event types. Please see Intel Architecture Developer's Manual Volume 3B, Appendix A and Intel Architecture Optimization R... 阅读全文
posted @ 2015-08-12 02:58 CodeComposer 阅读(443) 评论(0) 推荐(0) 编辑