上一页 1 ··· 104 105 106 107 108 109 110 111 112 ··· 164 下一页

2020年9月10日

摘要: [root@localhost ring_test]# make clean all CC main.o cc1: error: argument to ‘-O’ should be a non-negative integer, ‘g’, ‘s’ or ‘fast’ cc1: warning: u 阅读全文
posted @ 2020-09-10 19:40 tycoon3 阅读(1228) 评论(0) 推荐(0)
摘要: [root@localhost ring_test]# ps -Leo pid,tid,args:30,psr,comm | grep dpdk_test 47138 47138 ./build/app/dpdk_test -c 0x3f 0 dpdk_test 47138 47139 ./buil 阅读全文
posted @ 2020-09-10 17:40 tycoon3 阅读(296) 评论(0) 推荐(0)
摘要: stats_lcore在main函数定义: 栈变量 阅读全文
posted @ 2020-09-10 17:09 tycoon3 阅读(215) 评论(0) 推荐(0)
摘要: CAS学习无锁队列前先看一个基本概念,CAS原子指令操作。 CAS(Compare and Swap,比较并替换)原子指令,用来保障数据的一致性。 指令有三个参数,当前内存值V、旧的预期值A、更新的值B,当且仅当预期值A和内存值V相同时,将内存值修改为B并返回true,否则什么都不做,并返回fals 阅读全文
posted @ 2020-09-10 16:24 tycoon3 阅读(1126) 评论(0) 推荐(0)
摘要: 原文:Making Containers More Isolated: An Overview of Sandboxed Container Technologies 摘要 既然主流 IT 工业都在采用基于容器的基础设施(云原生方案),那么了解这一技术的短板就很重要了。Docker、LXC 以及 R 阅读全文
posted @ 2020-09-10 15:42 tycoon3 阅读(3341) 评论(0) 推荐(0)

2020年9月9日

摘要: 阅读全文
posted @ 2020-09-09 19:40 tycoon3 阅读(413) 评论(0) 推荐(0)
摘要: cloudinit/sources/helpers/openstack.py else: if link['type'] not in KNOWN_PHYSICAL_TYPES: LOG.warning('Unknown network_data link type (%s); treating a 阅读全文
posted @ 2020-09-09 15:19 tycoon3 阅读(263) 评论(0) 推荐(0)
摘要: 节点1 ip netns add ns1 ip link add veth1 type veth peer name eth0 netns ns1 ip netns exec ns1 ip link set eth0 up ip netns exec ns1 ip link set lo up ip 阅读全文
posted @ 2020-09-09 09:50 tycoon3 阅读(240) 评论(0) 推荐(0)

2020年9月8日

摘要: 初始化分析 一个设备驱动要实现的功能根据实际需要可能千差万别,但是究其本质来说无非两件事情:一个是内存的操作,另外一个就是中断的处理。Igb_uio驱动和igb驱动都是网卡这个PCI设备的驱动,相同点就是要使能PCI设备,分配内存等,不同的就在于对内存和中断的处理方式的差异。 下面看下igb_uio 阅读全文
posted @ 2020-09-08 15:13 tycoon3 阅读(315) 评论(0) 推荐(0)
摘要: BAR寄存器: Base Address Register0~5:即BAR寄存器,保存PCI设备使用的地址空间的基地址,保存设备在PCI总线域中的地址,每个设备最多可以有6个基址空间; PCI设备复位之后,存放PCI设备需要使用的基地址空间大小,该空间是I /O空间还是存储器空间等信息; 软件对PC 阅读全文
posted @ 2020-09-08 14:55 tycoon3 阅读(3201) 评论(0) 推荐(0)
上一页 1 ··· 104 105 106 107 108 109 110 111 112 ··· 164 下一页

导航