View previous topic :: View next topic |
Author |
Message |
darkphader Veteran
Joined: 09 May 2002 Posts: 1217 Location: Motown
|
Posted: Mon Feb 01, 2016 8:33 pm Post subject: LXC and KVM on same host |
|
|
Hello,
Wondering if there are any issues regarding using the same host system to run both full virtualization via KVM and also containers via LXC simultaneously?
Thank you,
Chris _________________ WYSIWYG - What You See Is What You Grep |
|
Back to top |
|
|
szatox Advocate
Joined: 27 Aug 2013 Posts: 3137
|
Posted: Tue Feb 02, 2016 4:55 pm Post subject: |
|
|
Considering KVM is a hypervisor (which manages the hardware access) and LXC is a jail on steroids (where all processes inside the container run as a cgroup using host's kernel), they don't really have any common plane in which they could clash.
They both serve the same purpose, but if you need them both... well, I'd bet it will work. |
|
Back to top |
|
|
darkphader Veteran
Joined: 09 May 2002 Posts: 1217 Location: Motown
|
Posted: Tue Feb 02, 2016 5:16 pm Post subject: |
|
|
Thanks.
Have 4 VM's running under KVM currently, but am thinking I can move three of them to Containers (they're same distro Linux systems) to save on resources, the 4th, being Windows in a a VM will need to remain that way. _________________ WYSIWYG - What You See Is What You Grep |
|
Back to top |
|
|
szatox Advocate
Joined: 27 Aug 2013 Posts: 3137
|
Posted: Wed Feb 03, 2016 4:26 pm Post subject: |
|
|
It might be funny task, though I doubt it's going to save you so much resources. I didn't really see any performance difference on CPU. Tap nework was slower than local loopback, though it's not slow enough to cause problems. And I don't know whether you can avoid it with a container.
Have you measured the virtualization's overhead? |
|
Back to top |
|
|
|