Tuning ZXTM for maximum performanceIndependent tests demonstrate ZXTM's ability to inspect, process and manipulate complex layer 7 traffic with a performance/price ratio that far exceeds any competitive product. ZXTM's strengths come from its ability to use low-cost, commodity hardware and operating systems where competitors struggle with proprietary hardware and systems. This article describes the ZXTM and system tuning that can be used in a benchmark environment to squeeze the very best performance from the available hardware. Hardware SelectionZXTM is supported on a range of x86, SPARC and Itanium-based platforms. For optimal performance, Zeus strongly recommend using AMD Opteron processors; Zeus' SSL stack performs significantly better on this hardware than on competing processors. For non-SSL processing, the EM64T-capable Intel processors provide similar performance. Memory and network bandwidth is critical; Zeus recommend 1-4 Gb memory and 2 or more 1Gb interfaces. Tuning ZXTMSeveral changes can be made to the default configuration to improve performance if necessary. Collectively, they may give a 5-10% performance increase, depending on the specific test.
Additionally, ensure that you disable or remove any ZXTM features that you do not need to use, such as health monitors, session persistence, TrafficScript rules, logging and activity monitors. Use a simple load-balancing method such as round robin. After you run each benchmark test, you should review ZXTM's error log ($ZEUSHOME/zxtm/log/errors); any software or resource problems will be logged here. Operating System TuningLinuxThe linux kernel is good at self-tuning, but there are a number of limits for the sizes of various kernel resources that you will need to increase. Some of these are obvious - file descriptors and ephemeral ports for example - but many are subtle and can manifest themselves in strange ways. We suggest the following tunables as a starting point, but do monitor kernel logs (use 'dmesg') for unexpected problems. The following tunings assume a machine with 2Gb or more of memory.
You may also change the following settings, although the default kernel values on recent Linux kernels are generally well sized:
These guidelines refer to recent Linux kernels (2.6.10 and later), but equivalent tunings can be made on other platforms. SpecWEB submissions are good sources of tunings that have been performed by various vendors on their platforms. For other Linux tuning advice, including NIC tunings, please see our FAQ entry Tuning Linux Networking. FreeBSDFreeBSD is a stable, widely-deployed, enterprise-level platform from which to run ZXTM. Please reference this document for BSD specific advice. Other ConsiderationsEthernet Auto-negotiation If one side of a physical ethernet connection is set to autonegotiate and the other has fixed settings, duplex mismatches can result, causing a large number of collisions and very poor network performance. Similar problems can occur with network cards and switches from different manufacturers when both sides are set to autonegotiate. It is important to ensure, therefore, that the ports on your ZXTM server or appliance are configured with the same settings as thoses on the the switches and routers to which they are connected. If both sides are set to autongetiate and performance problems persist, diabling autonegotation and setting the same fixed settings on both the server and switch/router usually resolves the issue. Note that a connection between ports with mismatched settings often appears to work when little traffic is flowing through it, but performs increasingly poorly under higher loads. You will typically see a large number of network collisions (in the output of On Linux, you can use the ethtool command to set the network device settings - see the
Comments:This public messageboard is not a forum for technical support. To report technical support problems, please contact our dedicated Support team using the instructions at the bottom of this page.
Comment from:
Matt R [Visitor]
· http://www.snagajob.com/
Is the 5.0 ZXTM LB 64-bit VA already tuned for maximum performance or are tweaks required at the OS level there too?
Comment from:
Owen Garrett [Zeus Dev Team]
Matt - the virtual appliance and hardware appliances are all 'pre-tuned' and sized according to the resources available.
|
Recently...
Other Resources
|





