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 just have a quick question regarding EC2. Its to do with CPU sharing on Amazon EC2. Amazon supports a number of different instance types, be it small, medium, large etc. Each of these has a number of virtual cores assigned to them. My question is this, if the physical host has for instance 8 cores and I instantiate an m1.small instance which has 1 virtual cpu, what happens when I request CPU cycles? Are the CPU cycles being taken off multiple physical cores (i.e. across all 8 if any are idle) or is there a dedicated single physical core that is assigned to my VM.

Thanks,

share|improve this question
add comment

1 Answer

The former option - from any available free core - that's the default for any hypervisor although most will allow you to 'peg' a VM to a specific core if there's a good reason for doing so.

share|improve this answer
add comment

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.