1. 程式人生 > >阿裏雲的高效雲盤真的不高效

阿裏雲的高效雲盤真的不高效

nds ads roo 3.0 vda arm 結果 mysql 這就是

前段時間發現在阿裏雲ECS搭建mysql和本地mysql同樣的查詢 發現讀取性能遠遠不如本地機械磁盤

於是今天做了一個阿裏雲高效雲盤的讀寫和本地磁盤讀寫性能對比

阿裏雲高效雲盤讀取效率
[email protected]:~# hdparm  -tT  /dev/vda1

/dev/vda1:
 Timing cached reads:   14732 MB in  2.00 seconds = 7380.98 MB/sec
 Timing buffered disk reads: 410 MB in  3.01 seconds = 136.05 MB/sec
[email protected]:~# hdparm  -tT  /dev/vda1

/dev/vda1:
 Timing cached reads:   16142 MB in  2.00 seconds = 8089.48 MB/sec
 Timing buffered disk reads: 428 MB in  3.01 seconds = 142.27 MB/sec
[email protected]:~# hdparm  -tT  /dev/vda1

/dev/vda1:
 Timing cached reads:   16242 MB in  2.00 seconds = 8138.87 MB/sec
 Timing buffered disk reads: 412 MB in  3.00 seconds = 137.21 MB/sec    

本地機械磁盤讀取效率

 [[email protected] config]# hdparm  -tT  /dev/sda1

 /dev/sda1:
  Timing cached reads:   15764 MB in  2.00 seconds = 7900.86 MB/sec
  Timing buffered disk reads: 1024 MB in  1.28 seconds = 798.49 MB/sec
 [[email protected] config]# hdparm  -tT  /dev/sda1

 /dev/sda1:
  Timing cached reads:   16106 MB in  1.99 seconds = 8073.20 MB/sec
  Timing buffered disk reads: 1024 MB in  1.27 seconds = 807.60 MB/sec
 [[email protected] config]# hdparm  -tT  /dev/sda1

 /dev/sda1:
  Timing cached reads:   15582 MB in  1.99 seconds = 7811.29 MB/sec
  Timing buffered disk reads: 1024 MB in  1.34 seconds = 765.92 MB/sec

這就是阿裏雲高效雲盤的讀取結果

以後還是買阿裏雲的ssd的磁盤把 高效雲盤有點搞笑呀

阿裏雲的高效雲盤真的不高效