An experimental result and Analysis of TPC-W

Source: Internet
Author: User
Tags jboss intel pentium
1 test environment 1.1 Software Environment

    • Ubuntu 12.04.1 lts (kernel: 3.2.0)
    • MySQL ver 14.14 distrib 5.5.28
    • JBoss 3.2.7
    • Mysql-conector-java-5.1.22
    • Apache2
    • Apache-ant-1.8.4
    • Tomcat-conectors-1.2.37
1.2 hardware environment

    • CPU: Intel Pentium (r) 4 CPU 3.00 GHz * 2
    • Memory: 2.9 GB
    • Hard Disk: 40 GB
2 test command

Java RBE. RBE-eb rbe. ebtpcw1factory 100-out run401.m-maxerror 0-Ru 100-mi 50-RD 1-Cust 100-Custa 800-item 1000-WWW http: // 127.0.0.1/

3. Test Result Generation Method

Use the command in 2 to record the test result in the run401.m file, and use the MATLAB script to draw the image.

4wips test results

Wips = webinteractions per second. That is, the transaction processing capability per second. The average transaction processing capability of our current test results is 14.63. 63. That is, wips = 1000.

In the preceding figure, the red points indicate the transaction processing status of the system at a certain time point. The blue vertical line shows two demarcation lines. The first demarcation line is when the system starts to stabilize (the system stability time can be set in advance ), the second demarcation line is the end time of one system mi (test interval). Therefore, the time between the two demarcation lines is equal to the MI value, that is, the MI value in the command is 50 seconds; the black line is connected by the average wips value at each time point, while the green horizontal line is the average wips value.

5. Test Result Analysis

By observing the usage of the CPU and memory (the top command of the tool), we can find that the memory fully meets the requirements throughout the test, while the CPU keeps running at a high level. Then, based on the CPU changes of a single process, it is found that the JBoss container occupies the largest CPU, while MySQL, as the database server, remains at 10% ~ 17%. the bottleneck of the running environment is the Web server rather than the database server. Of course, if the item value is increased, the bottleneck of the database server should appear. In addition, the cache server is not used in the test, so the performance of the cache in the system is unknown.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.