Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F142241223
D18941.id54144.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D18941.id54144.diff
View Options
Index: head/sys/netinet/tcp_syncache.c
===================================================================
--- head/sys/netinet/tcp_syncache.c
+++ head/sys/netinet/tcp_syncache.c
@@ -159,7 +159,7 @@
* tcp_backoff[1] +
* tcp_backoff[2] +
* tcp_backoff[3]) + 3 * tcp_rexmit_slop,
- * 3000 ms * (1 + 2 + 4 + 8) + 3 * 200 ms = 45600 ms,
+ * 1000 ms * (1 + 2 + 4 + 8) + 3 * 200 ms = 15600 ms,
* the odds are that the user has given up attempting to connect by then.
*/
#define SYNCACHE_MAXREXMTS 3
Index: head/sys/netinet/tcp_timer.h
===================================================================
--- head/sys/netinet/tcp_timer.h
+++ head/sys/netinet/tcp_timer.h
@@ -77,7 +77,7 @@
#define TCPTV_MSL ( 30*hz) /* max seg lifetime (hah!) */
#define TCPTV_SRTTBASE 0 /* base roundtrip time;
if 0, no idea yet */
-#define TCPTV_RTOBASE ( 3*hz) /* assumed RTO if no info */
+#define TCPTV_RTOBASE ( 1*hz) /* assumed RTO if no info */
#define TCPTV_PERSMIN ( 5*hz) /* minimum persist interval */
#define TCPTV_PERSMAX ( 60*hz) /* maximum persist interval */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Jan 18, 5:24 PM (3 h, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27713282
Default Alt Text
D18941.id54144.diff (1 KB)
Attached To
Mode
D18941: RTO.Initial = 1 second for TCP
Attached
Detach File
Event Timeline
Log In to Comment