New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
CPU and Disk "overselling" (not really) in Xen?
Two things I need to determine:
1. How does CPU work in Xen? Does each VPS get all of one core? so let's say I have 8 cores on the node, I can only fit 4 VPS if they have 2 cores each? Or can I share them? Also how do I give higher VPS plans more priority?
2. It is such a waste of disk space to allocate a lot of disk, that is not going to be used. I'm tempted just to use OpenVZ because of this. I am assuming due to how Xen creates a virtual disk for every VPS it can not be oversold? But OpenVZ has a poor reputation
Comments
You can oversell HDD on Xen, you just have to know how
Every virtual machine gets 1 cpu, the other 4 would be wasted. 8 cores means you can have a max of 8 VMs with no leftover CPUs
http://bit.ly/Wn0Eb5
Anyway, I'm pretty sure it has something to do with balloons. Maybe the more helium the more you can fit? Idk.
That is why you don't really find XEN VPS anymore
Yeah it's one core per VM, that's why Xen is usually better, but more expensive. It's probably best if you get something cheap like a dual L5420 because then you can fit 8 xen vms on a cheap server.
@Spencer I know right! I think that's why everyone went KVM, as it lets you use hyperthreaded cores as real cores, so you can fit 16 to a server instead of 8
you don't have to dedicate a core to a KVM VPS.
Wait, so I can't share cores? Really?
Kinda if you have hyperthreading support, but it's not 100% stable if I remember
Yes...
That is why everybody is doing KVM now
@shovenose Nope! KVM let's you use hyperthreaded cores though. That's why the LEB market is small for xen and at least a bit bigger for KVM.
I haven't really run into this issue with Xen. I have 16 VMs running on a box with 8 cores although it does have 16 threads. Also the Dom0 with 0 problems under Xen.
KVM you are still stuck with one per core right?
@bitronictech how do you give them a certain amount of clock speed rather than cores? Can I give each person like 1GHz and if the server is 3GHz Quad Core with HyperThreading I could put 24 VPS?
@Shovenose yes, but you can use hyperthreaded cores as a core.
Also idk how @bitronictech does it, he may be thinking of Xen HVM.
But you cant assign clock speed per vps.
Quad AMDs = 64 cores = 64 VMs, enjoy
CPU cap
but it only works on KVM.
How does BurstNET make a profit?
http://burst.net/xenvps.shtml
@shovenose Large company
@shovenose using really old hardware that they already own. They also own the datacenter and land and everything. Stuff is cheaper when you own it and don't have to rent!
And AFAIK a lot of their nodes are those like AMD 64 core ones
Quad AMD 6274 to be precise
A lot more than 1 KVM VPS per core running on one of my KVM nodes. Most of the VMs have 4 cores assigned too.
Hmm, @dmmcintyre3 how is that possible? Do you think it is easy or hard to set up KVM node? Also can I oversell disk, RAM, etc. or not?
RAM can be oversold, but most VMs will use almost all of what they are assigned. KSM can help, but not much. Disk can't be oversold easily (SolusVM uses LVM). I didn't do anything special to put more than 1 VM on each core. I just made the VMs from SolusVM.
@shovenose @dmmcintyre3 he must be joking because its not possible or its not KVM. You can't oversell memory (that's why you said they take up almost all what they are assigned.) CPU's can't be oversold either. Its just how it works.
You can oversell all resources hdd cpu ram on kvm vz xen. Stop being silly.
with xen, you can share cores like normal. Vcpu/cpu/cpus look @ xen docs bro.
This is a mean dump too, wipe time
You can't share cores in Xen??? Then how the xen providers like Inception @AnthonySmith can do that pricing scheme? Sounds weird
What you said is incorrect; The cores are virtualized on Xen, and on KVM, so it is possible to assign each VM with virtual cores up to the number of physical cores available on the node (eg. you can have 10 VMs with 8 virtual cores each, if you are running on an 8 core CPU). Due to the scheduling overhead, you will most likely take a performance hit for assigning too many virtual cores.
You can oversell memory on KVM. I can't remember how it was done, but I remember an example with an SSD for swap and just overload the node.