Skip to content

UDP InErrors observed in sflow listener under load tesing #184

@yangyu66

Description

@yangyu66

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions