Skip to content

Latency or no latency? #128

@bzed

Description

@bzed

While looking at the logs I found the following part:

Dec 10 20:26:07 foobar bpftune[1050862]: Scenario 'need to retain TCP buffer size due to latency' occurred for tunable 'net.ipv4.tcp_rmem' in global ns. Latency is starting to correlate with buffer size increases, so do not make buffer size increase to avoid this effect
Dec 10 20:26:07 foobar bpftune[1050862]: Due to correlation between buffer size increase and latency change net.ipv4.tcp_rmem(min default max) from (4096 87380 32768000) -> (4096 87380 32768000)
Dec 10 20:26:07 foobar bpftune[1050862]: Scenario 'need to retain TCP buffer size due to latency' occurred for tunable 'net.ipv4.tcp_rmem' in global ns. Latency is starting to correlate with buffer size increases, so do not make buffer size increase to avoid this effect
Dec 10 20:26:07 foobar bpftune[1050862]: Due to correlation between buffer size increase and latency change net.ipv4.tcp_rmem(min default max) from (4096 87380 32768000) -> (4096 87380 32768000)
Dec 10 20:26:07 foobar bpftune[1050862]: Scenario 'need to increase TCP buffer size(s)' occurred for tunable 'net.ipv4.tcp_rmem' in global ns. Need to increase buffer size(s) to maximize throughput
Dec 10 20:26:07 foobar bpftune[1050862]: Due to need to increase max buffer size to maximize throughput change net.ipv4.tcp_rmem(min default max) from (4096 87380 32768000) -> (4096 87380 40960000)
Dec 10 22:01:34 foobar bpftune[1050862]: Scenario 'need to increase TCP buffer size(s)' occurred for tunable 'net.ipv4.tcp_rmem' in global ns. Need to increase buffer size(s) to maximize throughput
Dec 10 22:01:34 foobar bpftune[1050862]: Due to need to increase max buffer size to maximize throughput change net.ipv4.tcp_rmem(min default max) from (4096 87380 40960000) -> (4096 87380 51200000)

So first it was decided that larger buffers affect latency - and later it doesn't matter anymore?

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