Benchmark your VPS or Dedicated Server

Have multiple servers or VPS and want to compare performance by running a benchmark as root?

This takes some time.

wget http://byte-unixbench.googlecode.com/files/UnixBench5.1.3.tgz
gunzip -dvc UnixBench5.1.3.tgz | tar xvf –
cd UnixBench
make
./Run

Also found an older version on Web Hosting Talk:

wget http://members.dslextreme.com/users/andylee/unixbench-4.1.0-wht.tar.gz
gunzip -dvc unixbench-4.1.0-wht.tar.gz | tar xvf –
cd unixbench-4.1.0-wht-2
make
./Run

Increase Size of /tmp (/usr/tmpDSK) Partition in Linux

service httpd stop
service mysql stop
pstree -p | grep tailwatchd
umount /var/tmp
umount -l /tmp
dd if=/dev/zero of=/usr/tmpDSK bs=1024k count=2048
du -sch /usr/tmpDSK
mkfs -t ext3 /usr/tmpDSK
file /usr/tmpDSK
mount -o loop,noexec,nosuid,rw /usr/tmpDSK /tmp
install -d –mode=1777 /tmp
mount -o bind,rw,noexec,nosuid /tmp /var/tmp
service httpd start
service mysql start

mount -o bind,rw,noexec,nosuid /tmp /var/tmp