hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : VPS Hosting : How to evaluate performance and determine when an upgrade is needed?
Reply

VPS Hosting Virtual private server discussion and vps hosting solutions. Review VPS hosting providers and offer advice on virtual web hosting solutions. If your service is unavailable, please click here.
Forum Jump

How to evaluate performance and determine when an upgrade is needed?

Reply Post New Thread In VPS Hosting Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 05-29-2010, 09:28 PM
smkied smkied is offline
Web Hosting Guru
 
Join Date: Apr 2006
Posts: 259

How to evaluate performance and determine when an upgrade is needed?


Hello,

I run a few different VPS servers with many sites on them. Sometimes I will put a really busy site on one but I never can really tell how its affecting the other sites and if in fact the VPS is performing sufficiently.

How can I determine if performance is sufficient? And how do I know when an upgrade is needed? I am running CentOS with Plesk 9.5.

It's difficult, because looking at bandwidth or number of visitors never really give an accurate measure of server performance... because if it's a DB heavy site for example, well then it cant handle much traffic, but if it's just HTML pages then it can handle a lot more.

So ultimately, how can I tell when I am in need of something with better performance?

Reply With Quote


Sponsored Links
  #2  
Old 05-29-2010, 09:49 PM
izumi777 izumi777 is offline
Junior Guru
 
Join Date: Jun 2009
Posts: 189
You can use software such as mrtg to measure the overall VPS performance.

__________________
Affordable, Reliable Hosting Solutions
Quality Host Premium Support
Powered By HOSTNEVERDIE Web Hosting

Reply With Quote
  #3  
Old 05-29-2010, 10:09 PM
smkied smkied is offline
Web Hosting Guru
 
Join Date: Apr 2006
Posts: 259
MRTG? I googled it got like 20 different applications... do you have a link?

Reply With Quote
Sponsored Links
  #4  
Old 05-29-2010, 11:25 PM
InsDel InsDel is online now
Junior Guru
 
Join Date: Oct 2009
Location: Florida
Posts: 176
All of the Google results lead to the same software - the first result is the main site.

If you want to see how a VPS is doing load-wise for the past 5/10/15 minutes, try running the command 'uptime'; if the load average remains consistently high, you probably need more CPU power, but there's many other factors.

'free -m' shows how much memory you're using out of your quota (in megabytes); the bottom-left values (after the row '+/- buffers/cache') are the ones you should be looking at.

There's also disk I/O to consider (especially on DB-heavy sites), but I'm not sure how to measure that.

The most important factor, however, is what the users think. If the users say the site loads fast, then it doesn't really make much of a difference what all the statistics tell you - they're the ones that matter.

If the site isn't fast enough, there may be ways of getting more performance out of your existing VPS. An example: if you're thrashing disk I/O but a lot of memory is still free (usually on OpenVZ), you may be able to set up caching.

Reply With Quote
  #5  
Old 05-30-2010, 12:25 AM
smkied smkied is offline
Web Hosting Guru
 
Join Date: Apr 2006
Posts: 259
Ok thanks for the information. I am running Plesk, so the server load as well as memory usage are both showing up for me. Also the VPS is running RAID 10 so I don't think disk IO would be the first thing to go?

Also, in regards to MRTG, I just want to verify that it's just for bandwidth usage? Because I think my hosting control panel shows me that already as well.

The problem for me is that my users are customers, not forum members or anything, so they are unlikely to tell me when the site is slow (it's not like I would contact Dell and let them know their site is slow...) so that's why I am trying to find a kind of logical way to figure out when it's time to get something with a bit more performance and more importantly also knowing which piece of the server is the one that requires the performance boost (ie. need more RAM, better IO, better CPU, etc.)

Any other suggestions? Really appreciate the advice so far. Cheers.

Reply With Quote
  #6  
Old 05-30-2010, 12:27 AM
smkied smkied is offline
Web Hosting Guru
 
Join Date: Apr 2006
Posts: 259
Also for the server loads.... what are acceptable numbers?

Reply With Quote
  #7  
Old 05-30-2010, 06:30 PM
InsDel InsDel is online now
Junior Guru
 
Join Date: Oct 2009
Location: Florida
Posts: 176
MRTG is a way of graphing all kinds of statistics as monitored over time; a good example is one of Ramhost's server status pages. Do note that this is using RRDTool (which is newer) instead of MRTG.
I'm not quite sure exactly how to set it up, so if you want to set up something like this, you would be better off searching or waiting for someone more knowledgeable in that area.

As for the load averages, the short answer is 'it varies.' Some people like an average around 1, while others say a decent average is the number of cores your VPS has access to. What are your load/RAM usage numbers?

Also, I just found out that the command that can show I/O statistics is named iostat.

Reply With Quote
  #8  
Old 05-30-2010, 06:36 PM
foobic foobic is online now
Community Liaison 2.0
 
Join Date: Feb 2005
Location: Australia
Posts: 5,148
Quote:
Originally Posted by smkied View Post
Also the VPS is running RAID 10 so I don't think disk IO would be the first thing to go?
In my experience, no matter how good the disk array, I/O is nearly always the first thing to go.

vmstat is also good for monitoring i/o - eg. use "vmstat 2" to take a measurement every 2 seconds.

__________________
Chris

"Learn from the mistakes of others. You can never live long enough to make them all yourself." - Groucho Marx

Reply With Quote
  #9  
Old 05-30-2010, 07:04 PM
SeedBit SeedBit is offline
WHT Addict
 
Join Date: Jul 2009
Posts: 133
Use the command "top" and say what you see.

Generally the important numbers are the load averages in the top right, the %id and %wa. Also, how many CPU cores do you have access to will determine what load average is high or not.

Then use the command "free -m". Give us the number under total and the second number down under free (in the -/+ buffers/cache: row).

Reply With Quote
  #10  
Old 05-30-2010, 08:42 PM
EuroVPS/Director EuroVPS/Director is offline
Web Hosting Master
 
Join Date: Jun 2004
Posts: 970
You my friend need sysstat (sar) - http://pagesperso-orange.fr/sebastien.godard/

A VPS owner, logs into his VPS and sees a load spike, he sees Apache processes and MySQL processes on top, in his top… His server is topped out.. He wants to know, when this started, what is causing it, is it I/O bound, is it CPU bound, how long is it going on?

With Sysstat, Link to developer all this data is provided to you quickly, and in a very easy to read format. Debian, Suse, CentOS, and of course Fedora/Redhat distributions have Sysstat in the installation media, or you can use your automated package installer to install the “sysstat” package. Anyone that manages a server, must have sysstat and must learn to use it properly.

I have a small and short article and photos about this program, and how it helps VPS owners, here.

Sar really is your best friend.

Take care

__________________
EuroVPS VPS Hosting - Virtual Private Servers | Web Hosting | Dedicated Servers
Providing Reliable Plesk and cPanel Servers since 2004, now offering low priced Xen & VMware VPS in Amsterdam
UK +44.203.355.6681 / Amsterdam +31.208.202.120

Reply With Quote
  #11  
Old 05-31-2010, 02:21 PM
UNIXy UNIXy is online now
Warp Speed!
 
Join Date: Feb 2008
Location: Houston, Texas, USA
Posts: 2,771
Check out this wiki page:

Know when to upgrade memory, CPU, disk, or bandwidth.

http://www.webhostingtalk.com/wiki/K...,_or_bandwidth

Regards
Joe / UNIXY

__________________
|- UNIXY :: Fully Managed Servers and Clusters Since 2006
|- DC POP :: Houston, Los Angeles, Atlanta, & Rotterdam NL
|- Managed Magento Varnish Servers w/ ESI. < 250ms Page Load / TTFB
L- We LOVE helping our clients!

Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Free upgrade to next plan. High performance hosting by Elief! Elief! Shared Hosting Offers 2 02-18-2009 03:47 PM
iWeb Racing online performance parts; FREE Performance pack upgrade in stock! fbc Dedicated Hosting Offers 7 07-24-2008 11:38 AM
4GB or 3GB FREE RAM Upgrade + Double Bandwidth- Sago Networks Performance Servers dspkable Dedicated Hosting Offers 0 03-31-2008 12:20 PM

Related posts from TheWhir.com
Title Type Date Posted
Canadian Web Hosting Upgrades Infrastructure with Dell Equalogic SAN Hardware Web Hosting News 2012-08-10 16:10:30
The Bunker Upgrades Data Center Network to Support IPv6 Web Hosting News 2011-09-28 15:51:27
Web Host SoftLayer Completes Upgrade of Edge Network Routers Web Hosting News 2011-09-13 17:00:16
Power Assure CTO: Some Efficiency Ratings Miss Incremental Improvements Web Hosting News 2011-08-18 18:57:44
Web Host ServInt Upgrades VPS Resources, Adds New VPS Plan Web Hosting News 2011-07-19 14:05:32


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?