- 博客(5)
- 收藏
- 关注
转载 Suricata开启PF_RING加速的方法
Pre installation requirementsBefore you can build Suricata for your system, run the following command to ensure that you have everything you need for the installation. sudo apt-get -y install li
2017-09-22 09:49:19
3534
转载 Suricata开启Hyperscan加速的方法
suricata开启hyperscan加速的方法:We'll install version 4.2.0.git clone https://github.com/01org/hyperscancd hyperscanmkdir buildcd buildcmake -DBUILD_STATIC_AND_SHARED=1 ../If you have your own
2017-09-21 18:40:01
2321
原创 false sharing 问题
在做多线程程序的时候,为了避免使用锁,我们通常会采用这样的数据结构:根据线程的数目,安排一个数组, 每个线程一个项,互相不冲突. 从逻辑上看这样的设计无懈可击,但是实践的过程我们会发现这样并没有提高速度. 问题在于cpu的cache line. 我们在读主存的时候,数据同时被读到L1,L2中去,而且在L1中是以cache line(通常64)字节为单位的. 每个Core都有自己的L1,L2,所以每
2017-08-09 10:52:41
503
转载 VMWare Player+Fedroa24 部署DPDK运行报错问题解决方法
dpdk-16.11 运行 helloworld,持续输出报错信息:EAL: Error reading from file descriptor 23: Input/output errorEAL: Error reading from file descriptor 23: Input/output errorEAL: Error reading from file descr
2017-08-03 10:23:23
1441
原创 CRC32 Hash PK Murmur Hash
硬件指令实现的CRC32运算在多款主流CPU上性能超越Murmurhash,碰撞性能基本一致,多数场景可以使用CRC32硬件指令优化HASH算法提升性能
2017-01-07 07:03:22
3649
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人