paulgorman.org

< ^ txt

Tue Oct 27 07:43:17 EDT 2015 Went to bed around eleven, and woke up after seven. Slept pretty well. Woke up briefly around four, but went back to sleep in a few minutes. I've had a rougher time going to bed on time and waking up since the days started getting shorter. Partly sunny with a high of fifty-nine today. The long-awaited second volume of Stonehell megadungeon came out today. Ordered. Goals: Work: - Review invoices Done. - Start looking at linux containers Done, a little. LXC is fairly low-level, and the official linux kernel container thing. LXD enhances LXC, and provides things like container migration between hosts, but it's largely an Ubuntu thing at this point. Possibly not production ready. Docker is higher level. I can use LXC underneath. Docker is more for application-focused containers, whereas LXD is more focused on light-weight machine-style containers. Docker **does not support 32 bit**. It's amd64 only. Bummer. - Look at KVM overcommitting (esp processors) Done. https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/5/html/Virtualization/sect-Virtualization-Tips_and_tricks-Overcommitting_with_KVM.html https://www-01.ibm.com/support/knowledgecenter/linuxonibm/liaat/liaatbpprocmem.htm Over committing processors (and RAM) is supported. Over committing processors works best when each guest has a single vcpu. The linux scheduler should be pretty efficient at allocating time in this scenario. - This will be pretty efficient up to a 1:5 real to vcpu ratio (depending on the actual work load, or course). Don't over commit an smp guest more vcpu than there are physical processors. For over committing memory, we can use page sharing, ballooning, or swap. Page sharing is the best option. The linux kernel support this with KSM (Kernel Samepage Merging). The owning application (QEMU) must register the memory with KSM. When KSM finds identical pages, it flags them as sharable. `cat /boot/config-* | grep KSM` `echo 1 > /sys/kernel/mm/ksm/run` `ls /sys/kernel/mm/ksm/` `cat /sys/kernel/mm/ksm/pages_shared` `grep -H '' /sys/kernel/mm/ksm/pages_*` http://bitcube.co.uk/content/ksm-kernel-samepage-merging-and-kvm OpenStack is getting pretty neat. Make some notes on LXC: http://paulgorman.org/technical/linux-lxc.txt Overcast and cool, but not uncomfortably so. Saw a robin, a blue jay, three crows, a turkey vulture, and a red tailed hawk chasing a LBJ (which got away). Home: - Read more K&R Done. Looks like OVH might be a good vps option. Certainly cheaper than DigitalOcean. https://www.ovh.com/us/vps/vps-ssd.xml No FreeBSD support, unfortunately. Vultr is another option. They offer FreeBSD. https://www.vultr.com/pricing/ Unfortunately, their FreeBSD package is 64-bit, but they do let you upload a custom install iso. Finally got my Toyota Finance statement in the mail. I created an account, and enrolled in recurring automatic billing for the second of each month.

< ^ txt