view · edit · history · print
  • wikipedia: Comparison of platform virtual machines
 http://en.wikipedia.org/wiki/Comparison_of_platform_virtual_machines
  • Using Debian to host Virtual Computers - good overview of main options
 http://wiki.debian.org/SystemVirtualization
  • Vhost net: fast KVM networking in Kernel 2.6.34
 http://kernelnewbies.org/Linux_2_6_34#head-e931574883d79a37b163f703f76d17a39cfac1fc
  • Debian LXC (LXC is available starting with Debian lenny (Kernel 2.6.26), however the LXC userspace tools are not packaged for lenny, so they would have to be built from source. Squeeze will have full support for LXC.)
 http://wiki.debian.org/LXC

cgroups

  
mkdir /dev/cgroup
mount -t cgroup cpuset -ocpuset /dev/cgroup # do not mount ",ns" or moving tasks will not work
mkdir -p /dev/cgroup/wl01
cd /dev/cgroup/wl01
echo 0 > cpuset.cpus ; echo 0 > cpuset.mems
echo 1886 > tasks
# check
cat /proc/[0-9]*/cgroup
find /proc/[0-9]*/cgroup | xargs grep "/[a-z]"
ps -e -o pid,ppid,user,gid,stime,%cpu,%mem,comm,cgroup | grep wl01

admin · attr · attach · edit · history · print
Page last modified on January 03, 2013, at 08:40 AM