Forum Discussion
Vic_13197
Sep 29, 2010Nimbostratus
TCP Tuning: How to test web application performance
Hey everyone... new guy here! I know this is very basic, but it'll be hugely helpful to me.
We have a web application that we use heavily, but has been having major performance issues. So much so that the company is now looking to go spend big money to replace it. When I heard of this, I checked the configuration on the LTM, it's using default settings (including the default TCP profile). I was thinking there's a chance that making changes there may help, but I'd like to be able to quantify the performance gains, and I don't know how.
When a user connects via web browser, and completes a transaction, I'd like to be able to see what's actually happening, so when I make the changes, we'd be able to see if there's an improvement.
So, are there commands on the LTM that I can run to see response times, tcp windows size in relation to the transaction, the effects of disabling nagle... etc, or do I have to use a sniffer? If so, what do I target in terms of the actual virtual server connectivity?
Thanks much!
- HamishCirrocumulusNot so basic. Performance is a black art in itself. To determine whether changing settings would have an effect you'd have to establish where the problem is actually occurring. It's probable that the performance is being constrained at the backend more than the ltm. You'd really need to check all aspects first.
- Vic_13197Nimbostratus
- HamishCirrocumulusOne of the easiest and best ways is to take a tcpdumpmof the traffic through the f5 and match up the streams on each side of the ltm. As it operates as a proxy you can measure the latencies produced by the ltm directly by checking the timings on the packets that get sent
- Chris_MillerAltostratusIf it does end up being LTM, change to tcp-lan-optimized and see if the problems go away..I've seen this a few times now.
- L4L7_53191NimbostratusVic: do you all suspect that the LTM is the culprit here or are you just trying to help matters by tuning it? This is actually a pretty big question.
- Chris_MillerAltostratusPosted By L4L7 on 09/29/2010 06:44 PM
- smp_86112CirrostratusI certainly agree with the other comments. This really can be a complex question to answer - it all depends on how far you want to get into it. I second the recommendation by L4L7. If you really want to do this correctly and completely, you're going to need some type of external appliance to do the calculations on a spanned port. If you are just looking to do thumbnail calculations, you can use something like HTTP Analyzer. Wireshark also has basic charting capabilites. I've also exported data from Wireshark and done calculations in Excel before too. It's really a matter of how detailed you want to get.
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