- 博客(2)
- 收藏
- 关注
转载 DPDK原理学习
DPDK特点DPDK全称为Date planedevelopment kit,是一个用来进行包数据处理加速的软件库。与传统的数据包处理相比,DPDK具有以下特点:轮询: 在包处理时避免中断上下文切换的开销, 用户态驱动:规避不必要的内存拷贝和系统调用,便于快速迭代优化亲和性与独占: 特定任务可以被指定只在某个核上工作,避免线程在不同核间频繁切换,保证更多的cache命中降低访存开销: ...
2020-05-07 17:21:30
498
转载 pthread学习
pthread 前置需求头文件#include <pthread.h> 连接libpthread.so库因此在程序链接阶段应该有类似gcc program.o -o program -lpthreadpthread API创建线程int pthread_create(pthread_t *thread, const pthread_attr_t *attr, voi...
2020-05-06 12:53:38
583
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人