KVM vs XenServer
-
@scottalanmiller said in KVM vs XenServer:
@stacksofplates said in KVM vs XenServer:
I wish there was an easy way to PXE boot RHEL/CentOS to a RAM disk.
Someone needs to make a small M.2 device with straight DDR4 on it. That would be sweet.
Intel Optane is trying to do something similar.
-
@dafyre said in KVM vs XenServer:
@scottalanmiller said in KVM vs XenServer:
@stacksofplates said in KVM vs XenServer:
I wish there was an easy way to PXE boot RHEL/CentOS to a RAM disk.
Someone needs to make a small M.2 device with straight DDR4 on it. That would be sweet.
Intel Optane is trying to do something similar.
Kind of, but not quite RAM. Not AS fast or as cheap as RAM, but not volatile, either.
-
A real RAM disk would be decently cheap and SO fast.
-
@stacksofplates said in KVM vs XenServer:
@black3dynamite said in KVM vs XenServer:
@stacksofplates said in KVM vs XenServer:
@Francesco-Provino said in KVM vs XenServer:
I think that the only thing I truly miss in KVM is not a fancy GUI, but instead a stateless host OS 'a la XenServer/ESXi' that I can safely deploy to a usb drive. Something like CentOS atomic host should be good, but focused on KVM instead of Docker.
You should be able to do a USB install and ship the logs off to somewhere else. Then just mount your disks/volume for the guests.
I've been thinking of trying that but been too busy/lazy.
Not having a swap partition or swapfile on the USB too.
Ya didn't think of that. I wish there was an easy way to PXE boot RHEL/CentOS to a RAM disk.
Hrm... I don't see any technical reason to prevent someone from doing just this if they want. It's been a long time since I setup a PXE server, if I find the time I'll give it a shot
-
@travisdh1 said in KVM vs XenServer:
@stacksofplates said in KVM vs XenServer:
@black3dynamite said in KVM vs XenServer:
@stacksofplates said in KVM vs XenServer:
@Francesco-Provino said in KVM vs XenServer:
I think that the only thing I truly miss in KVM is not a fancy GUI, but instead a stateless host OS 'a la XenServer/ESXi' that I can safely deploy to a usb drive. Something like CentOS atomic host should be good, but focused on KVM instead of Docker.
You should be able to do a USB install and ship the logs off to somewhere else. Then just mount your disks/volume for the guests.
I've been thinking of trying that but been too busy/lazy.
Not having a swap partition or swapfile on the USB too.
Ya didn't think of that. I wish there was an easy way to PXE boot RHEL/CentOS to a RAM disk.
Hrm... I don't see any technical reason to prevent someone from doing just this if they want. It's been a long time since I setup a PXE server, if I find the time I'll give it a shot
How do you configure the RAM disk though?
-
@scottalanmiller said in KVM vs XenServer:
@travisdh1 said in KVM vs XenServer:
@stacksofplates said in KVM vs XenServer:
@black3dynamite said in KVM vs XenServer:
@stacksofplates said in KVM vs XenServer:
@Francesco-Provino said in KVM vs XenServer:
I think that the only thing I truly miss in KVM is not a fancy GUI, but instead a stateless host OS 'a la XenServer/ESXi' that I can safely deploy to a usb drive. Something like CentOS atomic host should be good, but focused on KVM instead of Docker.
You should be able to do a USB install and ship the logs off to somewhere else. Then just mount your disks/volume for the guests.
I've been thinking of trying that but been too busy/lazy.
Not having a swap partition or swapfile on the USB too.
Ya didn't think of that. I wish there was an easy way to PXE boot RHEL/CentOS to a RAM disk.
Hrm... I don't see any technical reason to prevent someone from doing just this if they want. It's been a long time since I setup a PXE server, if I find the time I'll give it a shot
How do you configure the RAM disk though?
Ya I have a PXE server playbook for our workstations. The hard part is how to get it to configure a ramdisk.
-
@stacksofplates said in KVM vs XenServer:
@scottalanmiller said in KVM vs XenServer:
@travisdh1 said in KVM vs XenServer:
@stacksofplates said in KVM vs XenServer:
@black3dynamite said in KVM vs XenServer:
@stacksofplates said in KVM vs XenServer:
@Francesco-Provino said in KVM vs XenServer:
I think that the only thing I truly miss in KVM is not a fancy GUI, but instead a stateless host OS 'a la XenServer/ESXi' that I can safely deploy to a usb drive. Something like CentOS atomic host should be good, but focused on KVM instead of Docker.
You should be able to do a USB install and ship the logs off to somewhere else. Then just mount your disks/volume for the guests.
I've been thinking of trying that but been too busy/lazy.
Not having a swap partition or swapfile on the USB too.
Ya didn't think of that. I wish there was an easy way to PXE boot RHEL/CentOS to a RAM disk.
Hrm... I don't see any technical reason to prevent someone from doing just this if they want. It's been a long time since I setup a PXE server, if I find the time I'll give it a shot
How do you configure the RAM disk though?
Ya I have a PXE server playbook for our workstations. The hard part is how to get it to configure a ramdisk.
yeah, because you have to boot before you can make the RAMdisk to install to.
-
@scottalanmiller said in KVM vs XenServer:
@stacksofplates said in KVM vs XenServer:
@scottalanmiller said in KVM vs XenServer:
@travisdh1 said in KVM vs XenServer:
@stacksofplates said in KVM vs XenServer:
@black3dynamite said in KVM vs XenServer:
@stacksofplates said in KVM vs XenServer:
@Francesco-Provino said in KVM vs XenServer:
I think that the only thing I truly miss in KVM is not a fancy GUI, but instead a stateless host OS 'a la XenServer/ESXi' that I can safely deploy to a usb drive. Something like CentOS atomic host should be good, but focused on KVM instead of Docker.
You should be able to do a USB install and ship the logs off to somewhere else. Then just mount your disks/volume for the guests.
I've been thinking of trying that but been too busy/lazy.
Not having a swap partition or swapfile on the USB too.
Ya didn't think of that. I wish there was an easy way to PXE boot RHEL/CentOS to a RAM disk.
Hrm... I don't see any technical reason to prevent someone from doing just this if they want. It's been a long time since I setup a PXE server, if I find the time I'll give it a shot
How do you configure the RAM disk though?
Ya I have a PXE server playbook for our workstations. The hard part is how to get it to configure a ramdisk.
yeah, because you have to boot before you can make the RAMdisk to install to.
I've seen examples but it's all System V based and using distros like Tiny Core.
-
@scottalanmiller said in KVM vs XenServer:
Like your management layer or storage layer. Like if you want DRBD or Starwind, you bring your own. Or if you want a GUI or whatever on top.
Yup. We might consider brining in if not native Linux version than something being KVM or Xen native.
-
Hi all, for example my server has 16 core & 64gb RAM.
Just wondering, how many active VM I can run on those core actually? assuming for each VM I allocate 1GB, can I run 64 active VM with 1 virtual core each?
Can memory be shared also between VM?
When i said active, it is online but not in heavy usage.
-
@kuyaz said in KVM vs XenServer:
Hi all, for example my server has 16 core & 64gb RAM.
Just wondering, how many active VM I can run on those core actually? assuming for each VM I allocate 1GB, can I run 64 active VM with 1 virtual core each?
Can memory be shared also between VM?
When i said active, it is online but not in heavy usage.
It depends on the load, of course. Regarding the CPU, you can easily run 50+ VMs if they are idle. The CPU time is shared between the instance, so the overcommitment is very granular and efficient. Regarding the RAM, XenServer is not very good at RAM overcommitment by default; KVM instead can do a very nice job with similar instances, saving plenty of ram with KSM.
-
@kuyaz said in KVM vs XenServer:
Hi all, for example my server has 16 core & 64gb RAM.
Just wondering, how many active VM I can run on those core actually? assuming for each VM I allocate 1GB, can I run 64 active VM with 1 virtual core each?
Can memory be shared also between VM?
When i said active, it is online but not in heavy usage.
I don't know what kind of processors your server has, and whether or not it's 2x 8-core CPUs, 1x 16-core CPU, or 4x 4-core CPUs.
But if it's a dual-CPU server with decent CPUs, you can easily run 50+ virtual machines at 1GB RAM each. Keep in mind your hypervisor will a small amount of RAM too.
It really depends on a lot of things. In one of my hypervisors, if I have a VM with 4x vCPUs assigned to it, and they are all at 100%, it is using up 2% of my hosts CPU power. That kinda tells me I can dish out 150+ vCPUs safely with them all running at 100%. That's never the case, so I'm sure I can safely assign well over 200 vCPUs. (so long as I have enough RAM for enough VMs it would take to use up 200 vCPUs)
-
@kuyaz said in KVM vs XenServer:
Hi all, for example my server has 16 core & 64gb RAM.
Just wondering, how many active VM I can run on those core actually? assuming for each VM I allocate 1GB, can I run 64 active VM with 1 virtual core each?
You can run about 63. As long as you have enough RAM, you can run them. Over-provisioning CPUs will just cause systems to slow, not to be unable to run. RAM and storage are hard limits, CPU is not.
-
@kuyaz said in KVM vs XenServer:
Can memory be shared also between VM?
That depends on the hypervisor. VMware ESXi can do this. It's an extremely limited feature and of little value. It's neat and good for things like VDI, typically, but not very useful for servers and there is a reason most platforms don't work towards adding it.
-
@scottalanmiller said in KVM vs XenServer:
@kuyaz said in KVM vs XenServer:
Can memory be shared also between VM?
That depends on the hypervisor. VMware ESXi can do this. It's an extremely limited feature and of little value. It's neat and good for things like VDI, typically, but not very useful for servers and there is a reason most platforms don't work towards adding it.
I concur. For most workloads, it's more a pain than a solution.
-
@olivier said in KVM vs XenServer:
@scottalanmiller said in KVM vs XenServer:
@kuyaz said in KVM vs XenServer:
Can memory be shared also between VM?
That depends on the hypervisor. VMware ESXi can do this. It's an extremely limited feature and of little value. It's neat and good for things like VDI, typically, but not very useful for servers and there is a reason most platforms don't work towards adding it.
I concur. For most workloads, it's more a pain than a solution.
yes I just realize that my question is stupid for the RAM part