Any questions? Post'em

Hi everyone,

If you have any questions or comments about the performance report or it’s supporting documents, please feel free to post them here.

I’m one of the engineers who helped to create the performance report, and I’ll be actively monitoring this forum to answer questions.

Mike Lowell

Other than a vendor comparison, I would be interested in having performance documents relating to common parameters that one applies such as perhaps Loose initiation or loose close on a Fast L4 profile thus causing PVA to be turned off. In my environmnent, i find that a lot of vips that i use i have to turn on or off some knobs which cause PVA acceleration to set to none, so be interested in getting that perfromance info as it applies to that config.

Good question. It sounds like you’re a BIG-IP pro, so you know that BIG-IP has a lot of options. :slight_smile: By my count there are over 2000 configurable options, and like any device, changing options can affect performance.

The good news is we can change the vast majority of the knobs and dials and the impact is barely measurable, sometimes higher, sometimes lower, but generally small enough to fit inside a margin of error.

For the few knobs that can have an impact, we usually have some idea of “how much” the impact can be. On the BIG-IP 8800 the performance for “full” and “partial” PVA acceleration is typically within 1% of being identical, due to the processing power of the BIG-IP 8800. The real change switching from “full” to “partial” is that CPU usage goes from 0% (i.e. handled entirely within PVA) to probably 30-40% for small responses, less than 20% for 8KB, and less than 5% for 64KB and larger.

Generically speaking, for configurations that have “no” acceleration (software only), top-end performance is likely to be reduced by 5-35%, depending on response size. As an interesting data point, even assuming a worst-case-scenario the L4 performance of the BIG-IP 8800 is still a healthy margin above the competition. :slight_smile:

As always, I personally suggest that customers run their own performance tests to be sure all environmental factors are properly considered. For example, it’s often not well appreciated how much server performance factors in. Similarly, many customers don’t have a good idea of their response size mix, etc -- there are hundreds of factors like this. The only way to be sure everything is factored in is to test in your particular environment. Having said that, the relative performance between vendors should be similar to what you see in the report.

I hope this helps!

Mike Lowell

p.s.

I’ll provide your feedback to the right people to look new documents in the future. Thanks!

Mike,

Was there testing done to determine the maximum number of persistent SSL connections that could be established? I have an application that requires a large number of concurrent SSL connections (small number of TPS/connection) and was wondering if BIG-IP would fit the bill.

Thanks,

Jeff

I had an interesting question from my counterpart at SAP Labs.

His question was, how does F5 compare in terms of the performance/price ratio? This gets interesting when you talk about disruptive innovators in the marketplace.

Thanks and I look forward to your thoughts.

Ron

Hi Jeff,

Concurrent SSL connections was not tested. In general, the “hard limit” for SSL concurrency is based on the amount of memory that can be allocated to store SSL connection information. The practical limit for SSL concurrency depends on your threshold for latency.

As concurrency increases so do the processing requirements for handling each connection. Depending on the particular implementation, factors that contribute to this increase in per-connection overhead may include: connection hash table collisions, memory fragmentation, session cache overflows, connection maintenance functions (checking for connection timeouts, for example), and more.

Depending on implementation, the effects of increased overhead may start to appear with thousands, tens of thousands, or hundreds of thousands of connections. It’s highly dependent on vendor implementation.

All things considered, you’re more likely to hit a “practical limit” that causes poor performance (high latency) than you are to hit a “hard limit” based on memory limits. With that in mind, the numbers that vendors have published thus far are based “hard limits”.

Without having more exact information to give you, I’d like to point out that you’re likely to see practical performance limits that mirror the other SSL performance recorded in the performance report. In other words, if vendorX can process 48,000 SSL TPS, vendorY 28,000, and vendorZ 15,000, it’s reasonable to expect vendorX has more processing power dedicated to SSL, and thus is likely to have an advantage in practical SSL concurrency as well.

I hope that helps. Good luck!

Mike Lowell

Hi Ron,

Price analysis wasn’t within the scope of the report, but we have looked at raw price and price/performance for other purposes. Briefly stated, we feel we’re very competitive in this regard and encourage others to consider price/performance and TCO when evaluating ADC solutions.

Mike Lowell

I recently facilitated an off-line exchange between Joerg Nalik, Director of Partner Solution Management at SAP Labs, and F5’s Mike Lowell. I thought the discussion was worth sharing here on DevCentral, so without further ado…

(Note: Mike’s in-line replies are indicated with a leading ‘>’)

From: Nalik, Joerg [mailto:joerg.nalik@sap.com]

Sent: Monday, September 24, 2007 6:39 PM

To: Ron Carovano, Jr.

Subject: RE: Comparative performance testing

Hi Ron,

first of all I think this is a very nice paper,

> Thanks!

perhaps you can tell me in a few weeks what its impact is: to your customers and your competitors.

Now as a trained scientist and with some experience in this area I could start nagging about the paper until you feel really bad :slight_smile: Not too much point to that because not many scientist will care about the paper and anybody about them. So here some ideas only:

Many measurements show higher F5 throughput. So why not buying 2 competitor boxes for one F5 box and getting the same?

This points to my price/performance question (not answered on dev central).

> Keeping the report as short as possible was a key goal for us. To make this report useful/digestible for the largest

> target audience we had to do a lot of trimming. I would have liked to include price/performance information because

> it *heavily* favors F5.

On some measurements it says Cisco doesn’t offer some feature in their ACE. Do they offer it in another product line?

Not everybody needs to slice and dice features and products like F5 does.

> Agreed. Part of the limitation here was one of scope (i.e. keep the document short, focused on the largest target

> audience). From a customers point of view having multiple boxes is often less desirable because it typically

> increases total cost of ownership. TCO increases because the box count increases (at least 2x of each box to provide

> redundancy), and in the case of Cisco the devices providing each function were from different acquisitions so

> managing the devices is more complex (i.e. you have to learn how to manage each device in it’s own way, they are not

> similar). TCO also increases because overhead increases: with all the features in a single box there are many

> efficiencies to take advantage of. Having separate devices requires that multiple devices implement many of the same

> technologies (TCP/IP stacks, HTTP parsing, etc) which increases overhead, latency, and risk (more points of failure).

> Multiple boxes also means more rack space, more heat, more power, etc.

>

> It would be an oversimplification to say that F5’s way of slicing features is always better, though -- I do agree with

> you.

As an application guy this doesn’t tell me too much because your methodology is too deep down in network terms. As business guy it’s even worse. So cool thing that F5 also publishes results for SAP apps which are better to relate to a customers’ business, which in the end also provides the budget for network gear.

> Agreed. This was again the result of our limitations of scope and target audience. Having said that, the relative

> performance of the devices as you saw in the report is very likely to be similar to most application environments.

> i.e. if BIG-IP was twice as fast as vendor X in the report, it’s likely this 2x advantage will also apply to an SAP

> deployment. It would of course be an oversimplification to say that’s always true, though.

The database and hardware server folks do benchmarks like this all the time. In order to make them valuable, they all agreed on a set of standardize benchmark scenarios and methodologies, which they defined and acknowledged together. Therefore their benchmark results have high credibility to customers and are apple to apple comparable. The benchmark F5 publishes tries to demonstrate transparency but in the end it is a paper ordered and paid for by F5, only done with methods and scenarios only F5 (or your contractor) uses. Therefore, F5 competition can just ignore those results and claim they are somehow manufactured and not credible. I actually asked a few network vendors last year why there is not network benchmark standard? The whole concept seemed to be alien to the network industry. I credit it to your work with SAP and maybe other app folks that the benchmark idea is making it slowly into the network world.

> I’ve a huge fan of standardized testing. At F5 we’ve been looking at this more and more in recent months. I hope to

> see standardized testing for the ADC space within the next 2 years, and I think F5 will play an important role in

> driving this. BTW, did you see the “how to create performance testing methodologies” doc linked in the report? I

> think it may be interesting to you.

>

> Lastly, I wanted to give you my feelings regarding the report. First, I can say without hesitation I’m much more of a

> scientist than anything else, I agree with you that there are very few scientists in this business. If I had my way

> the report would have been 100-200 pages long as a result of including significantly more detail (about everything),

> as well as by the inclusion of many more related angles (app testing, pricing, and much more). Sadly, this would have

> taken ~1 year to complete, and would have had a significantly smaller target audience (difficult to justify given

> business priorities). In the end, however, I’m glad we were able to produce something useful and be open and honest

> about it, i.e. more than just ridiculous vendor claims :slight_smile: I hope this raises the bar for other vendors in our space,

> as that would significantly help our efforts to reach standardization.

>

>Thanks for your comments!

- Joerg

I have a question regarding BigIP, we are connecting from POC device. We could able to download big xml response around 60k from our unit/system servers, but not from our production server. The BigIP is different in Unit/System and in Production. However our network team checked all the TCP/HTTP profile configurations are consistent between them, still we could able to read only partial response of size 19,475 bytes out of 42,950 every time.

We are using SSL and we have been told that POC device has 9k SSL packet size limit because of memory constraint on POC device, and some how it couldn’t able to re-assemble the SSL packets because the BigIP might be sending data in 16K SSL packets. It’s difficult to buy the theory, as it’s failing exactly at 19,475 bytes.

We could able to download around 19k of response with out any problems, if the response size is greater then we are having problems in reading the response, it would read only 19,475 and fails to read any more data.

I have the following questions, appreciate if you can suggest some solution .

1. With respect to this problem what specific parameters we may have tweak in order to

download big xml response of size 60k+?

2. What is this magic number, why it failing at 19475 (155 header + 19320 data) every

time?

3. Does it something to do with mismatching of SSL packet size at BigIP and POC device?

Appreciate your help.

You mention TCP/HTTP, so I’m guessing this is XML being transported over HTTP. If that’s the case, then no BIG-IP tweaking should be required for normal clients/servers.

Unless you ask BIG-IP to do otherwise, it’ll treat XML responses just like image responses or web pages or zip files, or anything else. 60KB isn’t even that big. :slight_smile:

With regards to the magic size, I suspect this has something to do with the client or server. The closest magic number on BIG-IP is 32768, which is the maximum size of HTTP headers we’ll accept by default (this is configurable on the HTTP profile).

Your comment about SSL packet size (actually SSL record size) is likely the key. BIG-IP will attempt to send large SSL records because it’s normally in the best interests of all that are involved (it’s faster for both BIG-IP and receiving devices to deal with fewer large SSL records than many small records).

Whether BIG-IP is going to use large records or small records depends on the speed of the clients and servers (how quickly we’re getting data from the server and how quickly the client can receive it from us).

It’s very normal to see multiple SSL record sizes used throughout a single transaction. With that in mind, if the client really cannot accept 16KB SSL records, then it seems reasonable to think that the 19KB magic number could actually be a combination of a 1 or few small records (1KB-4KB) and perhaps followed by a 16KB record which doesn’t work.

It would be very unusual for a device to not support 16KB records, but if that really is the case perhaps the problem could be worked around by limiting BIG-IP’s TCP ‘send buffer’ parameter on the TCP profile, or perhaps reducing the ‘proxy buffer high’ to something small like 4096. This is just a guess, I don’t have an easy way to test this.

Given your situation, I encourage you to contact the F5 Networks support team to work through the issue.

Good luck!

Mike Lowell

Thanks a lot for your detail explanation Mike.

We already changed the value of ‘send buffer’ to 4k and 8k and we also changed the value for “recv window”, it didn’t worked. One interesting thing we have observed is read pattern in case of successful response and partial response. When we get complete response it reads 500 bytes every time except the last one, which reads what ever remaining bytes. In case of partial response it also reads 500 bytes, but in between it reads 175 or 400 bytes, kind of little irregular read pattern and looks like the data is getting obstructed some where in BigIP, as it could able to read only 175 or 400 bytes instead of 500 bytes what we are trying to read every time. Does it give any hint to you? As we are communicating over SSL, is there any specific profile for SSL need to be tweaked for this problem. We don’t suspect the server problem, as we could able to read same response from internet explorer and a java client program. We’ll also try to contact BigIp support, however any suggestion from you is really great to us. Please let us know if you have any ideas? Thanks again Mike.

It’s likely what you’re seeing with the varying size of the reads are SSL record boundaries. Reading 500 bytes at a time is quite small. I suspect this is a really slow client machine or distant network connection? Another possibility would be that BIG-IP supports more ciphers than the server itself, so perhaps the communications between the client and BIG-IP is using a different cipher compared to the communications when testing client to server directly.

BTW, you might try changing the proxy buffer to a smaller value like 4k. This is just a shot in the dark, though. A tool like ssldump can read packet captures taken from BIG-IP and help to interpret SSL behaviors. If you use a common cipher (like RC4-MD5), you can use ssldump together with your SSL private key to actually decrypt the SSL connection and see the data, and more important, see if what (if any) SSL alerts are occurring.

I’m sorry I can’t be more help. This sounds like an odd situation. :slight_smile: If you can capture a tcpdump of a successful connection and a failed connection, I’m sure that would really help the support team to figure things out. If there is an example of good and bad behavior, then it’s just a matter of figuring out what’s different between the two to then solve the problem. :slight_smile:

Good luck!

Mike Lowell

Well there was no difference even reading more than 500 bytes every time. We’ll try with “proxy buffer” settings and we also try to get some help from BigIP support. Thanks for your suggestions Mike.

Mike,

We have contacted BIG-IP, we send our ethereal trace logs to them, but we are not getting accurate info/solution from them. Mean while we are spinning other threads to resolve this problem.

We have tried “proxy buffer high” to 4096, it didn’t worked. But the problem looks like something to do with SSL packet size at BigIP (16k) and POS device(9k) only. According to Ethereal trace we found that

- Could able to transfer large chunk of data from POS device to server with out using SSL (just over http port 80), but failed to download the data when we use SSL.

- When we looked at ethereal trace we found “SSLV3 unreassembled packet”, then after some time it says “[TCP window Full]Encrypted Alert” after the initial handshakings.

- BigIP says we can not limit the size of SSL to 9k on our BigIP.

- We tried sending small chunk of data (around 5k) every time with little delay in between, kind of pagination, but we didn’t see any difference.

Is there any suggestions you can throw, kind of we are stuck in our production.

Thanks Roger, we’ll try your suggestion. Mean while can you pls. clarify few things for me, to enable me to explain the changes to our network team clearly.

- Is enabling Proxy MSS option is in TCP Profile options (what is virtual that you are suggesting)? Can you pls. elaborate on this?

- Can we fix the size of MSS at application server (we use IPlanet), so that we don’t get into the problem with BigIp splitting the packets.

Thanks Roger, we updated your suggestion to our network team, what we found out they did changes for MTU at Cisco router level and it didn’t worked either. The one thing we found out after careful analysis of ethereal trace, that difference of SSL record length at BigIP (16k) and POS (9k) is not a problem at all, as the record length never hit 9k at any time. Any way we are implementing an alternative solution kind of dirty work to download small chunks many times, which is a performance issue, but can be operational. Appreciate if you or anybody have any other suggestions.

Leaving this problem unsolved, kind of sad and unchallenging…but given time frame and customer satisfaction we have to live with that.

hi i am into support for web services in weblogic server, i want to know the differences between using load balncing algorithms(round-robin,random,weight-based) and using server affinity load balancing algorithms?

also differences between using HttpClusterServlet proxy and hardware load balancer(BIGIP)?

from,

sweta

Hi Sweta,

The different load balancing algorithms are detailed in the LTM configuration guide on AskF5.com. If you take a look at the doc for your version and have questions, reply here.

Aaron

Hi Mike,

my customer also Global F5 customer

The customer has Redundant pair LTM 6400 and we put on the some other customer datacenter, we use simple irule for host based load balancing and enabled compression.

We saw 350-400 mbits throughput on peak time and Cpu usage was %60. So i want to sell Bigip to the datacener admin but he ask me everytime if we use irule we will have cpu problem (guy is alteon expert) his existing topology alteon load balance + Redline and he is happy.

i see same question on customers site if we use iRule what will be CPU usage.

Not: i have some spesification for L4,L7 ,compression,SSL and Throughput.

can we see same performance when we use all feature at same time

if you help me i will be very happy

if you want you can send me email directly

regards

zafer

Hi Zafer,

I encourage you to work with your local field engineer to help size deployments. When a product does more work, it requires more resources, and understanding the performance of a combined feature-set (SSL + compression + …) is a fairly involved multi-dimensional problem (lots of variables, many things to consider).

Having said that, the relative advantage of the BIG-IP product versus competitors is still strong. If BIG-IP can handle more L4, L7, SSL, compression, and so on for individual tests, that also means BIG-IP can handle more in combined tests. For example, if BIG-IP handles 6Gbps of compression and 6Gbps of SSL in separate tests, where a competitor may handle 3Gbps of compression and 3Gbps of SSL in separate tests, neither vendor will achieve both metrics at the same time, but perhaps BIG-IP will achieve 4Gbps of SSL+compression, and the competitor will achieve 2Gbps of SSL+compression -- BIG-IP’s advantage is the same whether you look at individual metrics or combined metrics.

About iRules performance, I’ve performed extensive tests of L7 performance on both BIG-IP and competitive platforms (including Alteon, Redline, and Foundry). If you compare similar platform models and feature-sets between products, BIG-IP’s performance with iRules is consistently higher. However, if you’re using iRules to do something uncommon, something that the competitors are unable to do at all, then there’s of course no way to compare this directly to the competitors. For the “L7” tests that vendors in our market use as the baseline, it’s inspecting an HTTP URL to select between different groups of servers. All vendors support this basic L7 feature-set, so it’s a good baseline comparison. The advertised L7 performance of BIG-IP is based on this same sort of test, using iRules. As you’ve seen in the report(s), BIG-IP’s performance using iRules for this task is very competitive against our competitors. The real key in judging L7 performance is to make sure there’s a similar feature-set in use between platforms that are being compared. Based on my extensive testing, I’m very confident BIG-IP will come out ahead. :slight_smile:

For common tasks like selecting a pool of servers based on the HTTP URI you don’t even need iRules -- I suggest using the httpclass profile (HTTP Classification profile) instead. For more advanced tasks, my experience testing Alteon, Redline, Foundry, and more has shown that BIG-IP’s performance is very competitive. If you’re seeing 60% CPU on the BIG-IP, then you’ll see more than 60% CPU on similar competitive hardware. If you see higher utilization on the BIG-IP compared to a similar competitive platform, then I suggest a different set of features must be in use (perhaps BIG-IP is acting as a full proxy, whereas the competitor is not, in which case it’s appropriate to use a simpler non-full proxy mode on the BIG-IP).

Hope this helps, good luck!

Mike Lowell