Benchmark Tests with Linux

From Knowledge Center
Jump to: navigation, search

Disk IO

1 GB File written

dd if=/dev/zero of=/root/testfile2 bs=1G count=1 oflag=dsync
1+0 records in
1+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 10.3055 s, 104 MB/s

512 bytes were written one thousand times

$ dd if=/dev/zero of=/root/testfile bs=512 count=1000 oflag=direct
1000+0 records in
1000+0 records out
512000 bytes (512 kB, 500 KiB) copied, 2.24966 s, 228 kB/s


Resources