Socket Buffer Size and Performance

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












We want to set our application's socket buffer size from 1500 bytes to 65536 bytes to be generically handle message packet which has larger than 1500 bytes. In this case, will it affect the performance? or it will just be redundant memory?










share|improve this question

















  • 1




    Are you sure that your current socket buffer size is 1500 bytes only? This would be unusual low. It sounds more like the MTU for ethernet - which is unrelated to the socket buffer size. And even with an MTU of 1500 larger messages can be transferred since they get fragmented for transfer and reassembled again.
    – Steffen Ullrich
    Aug 31 at 4:42















up vote
0
down vote

favorite












We want to set our application's socket buffer size from 1500 bytes to 65536 bytes to be generically handle message packet which has larger than 1500 bytes. In this case, will it affect the performance? or it will just be redundant memory?










share|improve this question

















  • 1




    Are you sure that your current socket buffer size is 1500 bytes only? This would be unusual low. It sounds more like the MTU for ethernet - which is unrelated to the socket buffer size. And even with an MTU of 1500 larger messages can be transferred since they get fragmented for transfer and reassembled again.
    – Steffen Ullrich
    Aug 31 at 4:42













up vote
0
down vote

favorite









up vote
0
down vote

favorite











We want to set our application's socket buffer size from 1500 bytes to 65536 bytes to be generically handle message packet which has larger than 1500 bytes. In this case, will it affect the performance? or it will just be redundant memory?










share|improve this question













We want to set our application's socket buffer size from 1500 bytes to 65536 bytes to be generically handle message packet which has larger than 1500 bytes. In this case, will it affect the performance? or it will just be redundant memory?







socket






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Aug 31 at 2:48









Bryan Fok

1063




1063







  • 1




    Are you sure that your current socket buffer size is 1500 bytes only? This would be unusual low. It sounds more like the MTU for ethernet - which is unrelated to the socket buffer size. And even with an MTU of 1500 larger messages can be transferred since they get fragmented for transfer and reassembled again.
    – Steffen Ullrich
    Aug 31 at 4:42













  • 1




    Are you sure that your current socket buffer size is 1500 bytes only? This would be unusual low. It sounds more like the MTU for ethernet - which is unrelated to the socket buffer size. And even with an MTU of 1500 larger messages can be transferred since they get fragmented for transfer and reassembled again.
    – Steffen Ullrich
    Aug 31 at 4:42








1




1




Are you sure that your current socket buffer size is 1500 bytes only? This would be unusual low. It sounds more like the MTU for ethernet - which is unrelated to the socket buffer size. And even with an MTU of 1500 larger messages can be transferred since they get fragmented for transfer and reassembled again.
– Steffen Ullrich
Aug 31 at 4:42





Are you sure that your current socket buffer size is 1500 bytes only? This would be unusual low. It sounds more like the MTU for ethernet - which is unrelated to the socket buffer size. And even with an MTU of 1500 larger messages can be transferred since they get fragmented for transfer and reassembled again.
– Steffen Ullrich
Aug 31 at 4:42
















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%2f465904%2fsocket-buffer-size-and-performance%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%2f465904%2fsocket-buffer-size-and-performance%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

Peggy Mitchell

Palaiologos

The Forum (Inglewood, California)