Test Date: April 29, 2015 Use taskmall to test the environment. Coordinator:10.8.210.168 Dispenser:10.9.210.151,10.9.210.152 Actuator:10.9.210.154 The dispatcher is configured as follows: 151 using the mysql-5.1.34 drive, the152 uses the mysql-5.0.7 drive . where the two machines for the dispenser are 2-core 8G configuration, unified resin4 JVM configuration: <jvm-arg> -xmx1024m</jvm-arg> <jvm-arg>-xms1024m</jvm-arg> <jvm-arg>-xmn512m</jvm-arg> <jvm-arg>-XX:SurvivorRatio=6</jvm-arg> <jvm-arg>- Xss1024k</jvm-arg> <jvm-arg>-xx:permsize=256m</jvm-arg> <jvm-arg>-xx:maxpermsize=256m</jvm-arg> Basic Preparation: 1, into the database into 5,180 queue data, (of which 151 machine points 2,614,152 machines divided by 2,566 ); 2, the transformation actuator, so that it only accepts data not processing data. The 5,180 data is always valid data for the dispatcher; 3, transform the dispatcher, set the ibatis parameter:cachemodelsenabled= "true",defaultstatementtimeout= "3000". load data once per 150ms; (The dispatcher has 16 threads corresponding to 16 Cobar, each of which loads the valid data in the library, each page has 200 data.) ) 4,JVISUALVM remote monitoring 151,152 machines. The test results are as follows: One,15 minutes after the monitoring results are as follows As seen from the figure 152 machine from the CPU occupied, the heap size is gradually rising, viewing the GC Log Discovery 152 has begun to appear FULLGC.
152 The machine is fast hanging: 151 the machine is all normal: Two,32 minutes after the monitoring results are as follows At this point, in addition to CPU consumption, heap high,152 of the number of threads is much higher than 151. At this time the 152 has been FULLGC frequently. 152 machine: 151 The machine: Statistics Live Object Data in heap memory: 152 machines appear with a large number of byte data as well as PreparedStatement, as well as Canceltask. 1) but no canceltask was found on the top 47-bit occupancy of the 151 machine . 2) on the Byte data volume,152 machines reach 600M, and 151 machines are only dozens of M. Test conclusion: With the frequent big data query scenario, theperformance processing of the mysql-5.1.34 drive is far superior to the mysql-5.0.7 driver. |