Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
LXC and KVM on same host
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
darkphader
Veteran
Veteran


Joined: 09 May 2002
Posts: 1181
Location: Motown

PostPosted: Mon Feb 01, 2016 8:33 pm    Post subject: LXC and KVM on same host Reply with quote

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
View user's profile Send private message
szatox
Veteran
Veteran


Joined: 27 Aug 2013
Posts: 1747

PostPosted: Tue Feb 02, 2016 4:55 pm    Post subject: Reply with quote

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
View user's profile Send private message
darkphader
Veteran
Veteran


Joined: 09 May 2002
Posts: 1181
Location: Motown

PostPosted: Tue Feb 02, 2016 5:16 pm    Post subject: Reply with quote

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
View user's profile Send private message
szatox
Veteran
Veteran


Joined: 27 Aug 2013
Posts: 1747

PostPosted: Wed Feb 03, 2016 4:26 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum