tracker issue : CF-3711982

select a category, or use search below
(searches all categories and all time range)
Title:

Webservice performance decrease when upgrading jre to 1.7

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/Duplicate

Reporter/Name(from Bugbase): Alan Bullpitt / Alan Bullpitt (Alan Bullpitt)

Created: 02/21/2014

Components: Web Services

Versions: 10.0

Failure Type: Performance Issue

Found In Build/Fixed In Build: Final /

Priority/Frequency: Major / All users will encounter

Locale/System: English / Win 2008 Server R2 64 bit

Vote Count: 0

Duplicate ID:	CF-3695114

Problem Description:
I have a webservice running on Coldfusion 10 64bit. While investigating a memory leak I went to upgrade the JRE from 1.6 to 1.7 but noticed a significant performance hit. I had created a simple test webservice which on JRE 1.6 I could run easily at 5000 requests per minute as soon as I changed the JRE to 1.7 though this rate drops too 2000 or less per minute. 

Running Server JRE: java version "1.7.0_51" Java(TM) SE Runtime Environment (build 1.7.0_51-b13) Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode)

Steps to Reproduce:
Create webservice using files supplied. Create test request in SoapUI and load test through LoadUI. First test with JRE 1.6 then change JRE to 1.7.
test xml:
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:test="http://test">
   <soap:Header/>
   <soap:Body>
      <test:leakName>Test</test:leakName>
   </soap:Body>
</soap:Envelope>

Actual Result:
Results for JRE 1.6 are 5000+ request processed per minute.
Results for JRE 1.7 are 2100-2200 requests processed per minute.

Of course results will vary depending on computer and setup but these dramatic differences where found on all of our servers. Dev, Staging and Production.


Expected Result:
Same amount of requests processed per minute for both JRE 1.6 and JRE 1.7. Or at least close.


Any Workarounds:
Rollback to JRE 1.6

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3711982

External Customer Info:
External Company:  
External Customer Name: Abullpitt
External Customer Email:  
External Test Config: My Hardware and Environment details:



System Information

Server Details

Server Product	 ColdFusion

Version	 ColdFusion 10,286680

Edition	 Standard  

Operating System	 Windows Server 2008 R2  

OS Version	 6.1  

Update Level	 /C:/ColdFusion10/cfusion/lib/updates/chf10000012.jar  

Adobe Driver Version	 4.1 (Build 0001)  





JVM Details

Java Version	 1.7.0_51  

Java Vendor	 Oracle Corporation  

Java Vendor URL	http://java.oracle.com/  

Java Home	 C:\Program Files\Java\jdk1.7.0_51\jre  

Java File Encoding	 Cp1252  

Java Default Locale	 en_CA  

File Separator	 \  

Path Separator	 ;  

Line Separator	 Chr(13)  

User Name	 cf10sys  

User Home	 C:\Users\cf10sys  

User Dir	 C:\ColdFusion10\cfusion\bin  

Java VM Specification Version	 1.7  

Java VM Specification Vendor	 Oracle Corporation  

Java VM Specification Name	 Java Virtual Machine Specification  

Java VM Version	 24.51-b03  

Java VM Vendor	 Oracle Corporation  

Java VM Name	 Java HotSpot(TM) 64-Bit Server VM  

Java Specification Version	 1.7  

Java Specification Vendor	 Oracle Corporation  

Java Specification Name	 Java Platform API Specification  

Java Class Version	 51.0

Attachments:

  1. February 22, 2014 00:00:00: 1_examplewebservice.cfc
  2. February 22, 2014 00:00:00: 2_leak1.cfc
  3. February 22, 2014 00:00:00: 4_application.cfc
  4. February 22, 2014 00:00:00: 3_leak2.cfc

Comments:

Forum reference: https://groups.google.com/forum/?hl=en#!topic/fusionreactor/ZvsrTJfGgyc
Comment by External U.
13414 | February 21, 2014 03:22:53 PM GMT
When I tried the test case in my machine, I got the following results. Using JDK 1.6.0_29, I was able to get more than 21,000 requests per second on an average. Using JDK 1.7.0_25, I was getting around 12,000 requests per second on an average.
Comment by Paul N.
13415 | May 07, 2014 10:01:03 AM GMT