Question
I believe I discoverd a potential Linux performance regression linked to the code cleanup in #1772. Forcing pcap_set_immediate_mode causes libpcap to fall back from TPACKET_V3 to TPACKET_V2 in this part of the code
|
#ifdef HAS_PCAP_IMMEDIATE_MODE |
In my initial testing, disabling immediate mode significantly reduced CPU usage and increased throughput under load. I wanted to confirm what the intended behavior is currently. Thanks.
Relevant libpcap code
Operating systems
No response
Question
I believe I discoverd a potential Linux performance regression linked to the code cleanup in #1772. Forcing
pcap_set_immediate_modecauses libpcap to fall back from TPACKET_V3 to TPACKET_V2 in this part of the codePcapPlusPlus/Pcap++/src/PcapLiveDevice.cpp
Line 679 in 80c7328
In my initial testing, disabling immediate mode significantly reduced CPU usage and increased throughput under load. I wanted to confirm what the intended behavior is currently. Thanks.
Relevant libpcap code
Operating systems
No response