Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F17245527
prr-partialack-fixed.pkt
rscheff (Richard Scheffenegger)
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
rscheff
Feb 20 2021, 7:05 PM
2021-02-20 19:05:52 (UTC+0)
Size
3 KB
Referenced Files
None
Subscribers
None
prr-partialack-fixed.pkt
View Options
// Testing PRR, trying to end up with cwnd after LR
--tolerance_usecs=2000000
0.0 `sysctl net.inet.tcp.cc.algorithm=newreno`
+0.0 `sysctl net.inet.tcp.initcwnd_segments=10`
+0.0 `sysctl net.inet.tcp.do_prr=1`
+0.0 `sysctl net.inet.tcp.hostcache.purgenow=1`
+0.0 `dmesg -c`
// Create a listening TCP socket.
+0.50 socket(..., SOCK_STREAM, IPPROTO_TCP) = 3
+0.01 setsockopt(3, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
+0.01 setsockopt(3, SOL_SOCKET, SO_SNDBUF, [1048576], 4) = 0
+0.01 setsockopt(3, SOL_SOCKET, SO_DEBUG, [1], 4) = 0
+0.01 bind(3, ..., ...) = 0
+0.01 listen(3, 1) = 0
// Establish a TCP connection.
+0.04 <[noecn] SEW 0:0(0) win 65535 <mss 1000, sackOK, wscale 10, eol, nop, nop >
+0.00 >[noecn] SE. 0:0(0) ack 1 win 65535 <...>
+0.00 <[noecn] . 1:1(0) ack 1 win 65535
+0.00 accept(3, ..., ...) = 4
// Send IW10 + 4 packets
1.00 write(4, ..., 14000) = 14000
+0 >[ect0] . 1:1001(1000) ack 1 <...>
+0 >[ect0] . 1001:2001(1000) ack 1 <...>
+0 >[ect0] . 2001:3001(1000) ack 1 <...>
+0 >[ect0] . 3001:4001(1000) ack 1 <...>
+0 >[ect0] . 4001:5001(1000) ack 1 <...>
+0 >[ect0] . 5001:6001(1000) ack 1 <...>
+0 >[ect0] . 6001:7001(1000) ack 1 <...>
+0 >[ect0] . 7001:8001(1000) ack 1 <...>
+0 >[ect0] . 8001:9001(1000) ack 1 <...>
+0 >[ect0] . 9001:10001(1000) ack 1 <...>
//+0.01 <[noecn] . 1:1(0) ack 1 win 65535 <nop, nop, sack 2001:3001>
//+0.01 <[noecn] . 1:1(0) ack 1 win 65535 <nop, nop, sack 2001:4001>
//+0.01 <[noecn] . 1:1(0) ack 1 win 65535 <nop, nop, sack 2001:5001>
//+0.01 <[noecn] . 1:1(0) ack 1 win 65535 <nop, nop, sack 2001:6001>
//+0.01 <[noecn] . 1:1(0) ack 1 win 65535 <nop, nop, sack 2001:7001>
//+0.01 <[noecn] . 1:1(0) ack 1 win 65535 <nop, nop, sack 2001:8001>
//+0.01 <[noecn] . 1:1(0) ack 1 win 65535 <nop, nop, sack 2001:9001>
+0.01 <[noecn] . 1:1(0) ack 1 win 65535 <nop, nop, sack 8001:10001>
+0 >[ect0] . 10001:11001(1000) ack 1 <...>
+0.01 <[noecn] . 1:1(0) ack 1 win 65535 <nop, nop, sack 8001:11001>
+0 >[noecn] . 1:1001(1000) ack 1 <...>
+0.01 <[noecn] . 1:1(0) ack 1001 win 65535 <nop, nop, sack 8001:11001>
+0 >[noecn] . 1001:2001(1000) ack 1 <...>
+0 >[noecn] . 2001:3001(1000) ack 1 <...>
+0.01 <[noecn] . 1:1(0) ack 2001 win 65535 <nop, nop, sack 8001:10001>
+0 >[noecn] . 3001:4001(1000) ack 1 <...>
+0 >[noecn] . 4001:5001(1000) ack 1 <...>
+0.01 <[noecn] . 1:1(0) ack 3001 win 65535 <nop, nop, sack 8001:10001>
+0 >[noecn] . 5001:6001(1000) ack 1 <...>
+0 >[noecn] . 6001:7001(1000) ack 1 <...>
+0.01 <[noecn] . 1:1(0) ack 4001 win 65535 <nop, nop, sack 8001:10001>
+0 >[noecn] . 7001:8001(1000) ack 1 <...>
+0 >[ect0] W. 11001:12001(1000) ack 1 <...>
+0.01 <[noecn] . 1:1(0) ack 5001 win 65535 <nop, nop, sack 8001:10001>
+0 >[ect0] . 12001:13001(1000) ack 1 <...>
+0.01 <[noecn] . 1:1(0) ack 6001 win 65535 <nop, nop, sack 8001:10001>
+0 >[ect0] P. 13001:14001(1000) ack 1 <...>
+0.01 <[noecn] . 1:1(0) ack 7001 win 65535 <nop, nop, sack 8001:10001>
+0 >[noecn] . 14001:14001(0) ack 1 <...>
+0.01 <[noecn] . 1:1(0) ack 10001 win 65535 <nop, nop, sack 13001:14001>
+0 >[noecn] . 14001:14001(0) ack 1 <...>
+0.00 close(4) = 0
File Metadata
Details
Attached
Mime Type
text/plain
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3472219
Default Alt Text
prr-partialack-fixed.pkt (3 KB)
Attached To
Mode
D28819: PRR: Avoid accounting left-edge twice in partial ACK.
Attached
Detach File
Event Timeline
Log In to Comment