okkyの日記: TCP SYN再送間隔のお話
「LinuxのTCP SYNの再送間隔の初期値が3秒から1秒に変更されていた」
http://d.hatena.ne.jp/rx7/20131129/p1
-#define TCP_TIMEOUT_INIT ((unsigned)(3*HZ)) /* RFC 1122 initial RTO value */
+#define TCP_TIMEOUT_INIT ((unsigned)(1*HZ)) /* RFC2988bis initial RTO value */
RFC更新に伴って値を変えたらしい。
このコミットで変わっていることが確認できます。2011/6のコミットです。
Linux Kernelのバージョンでいうと、3.2のタイミングで取り込まれているようです。
CentOSとかはバックポートがあるのでややこしいが、基本的にこういうことか。
ココに書いておこう、忘れるから。
----
ちなみに。「bis」ってのは
http://linux.derkeiler.com/Newsgroups/comp.os.linux.development.apps/2006-08/msg00357.html
"bis" means "twice" in (ancient) Latin, so this may point into the
direction that there exists/existed an RFCxxxx and RFCxxxbis is the
"second flush" ;-)
で、RFC2988bisなんだけれど、
http://www.potaroo.net/ietf/all-ids/draft-paxson-tcpm-rfc2988bis-03.txt
によると、RFC2988bis は RFC6298 としてリリースされたらしい。
http://tools.ietf.org/html/rfc6298
TCP SYN再送間隔のお話 More ログイン