This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Servlet performance worse with faster CPU  RSS feed

 
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!
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!