Changing TCP ACK delay

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








up vote
2
down vote

favorite












TCP ACK is described here:
https://en.wikipedia.org/wiki/TCP_delayed_acknowledgment



I know very little about this - I just learned about it via this ticket that I filed with Node.js:



https://github.com/nodejs/node/issues/21091



Basically I am using TCP to do IPC via localhost, but there's a big delay for each request.



This is the way to change the delay on RedHat apparently:



https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux_for_real_time/7/html/tuning_guide/reducing_the_tcp_delayed_ack_timeout



is there a way to change this setting on Ubuntu?



Maybe like the wikipedia article says, use the TCP_QUICKACK option?







share|improve this question





















  • Any different if you use 127.0.0.1 instead of localhost?
    – user822833
    Jun 5 at 5:59














up vote
2
down vote

favorite












TCP ACK is described here:
https://en.wikipedia.org/wiki/TCP_delayed_acknowledgment



I know very little about this - I just learned about it via this ticket that I filed with Node.js:



https://github.com/nodejs/node/issues/21091



Basically I am using TCP to do IPC via localhost, but there's a big delay for each request.



This is the way to change the delay on RedHat apparently:



https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux_for_real_time/7/html/tuning_guide/reducing_the_tcp_delayed_ack_timeout



is there a way to change this setting on Ubuntu?



Maybe like the wikipedia article says, use the TCP_QUICKACK option?







share|improve this question





















  • Any different if you use 127.0.0.1 instead of localhost?
    – user822833
    Jun 5 at 5:59












up vote
2
down vote

favorite









up vote
2
down vote

favorite











TCP ACK is described here:
https://en.wikipedia.org/wiki/TCP_delayed_acknowledgment



I know very little about this - I just learned about it via this ticket that I filed with Node.js:



https://github.com/nodejs/node/issues/21091



Basically I am using TCP to do IPC via localhost, but there's a big delay for each request.



This is the way to change the delay on RedHat apparently:



https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux_for_real_time/7/html/tuning_guide/reducing_the_tcp_delayed_ack_timeout



is there a way to change this setting on Ubuntu?



Maybe like the wikipedia article says, use the TCP_QUICKACK option?







share|improve this question













TCP ACK is described here:
https://en.wikipedia.org/wiki/TCP_delayed_acknowledgment



I know very little about this - I just learned about it via this ticket that I filed with Node.js:



https://github.com/nodejs/node/issues/21091



Basically I am using TCP to do IPC via localhost, but there's a big delay for each request.



This is the way to change the delay on RedHat apparently:



https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux_for_real_time/7/html/tuning_guide/reducing_the_tcp_delayed_ack_timeout



is there a way to change this setting on Ubuntu?



Maybe like the wikipedia article says, use the TCP_QUICKACK option?









share|improve this question












share|improve this question




share|improve this question








edited Jun 2 at 21:04
























asked Jun 2 at 20:03









Alexander Mills

1201114




1201114











  • Any different if you use 127.0.0.1 instead of localhost?
    – user822833
    Jun 5 at 5:59
















  • Any different if you use 127.0.0.1 instead of localhost?
    – user822833
    Jun 5 at 5:59















Any different if you use 127.0.0.1 instead of localhost?
– user822833
Jun 5 at 5:59




Any different if you use 127.0.0.1 instead of localhost?
– user822833
Jun 5 at 5:59















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
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: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
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%2faskubuntu.com%2fquestions%2f1043028%2fchanging-tcp-ack-delay%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%2faskubuntu.com%2fquestions%2f1043028%2fchanging-tcp-ack-delay%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

pylint3 and pip3 broken

Missing snmpget and snmpwalk

How to enroll fingerprints to Ubuntu 17.10 with VFS491