- 博客(5)
- 资源 (1)
- 问答 (1)
- 收藏
- 关注
原创 eBPF Talk: CPU and NUMA
在现代的服务器中,基本上 CPU 采用的都是多核 NUMA 架构。对于网络而言,一个网络包从物理网卡驱动出来之后,并到达对应的应用层 socket,最好都在同一个 CPU 上,因为这样的性能最好(没有内存 cache miss 的性能损耗)。
2022-11-01 08:00:00 389
原创 eBPF Talk: 宏的两种写法
宏是 C 语言中最强大的语言特性,能够用来简化 eBPF 的 C 代码;毕竟 eBPF 的 C 代码是一种语法、语义都受限的 C 代码,不能像普通 C 代码那样“肆意妄为”。
2022-10-30 15:50:43 335
原创 ImportError: No module named 'ConfigParser'
Resolve Method:I found the problem. I had manually installed a newer version of python (version 3.2 but the version installed through packages is 2.7) and I just redirected /usr/bin/python to pyth
2015-08-24 16:11:14 15533 2
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人