Forum Discussion
smp_86112
Cirrostratus
Aug 30, 2008TCP Profile Optimizaiton - Nagle vs Delayed ACKs
In my never-ending quest to reduce the complaints about performance of our HTTP apps hosted by our LTMs, I've been doing a lot of investigation into how to optimize our TCP profile. I ran across an article on the net today about a deadlock situation that can occur between Nagle's algorithm and Delayed Acknowledgements. Both are enabled in our default TCP profile.
I already know that I need to disable Nagle. But after reading the article (http://www.stuartcheshire.org/papers/NagleDelayedAck/) and subsequently others, I am starting to wonder if I shouldn't try disabling both. If I interpret the article correctly, I'm thinking that delays are introduced by Nagle when the LTM is sending HTTP responses, and more delays are introduced by Delayed ACKs when the LTM is receiving data from the client. Obviously both events happen in every HTTP session.
I know in tcpdumps that I've seen the 100ms timer many times. I always attributed this to Nagle. But I never thought to pay more attention to whether the LTM was sending or receiving data when those delays are introduced. Now I'm wondering if I'm seeing the Delayed Acks timer, the Nagle timer, or both.
Does anyone know if both Nagle and Delayed Acks have a 100ms timer built into the LTM TCP stack?
Has anyone ever tweaked their TCP profile to disable both settings? I'd be very interested to learn about your experience.
Thanks.
- smp_86112
Cirrostratus
You can disregard this post. - hoolio
Cirrostratus
When you finish your testing, could you post the final config and your test results? I think it would be helpful for others to see. - JRahm
Admin
I've tweaked and tuned and hunted and pecked, and by far the best performing profile for our http applications, LAN or WAN, has been the tcp-lan-optimized profile, applied to both sides of connection. - hoolio
Cirrostratus
Hey Citizen, - JRahm
Admin
greatest client source is 256k frame access, the rest (less than 10%) lan and DSL. I thought the WAN profile would be ideal too, but our application response times and front-page paints did not bare that out. - JRahm
Admin
Scratch that...crossed streams there with our termserv environment. Yes, with our http apps, they are internet client facing, so the client base is uncontrolled. - dennypayne
Employee
Posted By hoolio on 09/02/2008 10:45 AM
- hoolio
Cirrostratus
Thanks for the tips guys. I'll let you know what we find as well.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects