Linux kernel dropping UDP packets on addresses shared by multiple processes
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
Consider the following:
A server with multiple processes listening to the same multicast address. The processes are able to handle the packets at varying rates.
From observation, the policy for dropping packets when the slowest process forces the rx buffer to queue is to drop the newest incoming packet. This results in all processes losing data as opposed to the slow process losing data.
I haven't been able to find any documentation outlining the policy in the linux kernel for this situation.
Is anyone aware of a way to drop the oldest packet in the buffer and allow the newest to be queued for processing?
FYI kernel 2.6.32-504.16.2.el6.x86_64
linux socket udp
add a comment |Â
up vote
0
down vote
favorite
Consider the following:
A server with multiple processes listening to the same multicast address. The processes are able to handle the packets at varying rates.
From observation, the policy for dropping packets when the slowest process forces the rx buffer to queue is to drop the newest incoming packet. This results in all processes losing data as opposed to the slow process losing data.
I haven't been able to find any documentation outlining the policy in the linux kernel for this situation.
Is anyone aware of a way to drop the oldest packet in the buffer and allow the newest to be queued for processing?
FYI kernel 2.6.32-504.16.2.el6.x86_64
linux socket udp
1
Looking at this article, what are yoursysctl net.ipv4.udp_mem
,sysctl net.core.rmem_max
, andnetstat -suna
results?
â ErikF
Feb 7 at 19:56
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
Consider the following:
A server with multiple processes listening to the same multicast address. The processes are able to handle the packets at varying rates.
From observation, the policy for dropping packets when the slowest process forces the rx buffer to queue is to drop the newest incoming packet. This results in all processes losing data as opposed to the slow process losing data.
I haven't been able to find any documentation outlining the policy in the linux kernel for this situation.
Is anyone aware of a way to drop the oldest packet in the buffer and allow the newest to be queued for processing?
FYI kernel 2.6.32-504.16.2.el6.x86_64
linux socket udp
Consider the following:
A server with multiple processes listening to the same multicast address. The processes are able to handle the packets at varying rates.
From observation, the policy for dropping packets when the slowest process forces the rx buffer to queue is to drop the newest incoming packet. This results in all processes losing data as opposed to the slow process losing data.
I haven't been able to find any documentation outlining the policy in the linux kernel for this situation.
Is anyone aware of a way to drop the oldest packet in the buffer and allow the newest to be queued for processing?
FYI kernel 2.6.32-504.16.2.el6.x86_64
linux socket udp
asked Feb 7 at 18:36
schuess
1194
1194
1
Looking at this article, what are yoursysctl net.ipv4.udp_mem
,sysctl net.core.rmem_max
, andnetstat -suna
results?
â ErikF
Feb 7 at 19:56
add a comment |Â
1
Looking at this article, what are yoursysctl net.ipv4.udp_mem
,sysctl net.core.rmem_max
, andnetstat -suna
results?
â ErikF
Feb 7 at 19:56
1
1
Looking at this article, what are your
sysctl net.ipv4.udp_mem
, sysctl net.core.rmem_max
, and netstat -suna
results?â ErikF
Feb 7 at 19:56
Looking at this article, what are your
sysctl net.ipv4.udp_mem
, sysctl net.core.rmem_max
, and netstat -suna
results?â ErikF
Feb 7 at 19:56
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f422619%2flinux-kernel-dropping-udp-packets-on-addresses-shared-by-multiple-processes%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
1
Looking at this article, what are your
sysctl net.ipv4.udp_mem
,sysctl net.core.rmem_max
, andnetstat -suna
results?â ErikF
Feb 7 at 19:56