Edit the rc.local.
These settings will make sure you have the maximum performance..
vi /etc/rc.local
sleep 10
touch /forcefsck
echo 100 > /sys/devices/system/cpu/cpufreq/ondemand/sampling_down_factor
echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
vi /etc/sysctl.conf
vm.swappiness=1
vm.min_free_kbytes=16384
Optionally you can configure overclocking the cpu:
1. vi /boot/config.txt
arm_freq=1200 => f.e. set it to 1200 Mhz - WARNING: setting this to high will harm your Pi :-(
2. raspi-config => use this tool to edit the /boot/config.txt