A Review of Oracle ASM Disk I - O Benchmark
A Review of Oracle ASM Disk I - O Benchmark
dd command in Linux is a useful command for DBAs and help us to create a file into a disks
and then do a performance i/o evaluation or using it to simulate a corruption on disks and
review recovery scenarios also useful to modify specific blocks location at a disk and etc.
Here I illustrate a i/o benchmark on Redo disk group, simplifying using dd in a Rac 3-Node env:
Test Instances one after the other to get an idea about your single instance performance ( run
test 3x )
Instance raca1:
# dd if=/dev/zero of=/dev/asmdisk1_test bs=128k oflag=sync count=5000
5000+0 records in
5000+0 records out
655360000 bytes (655 MB) copied, 61.1947 s, 10.7 MB/s
--> Instance raca1: 81,96 IOPs Transfer Rate: 10.7 MB/s
Instance raca2:
# dd if=/dev/zero of=/dev/asmdisk2_test bs=128k oflag=sync count=5000
5000+0 records in
5000+0 records out
655360000 bytes (655 MB) copied, 41.4141 s, 15.8 MB/s
--> Instance raca2: 121.95 IOPs Transfer Rate: 15.8 MB/s
Instance raca3:
# dd if=/dev/zero of=/dev/asmdisk3_test bs=128k oflag=sync count=5000
5000+0 records in
5000+0 records out
655360000 bytes (655 MB) copied, 62.8516 s, 10.4 MB/s
--> Instance raca3: 80,64 IOPs Transfer Rate: 10.4 MB/s
We expect a cummulated Write I/O rate from about 280 IOPs for our whole cluster !
Testing all instances by running dd command in parallel to figure out any bottlenecks
Plan your performance tests carefully to ensure that you really are testing I/O and not Oracle
cache performance or the performance of your servers.
Create and test enough data to exceed the database and array caches.
Repeat tests several times to identify anomalies in your tests. Single tests prove nothing.
You may not be able to achieve the hero numbers vendors publish.
Remember many vendors use a 4K block size 100% read work load to achieve the high IOPs
numbers they publish.
That is not representative of a real-world workload.
Compression makes it ideal for ASM disk groups such as the FRA where lower levels of
performance may be okay, but should be used with caution if I/O performance is of the highest
priority.
Alireza Kamrani.