vflow icon indicating copy to clipboard operation
vflow copied to clipboard

UDP InErrors observed in sflow listener under load tesing

Open yangyu66 opened this issue 3 years ago • 1 comments

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 avatar Jan 27 '23 01:01 yangyu66

@mehrdadrad could you provide any insights? Appreciate!

yangyu66 avatar Jan 27 '23 18:01 yangyu66