{"id":115792,"date":"2024-05-15T08:59:29","date_gmt":"2024-05-15T06:59:29","guid":{"rendered":"https:\/\/prohoster.info\/blog\/novosti-interneta\/dlya-openbsd-realizovana-nastrojka-vklyuchayushhaya-rezhim-tcp_nodelay-dlya-vsej-sistemy"},"modified":"2026-02-14T13:19:52","modified_gmt":"2026-02-14T11:19:52","slug":"dlya-openbsd-realizovana-nastrojka-vklyuchayushhaya-rezhim-tcp_nodelay-dlya-vsej-sistemy","status":"publish","type":"post","link":"https:\/\/prohoster.info\/pt\/blog\/news\/dlya-openbsd-realizovana-nastrojka-vklyuchayushhaya-rezhim-tcp_nodelay-dlya-vsej-sistemy","title":{"rendered":"Para o OpenBSD, foi implementada uma configura\u00e7\u00e3o que inclui o modo TCP_NODELAY para todo o sistema.","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>Job Snijders, um renomado desenvolvedor do OpenBSD, l\u00edder de um dos comit\u00eas da IETF (Internet Engineering Task Force), autor de 11 RFCs relacionados \u00e0 roteamento e RPKI, e criador do IRRd (Internet Routing Registry Daemon), publicou um conjunto de patches para o OpenBSD, adicionando um novo par\u00e2metro sysctl \u2018net.inet.tcp.nodelay\u2019 para desabilitar o algoritmo de Nagle em n\u00edvel de sistema. O par\u00e2metro isenta os desenvolvedores de aplicativos de definir a bandeira TCP_NODELAY para sockets individuais.    <\/p>\n<p>O algoritmo de Nagle \u00e9 utilizado para agregar pequenas mensagens com o objetivo de reduzir o tr\u00e1fego. O algoritmo suspende o envio de novos segmentos TCP at\u00e9 que se receba a confirma\u00e7\u00e3o do recebimento de dados previamente enviados ou at\u00e9 que ocorra um timeout. Por exemplo, sem a agrega\u00e7\u00e3o, ao enviar 1 byte, enviam-se adicionalmente 40 bytes com os cabe\u00e7alhos TCP e IP do pacote, enquanto com o algoritmo de Nagle \u2014 as mensagens enviadas antes da confirma\u00e7\u00e3o da parte remota se acumulam e s\u00e3o enviadas em um \u00fanico pacote. Devido \u00e0 otimiza\u00e7\u00e3o \u2018delayed ACK\u2019, que retarda o envio de pacotes ACK, o sinal atrav\u00e9s de pacotes de confirma\u00e7\u00e3o, na verdade, n\u00e3o funciona, e o envio das mensagens acumuladas ocorre quando ocorre um timeout.    <\/p>\n<p>Snijders acredita que, nas condi\u00e7\u00f5es atuais, o algoritmo de Nagle, desenvolvido em uma \u00e9poca em que diversos usu\u00e1rios competiam por uma largura de banda de 1200 bps, est\u00e1 obsoleto e <a href=\"https:\/\/prohoster.info\/pt\/server\/dts-sofia\/\"  data-wpil-monitor-id=\"3251\">em redes de alta velocidade<\/a> traz mais danos do que benef\u00edcios. Recentemente, uma posi\u00e7\u00e3o similar foi expressa por Marc Brooker da Amazon Web Services (AWS). Os argumentos a favor da desativa\u00e7\u00e3o do algoritmo de Nagle por padr\u00e3o podem ser encontrados em uma nota divulgada h\u00e1 alguns dias.       <\/p>\n<p>Para desativar o algoritmo de Nagle, existe a op\u00e7\u00e3o TCP_NODELAY, que pode ser configurada para sockets de rede individuais. O modo TCP_NODELAY j\u00e1 \u00e9 amplamente utilizado em muitas aplica\u00e7\u00f5es do OpenBSD, incluindo openssh, httpd, iscsid, relayd, bgpd e unwind, e, segundo Snijders, chegou o momento de proporcionar a possibilidade de sua ativa\u00e7\u00e3o para todos os sockets TCP em n\u00edvel de sistema. Snijders tamb\u00e9m sugere discutir a ado\u00e7\u00e3o do TCP_NODELAY por padr\u00e3o e a transforma\u00e7\u00e3o do algoritmo de Nagle em uma op\u00e7\u00e3o ativa separada.<br \/>\n<br \/>Fonte: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=61176\">opennet.ru<\/a> <\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u0414\u0436\u043e\u0431 \u0421\u043d\u0435\u0439\u0434\u0435\u0440\u0441 (Job Snijders), \u043c\u0430\u0441\u0442\u0438\u0442\u044b\u0439 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a OpenBSD, \u0440\u0443\u043a\u043e\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c \u043e\u0434\u043d\u043e\u0433\u043e \u0438\u0437 \u043a\u043e\u043c\u0438\u0442\u0435\u0442\u043e\u0432 \u0432 IETF (Internet Engineering Task Force), \u0430\u0432\u0442\u043e\u0440 11 RFC, \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0445 \u0441 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0446\u0438\u0435\u0439 \u0438 RPKI, \u0438 \u0441\u043e\u0437\u0434\u0430\u0442\u0435\u043b\u044c IRRd (Internet Routing Registry Daemon), \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043b \u043d\u0430\u0431\u043e\u0440 \u043f\u0430\u0442\u0447\u0435\u0439 \u0434\u043b\u044f OpenBSD, \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u044e\u0449\u0438\u0445 \u043d\u043e\u0432\u044b\u0439 sysctl-\u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 &#171;net.inet.tcp.nodelay&#187; \u0434\u043b\u044f \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u0430 \u041d\u0435\u0439\u0433\u043b\u0430 \u043d\u0430 \u0443\u0440\u043e\u0432\u043d\u0435 \u0432\u0441\u0435\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b. \u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u0438\u0437\u0431\u0430\u0432\u043b\u044f\u0435\u0442 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u043e\u0442 \u0432\u044b\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-115792","post","type-post","status-publish","format-standard","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.3 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u0414\u0436\u043e\u0431 \u0421\u043d\u0435\u0439\u0434\u0435\u0440\u0441 (Job Snijders), \u043c\u0430\u0441\u0442\u0438\u0442\u044b\u0439 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a OpenBSD, \u0440\u0443\u043a\u043e\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c \u043e\u0434\u043d\u043e\u0433\u043e \u0438\u0437 \u043a\u043e\u043c\u0438\u0442\u0435\u0442\u043e\u0432 \u0432 IETF (Internet Engineering Task Force), \u0430\u0432\u0442\u043e\u0440 11 RFC, \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0445 \u0441 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0446\u0438\u0435\u0439 \u0438 RPKI, \u0438 \u0441\u043e\u0437\u0434\u0430\u0442\u0435\u043b\u044c IRRd (Internet.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/pt\/blog\/news\/dlya-openbsd-realizovana-nastrojka-vklyuchayushhaya-rezhim-tcp_nodelay-dlya-vsej-sistemy\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.3\" \/>\n\t\t<meta property=\"og:locale\" content=\"pt_PT\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\u0414\u043b\u044f OpenBSD \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u0430 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430, \u0432\u043a\u043b\u044e\u0447\u0430\u044e\u0449\u0430\u044f \u0440\u0435\u0436\u0438\u043c TCP_NODELAY \u0434\u043b\u044f \u0432\u0441\u0435\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u0414\u0436\u043e\u0431 \u0421\u043d\u0435\u0439\u0434\u0435\u0440\u0441 (Job Snijders), \u043c\u0430\u0441\u0442\u0438\u0442\u044b\u0439 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a OpenBSD, \u0440\u0443\u043a\u043e\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c \u043e\u0434\u043d\u043e\u0433\u043e \u0438\u0437 \u043a\u043e\u043c\u0438\u0442\u0435\u0442\u043e\u0432 \u0432 IETF (Internet Engineering Task Force), \u0430\u0432\u0442\u043e\u0440 11 RFC, \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0445 \u0441 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0446\u0438\u0435\u0439 \u0438 RPKI, \u0438 \u0441\u043e\u0437\u0434\u0430\u0442\u0435\u043b\u044c IRRd (Internet.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/pt\/blog\/news\/dlya-openbsd-realizovana-nastrojka-vklyuchayushhaya-rezhim-tcp_nodelay-dlya-vsej-sistemy\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2024-05-15T06:59:29+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-02-14T11:19:52+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47Para o OpenBSD, foi implementada uma configura\u00e7\u00e3o que inclui o modo TCP_NODELAY para todo o sistema | ProHoster","description":"Job Snijders, um renomado desenvolvedor do OpenBSD, l\u00edder de um dos comit\u00eas da IETF (Internet Engineering Task Force), autor de 11 RFCs relacionados a roteamento e RPKI, e criador do IRRd (Internet.","canonical_url":"https:\/\/prohoster.info\/pt\/blog\/news\/dlya-openbsd-realizovana-nastrojka-vklyuchayushhaya-rezhim-tcp_nodelay-dlya-vsej-sistemy","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"pt_PT","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\u0414\u043b\u044f OpenBSD \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u0430 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430, \u0432\u043a\u043b\u044e\u0447\u0430\u044e\u0449\u0430\u044f \u0440\u0435\u0436\u0438\u043c TCP_NODELAY \u0434\u043b\u044f \u0432\u0441\u0435\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b | ProHoster","og:description":"\u0414\u0436\u043e\u0431 \u0421\u043d\u0435\u0439\u0434\u0435\u0440\u0441 (Job Snijders), \u043c\u0430\u0441\u0442\u0438\u0442\u044b\u0439 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a OpenBSD, \u0440\u0443\u043a\u043e\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c \u043e\u0434\u043d\u043e\u0433\u043e \u0438\u0437 \u043a\u043e\u043c\u0438\u0442\u0435\u0442\u043e\u0432 \u0432 IETF (Internet Engineering Task Force), \u0430\u0432\u0442\u043e\u0440 11 RFC, \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0445 \u0441 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0446\u0438\u0435\u0439 \u0438 RPKI, \u0438 \u0441\u043e\u0437\u0434\u0430\u0442\u0435\u043b\u044c IRRd (Internet.","og:url":"https:\/\/prohoster.info\/pt\/blog\/news\/dlya-openbsd-realizovana-nastrojka-vklyuchayushhaya-rezhim-tcp_nodelay-dlya-vsej-sistemy","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2024-05-15T06:59:29+00:00","article:modified_time":"2026-02-14T11:19:52+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"115792","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":"2026-02-14 11:19:52","breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2026-01-23 00:24:19","updated":"2026-02-14 11:19:52","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/pt\/wp-json\/wp\/v2\/posts\/115792","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/pt\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/pt\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/pt\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/pt\/wp-json\/wp\/v2\/comments?post=115792"}],"version-history":[{"count":1,"href":"https:\/\/prohoster.info\/pt\/wp-json\/wp\/v2\/posts\/115792\/revisions"}],"predecessor-version":[{"id":161032,"href":"https:\/\/prohoster.info\/pt\/wp-json\/wp\/v2\/posts\/115792\/revisions\/161032"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/pt\/wp-json\/wp\/v2\/media?parent=115792"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/pt\/wp-json\/wp\/v2\/categories?post=115792"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/pt\/wp-json\/wp\/v2\/tags?post=115792"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}