size = the amount of RAM (m for megabytes)
/mnt/ram = the mount location of the ram disk (change to the path you want it mounted to)
mount -t tmpfs -o size=4096m tmpfs /mnt/ram/
Example test in an old server:
You can see that when reading if you don't specify bs1=M the read speeds are several times slower (eg. 450MB/s vs 2.1GB/s)
mount -t tmpfs -o size=4096m tmpfs /mnt/ram/^C
mod_status is a great way to track down the source of high CPU usage and to find what vhost/script is the cause of it.
It gives you a live view of bandwith usage, CPU usage, and memory usage broken down by domain/vhost and script/URI.
Deny from all