468x60

venerdì 31 ottobre 2014

Linux Server Benchmark

** I/O Benchmark **

- write speed test
dd if=/dev/zero of=tempfile bs=1M count=1024 conv=fdatasync,notrunc

- read speed test
echo 3 > /proc/sys/vm/drop_caches
dd if=tempfile of=/dev/null bs=1M count=1024

- buffer-cache test
dd if=tempfile of=/dev/null bs=1M count=1024

- elimina file temp
rm tempfile


** CPU benchmark **

dd if=/dev/zero bs=1M count=1024 | md5sum

Nessun commento:

Posta un commento

468x60

Cerca su Google

Cerca nel Blog con Google