• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Servlet performance worse with faster CPU

 
Ajay Dhar
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic