ITCAM for WAS DC/TEMA对J2EE容器的影响
覆盖范围
- 性能测试所涉及到的组件包括:TEMS,TEPS,TEMA/DC,覆盖的组建将阐述ITCAM for WAS
测试环境
- 本次是在US实验室的测试结果
- DC端的环境是,AIX 5.3, WAS 6.1.0.21
- 压力测试工具是AKStress
- 测试应用是IBM WAS Trade 6.1
- DC的采集级别是L1或者L2,2%的采样率入库
- 性能数据通过nmon analyzer来收集
- 在windows上通过perfmon来收集性能数据
TEMS,TEPS
- 2-way 3.4 GHz Intel Xeon CPU
- 4 GB RAM
- 1Gbps network
- Disk Capacity – 36 GB
- Red Hat Enterprise Linux AS release 4 (Nahant Update 3)
- Linux romeo4s5 2.6.9-34.ELsmp #1 SMP i686 i686 i386 GNU/Linux (32-bit)
- DB2 8.1.7 (FP 14)
- IBM Tivoli Monitoring 6.21
Management Server
- 2-way 3.4 GHz Intel Xeon CPU
- 4 GB RAM
- 1Gbps network
- Disk Capacity – 36 GB
- Red Hat Enterprise Linux AS release 4 (Nahant Update 3)
- Linux romeo4se 2.6.9-34.ELsmp #1 SMP i686 i686 i386 GNU/Linux (32-bit)
- DB2 8.1.7 (FP 14)
- IBM WebSphere Application Server 6.1.0.0; BASE Build: b0620.14 5/16/06
Octigate DB
- 2-way 3.4 GHz Intel Xeon CPU
- 4 GB RAM
- 1Gbps network
- Disk Capacity – 416 GB; highly tuned
- v RAID 0 stripe sets in 4 arrays in use as follows: number of physical drives in ( )
- array 1 (2) – data
- array 2 (2) – indexes (not used in this environment)
- array 3 (1) – temp space
- array 4 (1) – logs
-
2-way 3.4 GHz Intel Xeon CPU
-
4 GB RAM
-
1Gbps network
-
Disk Capacity 416 GB; highly tuned
-
RAID 0 stripe sets in 4 arrays in use as follows: number of physical drives in ( )
-
array 1 (2) – data
-
array 2 (2) – indexes (not used in this environment)
-
array 3 (1) – temp space
-
array 4 (1) – logs
-
Windows 2003 EE SP2 (32-bit)
-
DB2 8.1.7 (FP 14)
-
Windows Performance Monitor
AIX DC
- AIX 5.3
- ITCAMfWAS 6.1 FP5 DC
- WebSphere 6.1 FP 21 (cf210844.13);
- ITCAMfWR6.1 TEMA 6.2 FP5
- Machine Serial Number: 1000F0B
- Processor Type: PowerPC_POWER4
- Processors: 2
- Processor Clock Speed: 1002 MHz
- CPU Type: 64-bit
- Kernel Type: 32-bit
- 8 GB RAM
- 100Mbit LAN
DC的配置
- DC 配置文件中:Method entry exit, memory leak analysis,lock analysis BCI都设置成ON
- 最大Heap size640MB,打开GC Verbose,关闭DynaCache
- 关闭了TEMA端的AutoBaseline Situation
测试数据
从上图可以看到FP5在性能上和FP4类似,DC工作在L1,L2下分别对最大吞吐能力的影响大约为15%,和30%。对于最大负载能力有所降低,因此在部署的时候需要检查客户的服务器是否已经处于最大负载状况,确保部署DC TEMA之后不会越过系统的负载极限。实际的情况仍需要看具体的客户环境,以上的值仅假定其变化是线性的(在达到最大之前)。
上图可以得知,在最大吞吐能力极限下,L2将占用30%的CPU,L1将占用10的CPU%。大致的我们可以看到斜率的比是:
L2:L1:Base=1:0.8:0.7。DC对于CPU的开销,可以粗略的认为:
-
L2的级别上:DC的消耗占整个WAS CPU消耗的约30%,监控和业务的资源开销比为3:7
-
L1的级别上:DC的消耗占这个WAS CPU消耗的约12%,监控和业务资源开销比为1:7
上图是TEMA CPU,一直处于较低水平
上图是TEMA的内存,稳定在120MB至160MB之间。



