Page MenuHomeFreeBSD

Rack delayed ack issue
ClosedPublic

Authored by rrs on Aug 3 2018, 11:48 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Jul 24, 9:40 PM
Unknown Object (File)
Wed, Jul 22, 11:50 AM
Unknown Object (File)
Sat, Jul 4, 6:06 AM
Unknown Object (File)
Fri, Jul 3, 12:38 AM
Unknown Object (File)
Thu, Jul 2, 10:09 PM
Unknown Object (File)
Thu, Jul 2, 6:57 PM
Unknown Object (File)
Wed, Jul 1, 5:16 AM
Unknown Object (File)
Jun 25 2026, 11:46 PM
Subscribers

Details

Summary

Turns out that Rack fails to translate to ms the delayed ack
value from the system default in ticks. This works fine
when hz=1000 but other hz values cause problems.

Test Plan

Use pkt-drill to validate the new fix on a machine with hz=100 (like a vm)

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

tuexen requested changes to this revision.Aug 3 2018, 12:16 PM
tuexen added inline comments.
sys/netinet/tcp_stacks/rack.c
2278 ↗(On Diff #46229)

I guess you mean

delayed_ack = TICKS_2_MSEC(tcp_delacktime);

I can confirm that with that change the issue is resolved.

This revision now requires changes to proceed.Aug 3 2018, 12:16 PM
sys/netinet/tcp_stacks/rack.c
2278 ↗(On Diff #46229)

Yep. typo'd the update.. let me get it in place and changed.

This revision is now accepted and ready to land.Aug 5 2018, 11:57 AM
This revision was automatically updated to reflect the committed changes.