Linux kernel dropping UDP packets on addresses shared by multiple processes

The name of the pictureThe name of the pictureThe name of the pictureClash 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







share|improve this question
















  • 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














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







share|improve this question
















  • 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












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







share|improve this question












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









share|improve this question











share|improve this question




share|improve this question










asked Feb 7 at 18:36









schuess

1194




1194







  • 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












  • 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







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















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















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



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes










 

draft saved


draft discarded


























 


draft saved


draft discarded














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













































































Popular posts from this blog

How to check contact read email or not when send email to Individual?

Displaying single band from multi-band raster using QGIS

How many registers does an x86_64 CPU actually have?