Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a Xen-based virtual private server, running Ubuntu. It is running Apache, MySQL, and Drupal.

Usually, it is nice and fast. However, sometimes it slows down for no apparent reason. How can I determine whether the slowdowns are due to resource usage by other VPSes on the same physical hardware, as opposed to slowdowns due to things I can control?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

If you can't get this information from your provider then you'll have to figure it out empirically.

Something like this, run bonnie, or a big dd in one screen, then run vmstat or iostat in another, if you have exclusive use of the machines IO then the numbers should stay pretty constant.

You could try running iostat -x on your machine (without load) and look at the service time, unless you are spanking your machine, the service time should stay low. If it starts to head up, then there is contention for the physical IO bandwidth.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.