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

I intend to host my site on a VPS and before I do, I wanted to test to see how much ram/cpu it will require for given number of concurrent users. What is the best way to set up a VPS on a home mahine with spcific CPU and RAM allocated to it so that I can test my site in it? Should I use Virtualbox? Or are there better alternatives for acomplishing this?

share|improve this question

3 Answers 3

You can use Siege to do load testing. http://www.joedog.org/

share|improve this answer
    
I was thinking about Jmeter, although it does not really matter which I use at this time. What I am inquiring about however is how exactly can I simulate a VPS (virtul private server) I need to test to see how much concurent users my site can handle under 514 ram, then 1 gb ram, etc... –  Dan Jan 6 '11 at 4:02

VirtualBox is a decent way of doing this. In my opinion, it's the most "polished" of the free virtualization options. VMWare Server is another option, though in my opinion the quality of it has gone drastically downhill since they switched to the web interface.

share|improve this answer
    
Would I be able to allocate set amount of RAM/CPU in virtualbox? how accurate is that? –  Dan Jan 6 '11 at 4:55
    
Virtualbox will limit the memory/cpu to the values you specify. It's not really any different then using any other virtualization software. –  devicenull Jan 6 '11 at 15:15

Check out this analysis and related tools. He's published the source code as well!

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.