All measures can be divided into four part: Vanilla kernel, Patch kernel, Light virtualisation and Full virtualisation. The Vanilla measures are used as reference. The patch kernel simpy measure the impact of a patch. The Light virtualisation part correspond to a partial virualisation only, in our case, just pid isolation. The Full isolation part means results inside a guest set-up.
A 2.6.16 kernel with this configuration.
A 2.6.17 kernel with the mm4 patch and this configuration.
A 2.6.16 kernel with the mcr patch and this configuration.
A 2.6.16 kernel with the 026test014 openvz patch and this configuration.
A 2.6.8 kernel with the 022stabl078 openvz patch and this configuration.
A 2.6.16.20 kernel with the vs2.1.1-rc22 openvz patch and this configuration.
A 2.6.17-mm4 kernel with this patch and this configuration.
The inside part is done with mcr 2.5.2 and this command:
$ mcr-execute -j 1 -- ...
The inside part is done with vserver 0.30.210 and this command:
$ chcontext --xid 1 -- ...
The inside part is done with vzctl 3.0.10, vzquota 3.0.8 like this:
# create the guest
$ vzctl create 1 --ostemplate debian-3.1-x86_64-minimal
$ vzctl set 1 --ipadd 10.9.3.3 --save
# get rid of limits
$ vzctl set 1 --diskspace 10485760:11534340 --save
$ vzctl set 1 --diskinodes 2000000:2000000 --save
$ for i in tcpsndbuf tcprcvbuf othersockbuf dgramrcvbuf numothersock; do \
vzctl set 1 --$i 9223372036854775807:9223372036854775807 --save \
done
# launch the guest
$ vzctl start 1
# launch the test
$ vzctl exec2 1 -- ...
More details http://openvz.org.
The inside2 part is done with these commands:
# create the guest $ vserver DebianSarge build -m debootstrap -- -d sarge -m http://amd64.debian.net/debian/ -- --arch amd64 $ echo "10.9.3.4" > /etc/vservers/DebianSarge/interfaces/vth0/ip # launch the guest vserver DebianSarge start # laucnh the test $ vserver DebianSarge exec ...
More details http://linux-vserver.org.