daversun
daversun
Dear professor I have pasted the code I write for testing performace such as ops and throughput。I test the ops about 223566 packet per second。 The packet size is about...
cpu info: processor : 79 vendor_id : GenuineIntel cpu family : 6 model : 85 model name : Intel(R) Xeon(R) Gold 6148 CPU @ 2.40GHz s-tui can't show power info.
  
error: no matching function for call to ‘libMesh::Parallel::Communicator::broadcast(std::string&) const I use gcc 6.2 or 9.3 on the centos7 and the kernel is 3.10.0-957.el7.x86_64
Libnids有多线程的模式,我看源码是通过一个异步的线程安全队列来实现的,libpcap 捕获到的流量存入异步队列,然后有另外的线程从异步队列中进行流量获取进行流量的还原,但是我发现源码中流量捕获与流量还原都是在单线程中完成的,难道Libnids的多线程说的只是流量捕获和流量还原不在同一个线程吗?