File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Performance and the fly likes Servlet performance worse with faster CPU Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Performance
Bookmark "Servlet performance worse with faster CPU" Watch "Servlet performance worse with faster CPU" New topic
Author

Servlet performance worse with faster CPU

Ajay Dhar
Ranch Hand

Joined: Jan 26, 2011
Posts: 30
I have an interesting problem. I have a web application that I'm hosting through a third party provider on a virtual private server. The application is basically an html page which submits input to a servlet. The app is running on Tomcat 6 and the OS is CentOS.

When the CPU speed is set to 1.2 GHz and RAM at 1.2GB, the servlet takes on average 20 seconds to execute. However, when I upgrade the virtual server to CPU speed of 2.4 GHz and RAM at 1.6 GB the servlet takes 30 seconds to execute.

This is very counter intuitive. Does anyone have an idea of what could be causing worse performance after upgrading the resources??

Thanks in advance!


OCPJP 6, OCEEJBD 6, GIAC Secure Software Programmer-Java (GSSP-Java)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Servlet performance worse with faster CPU