Sun Java System Web Server 7.0 Update 6 Performance Tuning, Sizing, and Scaling Guide

Dynamic Content Test: Servlet

This test was conducted using the servlet. The test prints out the servlet's initialization arguments, environments, request headers, connection and client information, URL information, and remote user information. JVM tuning settings were applied to the server. The goal was to saturate the cores on the server and find out the respective throughput and response time.

The following table shows the JVM tuning settings used in the test.

Table 6–5 JVM Tuning Settings

Default 

Tuned 

-Xmx128m

-Xms256m

-server -Xrs -Xmx2048m -Xms2048m -Xmn2024m -XX:+AggressiveHeap -XX:LargePageSizeInBytes=256m -XX:+UseParallelOldGC -XX:+UseParallelGC -XX:ParallelGCThreads=<number of cores> -XX:+DisableExplicitGC

The following table shows the results for the dynamic content servlet test.

Table 6–6 Dynamic Content Test: Servlet Scalability

Number Of Cores 

Average Throughput (ops/sec) 

Average Response Time (ms) 

5287 

19 

10492 

19 

15579 

19 

The following is a graphical representation of servlet scalability results.

Servlet Scalability- Number of cores