Edgio / vflow

Enterprise Network Flow Collector (IPFIX, sFlow, Netflow)
http://www.verizonmedia.com
Apache License 2.0
1.07k stars 224 forks source link

UDP InErrors observed in sflow listener under load tesing #184

Open yangyu66 opened 1 year ago

yangyu66 commented 1 year ago

using stress test tool generating around 200Kps sflow packet and observed intermittent UDP InErrors(also attached below) tried increase UDP recieve buffer size to very huge 750MB but not help(both system and code level).. Any other place can check for UDP InErrors ? Thanks !

` system wise: net.core.rmem_max=786432000 net.core.rmem_default=786432000

in vflow/sflow.go: b := sFlowBuffer.Get().([]byte) s.conn.SetReadDeadline(time.Now().Add(1e9)) s.conn.SetReadBuffer(786432000) // 750MB

` Screen Shot 2023-01-26 at 5 19 26 PM Screen Shot 2023-01-26 at 5 19 45 PM

yangyu66 commented 1 year ago

@mehrdadrad could you provide any insights? Appreciate!