Resumen del contenido incluido en la página 1
HP O SM S: T o mcat Si zing Gui de f o r HP
Pr oL i an t c -C la s s Blade S e r v e r s
HP P ar t Numbe r : 5 9 9 2 - 4 8 5 9
P u blished: Ma y 200 8
E diti o n: 1 . 0
Resumen del contenido incluido en la página 2
© Copyright 2008 Hewlett-P ackard Dev elopment Company , L.P . Leg al Notice Confidential computer softw are. V alid license from HP required for possession, use or copying. Consistent with F AR 12.211 and 12.212, Commercial Computer Softw are, Computer Softw are Documentation, and T echnical Data for Commercial Items are licensed to the U.S. Gov ernment under v endor's standard commercial license. The information contained herein is subject to change without notice. The only w arranties for HP
Resumen del contenido incluido en la página 3
T a ble o f C o n t e n ts Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 Executiv e Summary. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Resumen del contenido incluido en la página 4
4
Resumen del contenido incluido en la página 5
L is t o f F i gur e s 1 T omcat Successful Installation V erification. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 2 Static W eb P age T est Results for the HP ProLiant BL460c Serv er - Requests per Second. . . . . . . . . . . . 16 3 Static W eb P age T est Results for the HP ProLiant BL460c Serv er - A v erage Response Time. . . . . . . 16 4 Static W eb P age T est Results
Resumen del contenido incluido en la página 6
6
Resumen del contenido incluido en la página 7
L is t o f T a ble s 1 T est Hardw are Environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 2 JVM Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Resumen del contenido incluido en la página 8
8
Resumen del contenido incluido en la página 9
In tr odu c ti o n HP Open Source Middlew are Stacks (OSMS) offer building block applications, such as the W eb Serv er; technical blueprints, and documents such as this T omcat Sizing Guide which describes the maximum w orkload that HP ProLiant c-Class Blade Serv ers are capable of supporting; and consulting services to speed the successful implementation of an open source strategy . Ex ec u ti v e Summar y The HP Open Source Integrated P ortfolio (HP OSIP) comprises a range of products and ser
Resumen del contenido incluido en la página 10
• In Australia/New Zealand: +61 3 9272 2895 • In Asia P acific: +8522 599 7777 • In Europe/Africa/Middle East: +41 22 780 81 11 10
Resumen del contenido incluido en la página 11
T y pogr a phi c C o n v e n ti o ns This document uses the following typographic conv entions. A command name or qualified command phrase. Command ComputerOut T ext display ed by the computer . Ctrl-x A key sequence. A sequence such asCtrl-x indicates that y ou must hold down the key labeledCtrl while y ou press another key or button. ENVIRONVAR The name of an environment v ariable, for example,PATH. [ERRORNAME] The name of an error , usually returned in theerrno v ariable. Key The name of a ke
Resumen del contenido incluido en la página 12
H ar d w ar e T e s t En v ir o nme n t This benchmark w as performed within an HP BladeSystem c-Class blade enclosure with enhanced backplane using C-GbE2 Netw ork interconnect switches. T able 1 lists the specifications of the hardw are test environment. T abl e 1 T est H ar d w ar e En v ir onm ent H ar d w ar e BL4 6 0c BL4 6 5c BL4 80c CPU (2) Quad-Core Intel® Xeon® (2) Dual-Core AMD (2) Quad-Core Intel® Xeon® processor X5365 (3.0 Opteron™ processor 2218 (2.6 processor X5365 (3.0 GHz/4MB L2
Resumen del contenido incluido en la página 13
F igur e 1 T omcat Succes sful Installation V er if ication NO TE: If the iptables firew all is enabled in the system, the T omcat serv er can not be accessed from other machines. 4. If necessary , stop T omcat by entering the following command: # /usr/local/apache-tomcat/bin/shutdown.sh The following messages display: Using CATALINA_BASE: /usr/local/apache-tomcat Using CATALINA_HOME: /usr/local/apache-tomcat Using CATALINA_TMPDIR: /usr/local/apache-tomcat/temp Using JRE_HOME: /usr/local/jdk T o
Resumen del contenido incluido en la página 14
S e t ting T o mcat C o nnec t o r A t tr ibu t e s Edit the/usr/local/apache-tomcat/conf/server.xml file and add the attributes listed in T able 3 to the Connector element. The following example shows the element in the xml file after the connector attributes are added.
Resumen del contenido incluido en la página 15
For more information about ab, see the following w eb site: http://httpd.apache.org/docs/2.0/programs/ab.html Be nc hmar k R e sults In the static w eb page testing, sev eral w eb pages w ere used with different sizes that v aried from 5KB to 200KB. For each w eb page, ab w as run with a v arying number of concurrent connections and total requests to determine the maximum requests per second and the maximum response time for 80% of the fastest requests. For this test, the concurrent connections
Resumen del contenido incluido en la página 16
F igur e 2 S tatic W eb P ag e T est R esults f or t h e HP Pr oL iant BL4 6 0c Ser v er - R equests per Second F igur e 3 S tatic W eb P ag e T est R esults f or t h e HP Pr oL iant BL4 6 0c Ser v er - A v er ag e R esponse T im e HP Pr o li an t BL4 6 5c S e r v e r The HP ProLiant BL465c serv er is a tw o-w ay serv er blade designed for maximum compute density and pow er efficiencies. The small form factor accommodates tw o blades in each slot allowing for 16 serv ers in a standard 6u enclosu
Resumen del contenido incluido en la página 17
T abl e 6 S tatic W eb P ag e T est R esults f or t h e HP Pr oL iant BL4 6 5c Ser v er (co n tin ued) User Conn ec tions 5K 30K 80K 200K r eq/sec r esp tim e r eq/sec r esp tim e r eq/sec r esp tim e r eq/sec r esp tim e 1500 6958.18 21 3721.44 122 1405.94 1466 564.29 4101 2000 5993.03 22 3680.87 362 1370.03 1554 564.67 4849 F igur e 4 S tatic W eb P ag e T est R esults f or t h e HP Pr oL iant BL4 6 5c Ser v er - R equests per Second F igur e 5 S tatic W eb P ag e T est R esults f or t h e HP
Resumen del contenido incluido en la página 18
T abl e 7 S tatic W eb P ag e T est R esults f or t h e HP Pr oL iant BL4 80c Ser v er User Conn ec tions 5K 30K 80K 200K r eq/sec r esp tim e r eq/sec r esp tim e r eq/sec r esp tim e r eq/sec r esp tim e 100 19446.04 5 3770.73 26 1426.77 76 572.69 187 200 18313.09 8 3768.29 54 1426.88 115 572.84 333 500 16814.04 10 3768.88 65 1425.07 461 572.37 1417 1000 15649.88 20 3766.76 320 1425.52 1010 570.90 3011 1500 14162.79 56 3768.50 339 1424.00 1616 564.46 4108 2000 13810.74 117 3768.70 551 1416.06
Resumen del contenido incluido en la página 19
JP etStore w as used as the test application deploy ed on the T omcat Application serv er . This section provides a detailed description of the test scenario for JP etStore and, how to run Apache JMeter against the test application. The benchmark data includes the number of requests the T omcat Application serv er can process per second and the av erage response time for all requests on each ProLiant Blade serv er . JMe t e r Ins t allati o n and C o nf i gur ati o n Apache JMeter is an open sou
Resumen del contenido incluido en la página 20
F igur e 8 Application Scenar io T est En v ir onm ent Ar c hitec tur e Before performing the JP etStore installation on the W eb serv er , v erify that the following installations and configurations hav e been completed. • T omcat has been installed on the T omcat serv er node and configured correctly . • MySQL has been installed and configured on the MySQL serv er node. Make sure that MySQL is running correctly . • Download the MySQL JDBC Driv er file,mysql-connector-java-5.0.4-bin.jar . Copy