Comment on Help Reviewing My Server Setup?
ikidd@lemmy.world 3 days agoI think you’re doing it wrong. LXCs boot almost instantaneously on a hypervisor since they hijack the host kernel, I’d be surprised if my CTs take 5 seconds.
I would agree on the live migration issue but I guess you pick your services accordingly. I have a VM that runs docker and a LXC docker host, and I pick my containers for each accordingly.
possiblylinux127@lemmy.zip 3 days ago
How on earth are you getting 5 second boot time with LXC? My containers take around 10 minutes to boot while VMs take a few seconds. Also LXC networking seems to break randomly.
ikidd@lemmy.world 3 days ago
I have no idea what you have going on, I’ve never seen LXCs take that long, even if I include the time it takes to down the containers and bring them up after a reboot.
What are you using for running them? I just tested my docker LXC and it took 16 seconds from when I typed “reboot” to having a login prompt. And that’s on an ancient R410 server running proxmox.
possiblylinux127@lemmy.zip 3 days ago
That is not my experience at all…
Are you running ZFS?
ikidd@lemmy.world 3 days ago
Yes, RAID 10 ZFS with no ARC, 6GB SAS drives.
rhys@mastodon.rhys.wtf 3 days ago
@possiblylinux127 @ikidd Something sounds wrong there. I exclusively use LXC containers because I loathe docker and my containers boot basically instantly, and the networking is rock-solid.