tcp latency….throughput..

$cat /proc/sys/net/ipv4/tcp_low_latency 0 $ tcp_low_latency – BOOLEAN If set, the TCP stack makes decisions that prefer lower latency as opposed to higher throughput. By default, this option is not set meaning that higher throughput is preferred. An example of an application where this default should be changed would be a Beowulf compute cluster. Default: 0 …

the interval between the last data packet sent and…

$cat /proc/sys/net/ipv4/tcp_keepalive_time 7200 $ tcp_keepalive_time the interval between the last data packet sent (simple ACKs are not considered data) and the first keepalive probe; after the connection is marked to need keepalive, this counter is not used any further source :http://tldp.org/HOWTO/TCP-Keepalive-HOWTO/usingkeepalive.html linux/net/ipv4/tcp.c – 8 identical 365: * TCP Keep-Alives (4.2.3.6) 366: * MAY provide keep-alives. …

tcp keepalive interval

$cat /proc/sys/net/ipv4/tcp_keepalive_intvl 75 $ tcp_keepalive_intvl the interval between subsequential keepalive probes, regardless of what the connection has exchanged in the meantime linux/net/ipv4/tcp.c – 8 identical 368: * MUST default to no keep-alives. (does) 369: * MUST make keep-alive interval configurable. (does) 370: * MUST make default keep-alive interval > 2 hours. (does) tcp_timer.c – 3 …

Forward RTO-Recovery (F-RTO) defined in RFC4138

$cat /proc/sys/net/ipv4/tcp_frto 2 $ Enables Forward RTO-Recovery (F-RTO) defined in RFC4138. F-RTO is an enhanced recovery algorithm for TCP retransmission timeouts. It is particularly beneficial in wireless environments where packet loss is typically due to random radio interference rather than intermediate router congestion. F-RTO is sender-side only modification. Therefore it does not require any support …

grep … no matching data -I

$grep -r deactivates * grep: trash4: No such file or directory grep: warning: X11/X11: recursive directory loop Binary file X11/zile matches grep: X11/trash4: No such file or directory Binary file zile matches $grep -I -r deactivates * grep: trash4: No such file or directory grep: warning: X11/X11: recursive directory loop grep: X11/trash4: No such file …

how long to keep sockets in the state FIN-WAIT-2

$cat /proc/sys/net/ipv4/tcp_fin_timeout 60 $ The tcp_fin_timeout variable tells kernel how long to keep sockets in the state FIN-WAIT-2 if you were the one closing the socket. This is used if the other peer is broken for some reason and don’t close its side, or the other peer may even crash unexpectedly. Each socket left in …