oracle / bpftune

bpftune uses BPF to auto-tune Linux systems
Other
685 stars 59 forks source link

bpftune: wrong format specifier leads to negative values for tunables #38

Closed alan-maguire closed 1 year ago

alan-maguire commented 1 year ago

should be %ld, was using %d so we saw for example:

Jul 14 04:14:50 hostname bpftune[1237369]: Due to need to increase max buffer size to maximize throughput change net.ipv4.tcp_rmem(min default max) from (4096 87380 1734723440) -> (4096 87380 -2126562996)

Reported-by: https://github.com/gecon