Bug 546324
Summary: | TCP receive window clamping problem | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 4 | Reporter: | Fabio Olive Leite <fleite> |
Component: | kernel | Assignee: | Neil Horman <nhorman> |
Status: | CLOSED ERRATA | QA Contact: | Liang Zheng <lzheng> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 4.8 | CC: | christopher.horton, fhirtz, jeder, jruemker, jwest, kzhang, lzheng, nhorman, tao |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-02-16 15:54:25 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Attachments: |
Description
Fabio Olive Leite
2009-12-10 16:42:12 UTC
Created attachment 377519 [details]
Python script to implement a slow receiver.
Created attachment 377520 [details]
Python script to implement a "small sender"
Created attachment 377522 [details]
Graph of tcp rwnd values as seen from the receiver side, showing permanent window clamp
Created attachment 377523 [details]
Graph of tcp rwnd values as seen from the receiver side, with patch applied
Nice work Fabio. One question, it appears you backported most of the patch, but not all of it. How come you didn't move the sk_rcvbuf check to outside the ofo_win conditional like the upstream patch did? Neil, With this being RHEL-4, I wanted the simplest possible solution, so I focused on the "two-liner" proposed by Alexey Kuznetsov on <http://marc.info/?l=linux-netdev&m=112568628430571&w=2>. After removing those two lines, I noticed that app_win was no longer needed so I removed any lines calculating it as well. I did not know the effect of applying the whole patch to the older RHEL-4 kernel, so I decided to keep it simple. If you are sure the whole patch applies well and causes no problems, feel free to consider it. :) Regards, Fábio Olivé well, I'm a bit worried the potential for out of order windows to allow inappropriate expansion of a sockets rx buffer. But I think your right, its more important to minimize change at this point. We'll go with your patch as is. Thanks! This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release. *** Bug 523425 has been marked as a duplicate of this bug. *** Committed in 89.33.EL . RPMS are available at http://people.redhat.com/vgoyal/rhel4/ Created attachment 469975 [details]
receive window size on 4U8
Created attachment 469976 [details]
receive window size on 2.6.9-94
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2011-0263.html |