--- /dev/null
+#!/bin/sh -xe
+
+lxc-ls | xargs -i sh -c "lxc-stop -n {} ; lxc-destroy -n {}"
+
+echo "lxc.network.type = empty" > blkio.conf
+
+PATH=$(pwd):$PATH lxc-create -f blkio.conf -t busybox -n disk1
+PATH=$(pwd):$PATH lxc-create -f blkio.conf -t busybox -n disk2
+PATH=$(pwd):$PATH lxc-create -f blkio.conf -t busybox -n disk3
+
+lxc-ls | xargs -i dd if=/dev/zero of=/var/lib/lxc/{}/rootfs/tmp/zero bs=1M count=100
+
+cat > /tmp/speed.sh <<EOF
+#!/bin/sh
+while true ; do
+ sync ; echo 3 > /proc/sys/vm/drop_caches
+ dd if=/tmp/zero of=/dev/null 2>&1
+done | grep MB
+EOF
+
+chmod +x /tmp/speed.sh
+
+lxc-ls | xargs -i cp /tmp/speed.sh /var/lib/lxc/{}/rootfs/tmp/speed.sh
+
+lxc-ls | xargs -i lxc-start -d -n {}
+