Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UDP InErrors observed in sflow listener under load tesing #184

Open
yangyu66 opened this issue Jan 27, 2023 · 1 comment
Open

UDP InErrors observed in sflow listener under load tesing #184

yangyu66 opened this issue Jan 27, 2023 · 1 comment

Comments

@yangyu66
Copy link

yangyu66 commented Jan 27, 2023

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
Copy link
Author

@mehrdadrad could you provide any insights? Appreciate!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant