Page MenuHomeFreeBSD
Feed Advanced Search

Sep 12 2020

rscheff accepted D26412: Export TCP congestion control name.
Sep 12 2020, 10:25 PM
rscheff accepted D26413: Extend sockstat to display the TCP congestion control.
Sep 12 2020, 10:06 PM
rscheff accepted D26414: Extend netstat to display the TCP congestion control.

I wanted to suggest using -C (for reasons, instead of -c), but seeing this is already addressed...

Sep 12 2020, 9:25 PM
rscheff added inline comments to D26413: Extend sockstat to display the TCP congestion control.
Sep 12 2020, 9:23 PM
rscheff requested changes to D26412: Export TCP congestion control name.
Sep 12 2020, 9:14 PM
rscheff accepted D26410: Allow specifying the traffic class when using traceroute6.

In the man page, do we want to refer to RFC2474 and RFC3168, so that people are at least warned when the tos / tclass bytes are using not only the DSCP field, but also the ECN codepoints in ping / ping6 / traceroute / traceroute6?

Sep 12 2020, 9:10 PM
rscheff updated the diff for D24237: Fix erroneous "DSACK" during loss recovery.
  • INP lock should be retained until socket wakeup calls are completed.
Sep 12 2020, 9:51 AM
rscheff requested review of D26409: Add IP(V6)_VLAN_PCP to adjust 802.1 priority per-flow..
Sep 12 2020, 1:02 AM

Sep 11 2020

rscheff updated the diff for D26385: Add DSCP support for network QoS to iscsi target..
  • shift TOS predefinitions and dscp field correctly around
Sep 11 2020, 7:36 AM

Sep 10 2020

rscheff updated the diff for D26385: Add DSCP support for network QoS to iscsi target..
  • uclparse hex values for dscp too
Sep 10 2020, 8:12 PM
rscheff updated the diff for D26385: Add DSCP support for network QoS to iscsi target..
  • adding uclparse and using temporary dscp variable when doing setsockopt
Sep 10 2020, 3:13 PM
rscheff committed rS365547: Add -z "TOS" option to ping6, to test DSCP/ECN values.
Add -z "TOS" option to ping6, to test DSCP/ECN values
Sep 10 2020, 12:50 AM
rscheff closed D26384: Add -z "TOS" option to ping6, to test DSCP/ECN values.
Sep 10 2020, 12:50 AM
rscheff closed D26181: cc_mod: remove unused CCF_DELACK definition.
Sep 10 2020, 12:47 AM
rscheff committed rS365546: cc_mod: remove unused CCF_DELACK definition.
cc_mod: remove unused CCF_DELACK definition
Sep 10 2020, 12:46 AM
rscheff updated the diff for D26385: Add DSCP support for network QoS to iscsi target..
  • prevent the ECN bits to be set.
Sep 10 2020, 12:24 AM
rscheff requested review of D26385: Add DSCP support for network QoS to iscsi target..
Sep 10 2020, 12:00 AM

Sep 9 2020

rscheff requested review of D26384: Add -z "TOS" option to ping6, to test DSCP/ECN values.
Sep 9 2020, 10:25 PM

Sep 3 2020

rscheff committed rS365295: MFC r364354: TCP Cubic: recalculate cwnd for every ACK..
MFC r364354: TCP Cubic: recalculate cwnd for every ACK.
Sep 3 2020, 9:10 AM
rscheff committed rS365294: MFC r364197: TCP Cubic: Have Fast Convergence Heuristic work for ECN, and align….
MFC r364197: TCP Cubic: Have Fast Convergence Heuristic work for ECN, and align…
Sep 3 2020, 8:45 AM
rscheff committed rS365293: MFC r364196: TCP Cubic: After leaving slowstart fix unintended cwnd jump..
MFC r364196: TCP Cubic: After leaving slowstart fix unintended cwnd jump.
Sep 3 2020, 8:42 AM
rscheff committed rS365292: MFC r364195: Improve SACK support code for RFC6675 and PRR.
MFC r364195: Improve SACK support code for RFC6675 and PRR
Sep 3 2020, 8:38 AM

Aug 25 2020

rscheff requested review of D26181: cc_mod: remove unused CCF_DELACK definition.
Aug 25 2020, 1:05 PM

Aug 19 2020

rscheff committed rS364378: MFC r363397: Fix style and comment around concave/convex regions in TCP cubic..
MFC r363397: Fix style and comment around concave/convex regions in TCP cubic.
Aug 19 2020, 10:40 AM
rscheff committed rS364377: MFC r363380: Add MODULE_VERSION to TCP loadable congestion control modules..
MFC r363380: Add MODULE_VERSION to TCP loadable congestion control modules.
Aug 19 2020, 10:36 AM
rscheff committed rS364376: MFC r362988: Fix KASSERT during tcp_newtcpcb when low on memory.
MFC r362988: Fix KASSERT during tcp_newtcpcb when low on memory
Aug 19 2020, 10:32 AM
rscheff accepted D26120: Don't apply L in congestion avoidance.

Looks good - t_bytes_acked is already a "corrected" value to deal with ACK duplication / ACK splitting; During CA, cwnd should grow by 1 MSS every window, and accounting when a window was transferred is t_bytes_acked.

Aug 19 2020, 9:06 AM
rscheff added a comment to D24237: Fix erroneous "DSACK" during loss recovery.

This Diff has morphed over time quite dramatically; Originally only intended to fix one socket upcall at an inopportune time (using a hack that simply prevented the transmission of a premature ACK), it was suggested to revamp all socket upcalls throughout the stack.

Aug 19 2020, 7:32 AM

Aug 18 2020

rscheff committed rS364354: TCP Cubic: recalculate cwnd for every ACK..
TCP Cubic: recalculate cwnd for every ACK.
Aug 18 2020, 7:34 PM
rscheff closed D26060: TCP Cubic: Recalculate cubic cwnd for every ack..
Aug 18 2020, 7:34 PM
rscheff updated the diff for D26060: TCP Cubic: Recalculate cubic cwnd for every ack..
  • straighten comment further
Aug 18 2020, 6:56 PM
rscheff updated the diff for D26060: TCP Cubic: Recalculate cubic cwnd for every ack..
  • always use absolute cubic_cwnd value
  • update cubic cwnd comment to reflect new logic
Aug 18 2020, 6:00 PM

Aug 13 2020

rscheff requested review of D26060: TCP Cubic: Recalculate cubic cwnd for every ack..
Aug 13 2020, 8:17 PM
rscheff closed D25976: TCP Cubic: Have Fast Convergence Heuristic work for ECN, and align concave region.
Aug 13 2020, 4:46 PM
rscheff committed rS364197: TCP Cubic: Have Fast Convergence Heuristic work for ECN, and align concave….
TCP Cubic: Have Fast Convergence Heuristic work for ECN, and align concave…
Aug 13 2020, 4:46 PM
rscheff committed rS364196: TCP Cubic: After leaving slowstart fix unintended cwnd jump..
TCP Cubic: After leaving slowstart fix unintended cwnd jump.
Aug 13 2020, 4:39 PM
rscheff closed D25746: Address unintended jump of calculated cwnd when leaving slowstart.
Aug 13 2020, 4:39 PM
rscheff committed rS364195: Improve SACK support code for RFC6675 and PRR.
Improve SACK support code for RFC6675 and PRR
Aug 13 2020, 4:30 PM
rscheff closed D18624: improvements to support code for RFC6675.
Aug 13 2020, 4:30 PM
rscheff added a reviewer for D8253: Cubic changes for improved loss recovery.: transport.
Aug 13 2020, 2:35 PM

Aug 8 2020

rscheff updated the diff for D18624: improvements to support code for RFC6675.
  • Merge branch 'master'
Aug 8 2020, 8:23 PM
rscheff updated the diff for D22438: Improve NewReno after_idle ssthresh per RFC2861 Sec.2.
  • Merge branch 'master'
Aug 8 2020, 8:21 PM
rscheff updated the diff for D23230: Implement ECN++ (draft-generalized-ecn).

fix spelling in man page

Aug 8 2020, 8:16 PM
rscheff added a comment to D24237: Fix erroneous "DSACK" during loss recovery.

@rrs - I believe you wanted to comment if the current layout of the relocated socket upcalls looks ok for the RACK stack.

Aug 8 2020, 7:44 PM
rscheff added a comment to D18624: improvements to support code for RFC6675.

It's been 6 weeks now (5 weeks after the suggested "speak up now" deadline), still require a transport sign-off, before committing...

Aug 8 2020, 7:43 PM
rscheff accepted D26008: Improve ECN negotiation when using the TCP SYN-cache.

Good catch! The fix looks perfect

Aug 8 2020, 5:58 PM

Aug 7 2020

rscheff updated the diff for D25746: Address unintended jump of calculated cwnd when leaving slowstart.
  • update comment to correctly describe conditionals
Aug 7 2020, 8:18 AM

Aug 6 2020

rscheff requested review of D25976: TCP Cubic: Have Fast Convergence Heuristic work for ECN, and align concave region.
Aug 6 2020, 3:20 PM

Jul 31 2020

rscheff accepted D25903: Leaks of inpcb.

What happens if tcpcb and inpcb are released without making sure the write lock is released? (This seems a follow up on D25583 , correct?) IIRC, if tcp_newtcpcb() returns NULL, the associated inpcb would be freed in the calling function - but would that mean that the write lock held in some data structure would still linger (and leak memory)?

Jul 31 2020, 8:23 AM

Jul 30 2020

rscheff added a comment to D25873: vxlan(4): Support for stateless NIC hardware offloads with VXLAN encapsulated traffic..

Looking at all the capability flags, I really wonder if one couldn't save some flag-bits by consolidating some of the seperated-out v4 and v6 flags into codepoints; I would assume that hardware supporting e.g. TSO6 but not TSO4 is quite uncommon (as with CSUM, TLS and WOL support), and some of those flags could be consolidated into codepoints (enum) rather than individual bits - if subsequently there is a dire need to conserve flag bits. IMHO bikeshedding around running low on flag bits in this diff is not strictly necessary.

Jul 30 2020, 9:01 PM

Jul 21 2020

rscheff committed rS363397: Fix style and comment around concave/convex regions in TCP cubic..
Fix style and comment around concave/convex regions in TCP cubic.
Jul 21 2020, 4:22 PM
rscheff closed D24657: update cwnd in both convex and concave regions like comment stated..
Jul 21 2020, 4:22 PM
rscheff updated the diff for D24657: update cwnd in both convex and concave regions like comment stated..
  • only update style and comment. logic was ok before.
Jul 21 2020, 10:51 AM
rscheff added a comment to D24657: update cwnd in both convex and concave regions like comment stated..

Re-inspecting the suggested fix. The concave region is where cubic_wnd < cwnd_max, and the convex region is cubic_cwnd > cwnd_max.

Jul 21 2020, 10:39 AM

Jul 20 2020

rscheff committed rS363380: Add MODULE_VERSION to TCP loadable congestion control modules..
Add MODULE_VERSION to TCP loadable congestion control modules.
Jul 20 2020, 11:47 PM
rscheff closed D25744: Add MODULE_VERSION to TCP loadable congestion control modules..
Jul 20 2020, 11:47 PM
rscheff updated the diff for D25746: Address unintended jump of calculated cwnd when leaving slowstart.
  • record going out from slowstart at the earliest possible moment
Jul 20 2020, 11:09 PM
rscheff updated the diff for D25746: Address unintended jump of calculated cwnd when leaving slowstart.
  • calc ticks_since_cong properly
Jul 20 2020, 5:22 PM
rscheff requested review of D25746: Address unintended jump of calculated cwnd when leaving slowstart.
Jul 20 2020, 4:56 PM
rscheff requested review of D25744: Add MODULE_VERSION to TCP loadable congestion control modules..
Jul 20 2020, 4:45 PM

Jul 8 2020

rscheff committed rS363005: MFC r362580: TCP: fix cubic RTO reaction..
MFC r362580: TCP: fix cubic RTO reaction.
Jul 8 2020, 9:04 AM
rscheff committed rS363004: MFC r362577: TCP: make after-idle work for transactional sessions..
MFC r362577: TCP: make after-idle work for transactional sessions.
Jul 8 2020, 9:00 AM

Jul 7 2020

rscheff closed D25583: Fix KASSERT during tcp_newtcpcb when low on memory.
Jul 7 2020, 12:11 PM
rscheff committed rS362988: Fix KASSERT during tcp_newtcpcb when low on memory.
Fix KASSERT during tcp_newtcpcb when low on memory
Jul 7 2020, 12:11 PM
rscheff updated the test plan for D25583: Fix KASSERT during tcp_newtcpcb when low on memory.
Jul 7 2020, 9:37 AM

Jul 6 2020

rscheff requested review of D25583: Fix KASSERT during tcp_newtcpcb when low on memory.
Jul 6 2020, 9:56 PM

Jul 1 2020

rscheff committed rS362832: MFC r362006: Prevent TCP Cubic to abruptly increase cwnd after app-limited.
MFC r362006: Prevent TCP Cubic to abruptly increase cwnd after app-limited
Jul 1 2020, 9:35 AM
rscheff committed rS362831: MFC r361987: Prevent TCP Cubic to abruptly increase cwnd after slow-start.
MFC r361987: Prevent TCP Cubic to abruptly increase cwnd after slow-start
Jul 1 2020, 9:32 AM
rscheff committed rS362830: MFC r361806: Add O_DIRECT flag to DD for cache bypass.
MFC r361806: Add O_DIRECT flag to DD for cache bypass
Jul 1 2020, 9:28 AM

Jun 27 2020

rscheff accepted D25486: Improve error path in BBR.

This mechanical change looks good to me. Just wondering is similar missing sbunlock would be in RACK or elsewhere in BBR. (but didn't spot anything obvious just now)

Jun 27 2020, 3:04 PM

Jun 24 2020

rscheff committed rS362586: MFC r361347: With RFC3168 ECN, CWR SHOULD only be sent with new data.
MFC r361347: With RFC3168 ECN, CWR SHOULD only be sent with new data
Jun 24 2020, 4:18 PM
rscheff abandoned D19329: address possible illegal SACK block after FIN when client keeps sending data.
Jun 24 2020, 3:06 PM
rscheff closed D25133: Fix cubic RTO reaction.
Jun 24 2020, 1:53 PM
rscheff committed rS362580: TCP: fix cubic RTO reaction..
TCP: fix cubic RTO reaction.
Jun 24 2020, 1:53 PM
rscheff committed rS362577: TCP: make after-idle work for transactional sessions..
TCP: make after-idle work for transactional sessions.
Jun 24 2020, 1:43 PM
rscheff closed D25016: Make After-Idle congestion control work correctly for transactional sessions..
Jun 24 2020, 1:43 PM
rscheff retitled D25133: Fix cubic RTO reaction from Move cwnd assignment after RTO into each CC algo to Fix cubic RTO reaction.
Jun 24 2020, 12:19 PM
rscheff updated the diff for D25133: Fix cubic RTO reaction.
  • simplify patch and use snd_cwnd_prev in cc_cubic only.
Jun 24 2020, 12:01 PM

Jun 23 2020

rscheff updated the test plan for D18624: improvements to support code for RFC6675.
Jun 23 2020, 10:24 AM
rscheff updated the test plan for D18624: improvements to support code for RFC6675.
Jun 23 2020, 9:40 AM
rscheff updated the diff for D18624: improvements to support code for RFC6675.
  • add comment to explain the semantic change to sack_changed
Jun 23 2020, 9:40 AM
rscheff added a comment to D18624: improvements to support code for RFC6675.

This improvement of the SACK scoreboard accounting is actually what Jason seems to have asked for in D3971 when the RFC6675 pipe calculation was added.

Jun 23 2020, 9:07 AM
rscheff added a reviewer for D18624: improvements to support code for RFC6675: jason_eggnet.com.
Jun 23 2020, 9:01 AM
rscheff updated the diff for D24657: update cwnd in both convex and concave regions like comment stated..
  • style fix
Jun 23 2020, 8:28 AM
rscheff closed D24817: DCTCP: update alpha only once after loss recovery..
Jun 23 2020, 3:20 AM
rscheff requested review of D24817: DCTCP: update alpha only once after loss recovery..
Jun 23 2020, 3:17 AM
rscheff requested review of D24657: update cwnd in both convex and concave regions like comment stated..
Jun 23 2020, 3:16 AM

Jun 22 2020

rscheff accepted D25401: (Re)allow 0.0.0.0 to be used as a destination address in connect() for TCP.

Should this

  • If the destination address is INADDR_ANY,
  • use the primary local address.

be documented in a man page in addition to the comment in the code?

Jun 22 2020, 2:05 PM

Jun 18 2020

rscheff added inline comments to D18624: improvements to support code for RFC6675.
Jun 18 2020, 6:07 PM
rscheff added inline comments to D25133: Fix cubic RTO reaction.
Jun 18 2020, 6:05 PM

Jun 13 2020

rscheff added a comment to D25247: Incorrect rwnd needs update decision.

Using the upstream variant of bbr (not "bbr_latest"), I could not recreate the reported issue (that is, the packetdrill script failing) with either bbr or the base stack...

Jun 13 2020, 11:55 PM

Jun 12 2020

rscheff updated the diff for D18624: improvements to support code for RFC6675.
  • Merge branch 'master'
  • whitespace fix in comment
Jun 12 2020, 1:16 PM

Jun 10 2020

rscheff requested review of D25215: Remove TCP option alignment padding.
Jun 10 2020, 6:47 PM
rscheff closed D25065: Start cubic epoch after having been app-limited..
Jun 10 2020, 7:32 AM
rscheff committed rS362006: Prevent TCP Cubic to abruptly increase cwnd after app-limited.
Prevent TCP Cubic to abruptly increase cwnd after app-limited
Jun 10 2020, 7:32 AM

Jun 9 2020

rscheff committed rS361987: Prevent TCP Cubic to abruptly increase cwnd after slow-start.
Prevent TCP Cubic to abruptly increase cwnd after slow-start
Jun 9 2020, 9:08 PM
rscheff closed D23655: Cubic: prevent abrupt cwnd jumps after slow start.
Jun 9 2020, 9:08 PM
rscheff updated the diff for D25065: Start cubic epoch after having been app-limited..
  • remove flag field microoptimization
Jun 9 2020, 8:31 PM
rscheff updated the diff for D23655: Cubic: prevent abrupt cwnd jumps after slow start.
  • remove flag field microoptimization
Jun 9 2020, 7:21 PM
rscheff updated the diff for D25065: Start cubic epoch after having been app-limited..
  • update flags to uppercase and expand constant to 32 bit.
Jun 9 2020, 4:48 PM