Workload description
The use of the applications DayTrader and SwingBench is described in detail, as well as the methodology for suspend and resume testing.
DayTrader
DayTrader is a benchmark application that simulates an online stock trading system.
- Login the DayTrader user interface
- View the user's stock portfolio
- Find current stock prices
- Buy or sell shares of stock
- Logout from the DayTrader user interface
With the aid of a Web-based load driver such as Rational® Performance Tester or Apache JMeter, the real-world workload provided by DayTrader can be used to measure and compare the performance of Java™ Platform, Enterprise Edition (Java EE) application servers offered by a variety of vendors. In addition to the full workload, DayTrader also contains a set of primitives used for functional and performance testing of various Java EE components and common design patterns
DayTrader requires a read/write data base, and was used to provide a transactional workload on WebSphere® and DB2®.
The test scenarios used DayTrader to generate a load on the WebSphere guests.
For more information about DayTrader, see:
SwingBench
SwingBench is a Java-based application that generates a workload used to run stress tests on a relational database. SwingBench comes with several predefined benchmarks, but also has the capability for the user to define their own customized benchmarks.
- The load generator
- The coordinator
- The cluster overview
The test scenarios described in this paper used SwingBench to generate a workload on the relational database, and record statistics for later analysis. In the test scenarios, SwingBench was used for read-only transactions.
For more information about SwingBench, see:
Linux® Suspend and resume test methodology
- A set of three guests running WAS and DB2, and three RDB guests run at constant load
without z/VM® paging to warm
up the environment before the first guests are suspended.
- One of each kind is never suspended or stopped to create a base load.
- Two of each kind are selected as system of interest to be suspended.
- Two guests from each kind are kept inactive as standby systems.
- Suspend the systems of interest and start the standby servers and workload to cause memory pressure. The increasing load on the standby guests increases their need for memory. The suspended guests should become dormant and their pages should be moved to the paging space to release physical memory for the increasing need from the standby guests. The total amount of LPAR memory was adjusted to accomplish this.
- Reactivate the systems of interest and start the workload to get the pages moved back into main memory.
Figure 1 illustrates the processing for Test case 2 for WAS DB2 guests only. For more information about this test, see Test case 2: Pausing z/VM guests with memory pressure.