Without this patch, if you allocate hugepages, Ganeti won't count your free hugepages as available. This patch fix it. Apply in /usr/local/lib/python2.6/dist-packages/ganeti/hypervisor. Restart ganeti after patching.
Simple script to crudely measure disk speed. Take file name and test file size as argument - e.g.
./bench /tmp/test 2048 # create 2GB test file /tmp/test
#!/bin/bash if [ $# -lt 2 ] ; then echo Usage: ./bench FILE_NAME SIZE_IN_MB exit 1 fi sync echo 3 > /proc/sys/vm/drop_caches dd if=/dev/zero of=$1 bs=1M count=$2 oflag=direct sync echo 3 > /proc/sys/vm/drop_caches dd if=$1 of=/dev/null bs=1M count=$2 iflag=direct rm -rf $1
Tested with OpenCart 1.5.x and nginx 0.7. SEO URL also works.
echo idle > /sys/block/md0/md/sync_action
Simple script which will fetch latest delegated IP, filter it by country (this script only returned IP registered to Malaysian entity), and return the complete address in CIDR. Tested only with APNIC, so might need modification for use with other registry.
Drupal 6 -> Drupal 7. Nice eh?