LXC vs KVM vs MariaDB

PanZvedavy

Renowned Member
Dec 27, 2012
25
0
66
Hello,

Im just planing new MariaDB VM and trying to find out, if there is any performance advantage for using LXC container for DB server virtualisation over KVM.
Any suggestions?
 
hi,

LXC has less overhead than KVM since it doesn't need to emulate a whole OS with its own kernel (containers use the host kernel). that usually translates into better performance than full-fledged VMs given the same amount of resources.
 
Well, I understand this, but what I would like to know is, if there is some real performance advantage with LXC over KVM. In theory yes, but I would like to hear from somebody with real life expirience with this. Im running KVM only for security reasons and for switching to LXC in MariaDB case, I need to see some clear performance advantage...