[FFmpeg-user] Prevent Circular buffer overrun
Jernej Stopinšek
jernej.stopinsek at mega-m.net
Tue Mar 20 15:57:53 EET 2018
Hi,
try to play around with kernel parameters and increase values for:
net.ipv4.udp_rmem_min
net.ipv4.udp_mem
net.core.rmem_default
net.core.rmem_max
net.core.netdev_max_backlog
net.core.netdev_budget
also check interface Ring parameters:
ethtool -g [interface]
and increase RX and TX to maximum:
in my case:
ethtool -G eth0 rx 4096 tx 4096
Check out this document:
https://blog.packagecloud.io/eng/2016/06/22/monitoring-tuning-linux-networking-stack-receiving-data/
and enable RPS and RFS.
This solved my problem with Circular buffer overrun when adding more instances.
More information about the ffmpeg-user
mailing list