结果:
华为虚拟化中虚拟机ip:xxxxx
max_iops = 2204 最大每秒进行读写(I/O)操作的次数
latency = 10 延时(单位:微秒)
max_mbps = 102 带宽数
数据库ip:xxxxxxx
max_iops = 9750 最大每秒进行读写(I/O)操作的次数
latency = 8 延时(单位:微秒)
max_mbps = 613 带库数
测试方式 | 华为虚拟化中虚拟主机的测试
| 华为虚拟化中物理机的测试
| 物理机直连存储 |
time dd if=/dev/zero of=/oracle/data/test/test.dbf bs=8k count=2621440 | 2621440+0 records in 2621440+0 records out 21474836480 bytes (21 GB) copied, 209.484 s, 103 MB/s
real 3m29.487s user 0m0.975s sys 0m41.872s | 2621440+0 records in | 记录了2621440+0 的读入 |
time dd if=/dev/zero of=/oracle/data/test/test.dbf bs=32k count=655360 | 655360+0 records in | 655360+0 records in | 记录了655360+0 的读入 |
time dd if=/dev/zero of=/u01/software/test/test.dbf bs=1M count=20480 | 20480+0 records in 20480+0 records out 21474836480 bytes (21 GB) copied, 391.611 s, 54.8 MB/s
real 6m34.632s user 0m0.030s sys 0m45.911s | 20480+0 records in | 记录了20480+0 的读入 |
Oracle11g 数据库层面命令测试 set SERVEROUTPUT on; declare lat INTEGER; iops INTEGER; mbps INTEGER; begin dbms_resource_manager.calibrate_io(2,10,iops,mbps,lat); dbms_output.put_line(\'max_iops = \'||iops); dbms_output.put_line(\'latency = \'|| lat); dbms_output.put_line(\'max_mbps = \'||mbps); end; / |
大家看看虚拟化的适合的场景,我觉得不具备大规模部署,谢谢