Project

General

Profile

Bug #63180

Relax the TCP reassembly queue length limit to improve performance

Added by Ryan Moeller 8 months ago. Updated 7 months ago.

Status:
Done
Priority:
No priority
Assignee:
Ryan Moeller
Category:
OS
Target version:
Seen in:
Severity:
Medium
Reason for Closing:
Reason for Blocked:
Needs QA:
No
Needs Doc:
No
Needs Merging:
No
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

(For tracking this fix in 11.1)

*Original ticket description:

See discussion on forums at

https://forums.freenas.org/index.php?threads/11-1u6-update-transfer-aborts-on-smb-share-mac-client.69553/
https://forums.freenas.org/index.php?threads/network-issues-after-upgrading-to-11-1-u6.69506/

Two different reports of erratic network issues between FreeNAS and MacOS clients after upgrading to U6, observed in SMB and SCP timeouts and/or network performance dropping to zero, sometimes recovering before dropping to zero again.

Symptoms verified on MacOS 10.13.6 and 10.12.6.

Disappear after rollback to FreeNAS to 11.1-U5, everything else equal.


Related issues

Copied from FreeNAS - Bug #43558: Relax the TCP reassembly queue length limit to improve performanceDone

History

#1 Updated by Ryan Moeller 8 months ago

  • Copied from Bug #43558: Relax the TCP reassembly queue length limit to improve performance added

#2 Updated by Bug Clerk 8 months ago

  • Status changed from In Progress to Ready for Testing

#3 Updated by Ryan Moeller 8 months ago

  • Needs Merging changed from Yes to No

#4 Updated by Ryan McKenzie 8 months ago

  • Status changed from Ready for Testing to Failed Testing

The PRs merged set this parameter correctly for FreeNAS but not for TrueNAS:

root@freenas:~ # cat /etc/version 
FreeNAS-11.1-U7-INTERNAL1 (a1b242766)
root@freenas:~ # sysctl -a | grep net.inet.tcp.reass.maxqueuelen
net.inet.tcp.reass.maxqueuelen: 1448

root@truenas:~ # cat /etc/version 
TrueNAS-11.1-U7-INTERNAL3 (a1b242766)
root@truenas:~ # sysctl -a | grep net.inet.tcp.reass.maxqueuelen
net.inet.tcp.reass.maxqueuelen: 100

#5 Updated by Ryan Moeller 8 months ago

  • Status changed from Failed Testing to In Progress
  • Needs Merging changed from No to Yes

#7 Updated by Ryan Moeller 7 months ago

  • Status changed from In Progress to Ready for Testing
  • Needs Merging changed from Yes to No

#8 Updated by Ryan McKenzie 7 months ago

  • Status changed from Ready for Testing to Passed Testing
  • Needs QA changed from Yes to No

As of TN11.1u7 internal 5 the parameter has changed. Ryan Moeller says the value for FreeNAS is a bit higher and will be corrected to match the TrueNAS value in a future release.

root@truenas:~ # cat /etc/version
TrueNAS-11.1-U7-INTERNAL5 (4b35724de)
root@truenas:~ # sysctl -a | grep net.inet.tcp.reass.maxqueuelen
net.inet.tcp.reass.maxqueuelen: 1436

#9 Updated by Dru Lavigne 7 months ago

  • Status changed from Passed Testing to Done

Also available in: Atom PDF