測試 GCP 硬碟硬碟效能(同場加映 Vultr)

Photo by Kolleen Gladden


標準永久硬碟 Zonal standard PD


寫入

# hdparm -t --direct /dev/sdc

Timing O_DIRECT disk reads: 378 MB in  3.01 seconds = 125.47 MB/sec

Timing O_DIRECT disk reads: 380 MB in  3.00 seconds = 126.53 MB/sec

Timing O_DIRECT disk reads: 380 MB in  3.00 seconds = 126.66 MB/sec


讀取

# hdparm -t /dev/sdc

Timing buffered disk reads: 374 MB in  3.00 seconds = 124.54 MB/sec

Timing buffered disk reads: 380 MB in  3.01 seconds = 126.09 MB/sec

Timing buffered disk reads: 380 MB in  3.01 seconds = 126.14 MB/sec


SSD永久硬碟 Zonal SSD PD


寫入

# hdparm -t --direct /dev/sda2

Timing O_DIRECT disk reads: 738 MB in  3.00 seconds = 245.72 MB/sec

Timing O_DIRECT disk reads: 608 MB in  3.02 seconds = 201.53 MB/sec

Timing O_DIRECT disk reads: 396 MB in  3.07 seconds = 128.95 MB/sec


讀取

# hdparm -t /dev/sda2

Timing buffered disk reads: 740 MB in  3.00 seconds = 246.42 MB/sec

Timing buffered disk reads: 536 MB in  3.07 seconds = 174.81 MB/sec

Timing buffered disk reads: 164 MB in  3.01 seconds =  54.54 MB/sec


已平衡的永久硬碟 Zonal balanced PD


寫入

# hdparm -t --direct /dev/sdb


Timing O_DIRECT disk reads: 440 MB in  3.00 seconds = 146.65 MB/sec

Timing O_DIRECT disk reads: 440 MB in  3.00 seconds = 146.64 MB/sec

Timing O_DIRECT disk reads: 280 MB in  3.11 seconds =  89.89 MB/sec


讀取

# hdparm -t /dev/sdb


Timing buffered disk reads: 440 MB in  3.00 seconds = 146.52 MB/sec

Timing buffered disk reads: 440 MB in  3.00 seconds = 146.59 MB/sec

Timing buffered disk reads: 248 MB in  3.08 seconds =  80.44 MB/sec


同場加映 Vultr VPS


寫入

# hdparm -t --direct /dev/vda1

Timing O_DIRECT disk reads: 1282 MB in  3.00 seconds = 426.75 MB/sec

Timing O_DIRECT disk reads: 1302 MB in  3.00 seconds = 433.43 MB/sec

Timing O_DIRECT disk reads: 1276 MB in  3.00 seconds = 425.04 MB/sec


讀取

# hdparm -t /dev/vda1

Timing buffered disk reads: 1528 MB in  3.00 seconds = 509.13 MB/sec

Timing buffered disk reads: 1552 MB in  3.00 seconds = 517.24 MB/sec

Timing buffered disk reads: 1540 MB in  3.00 seconds = 513.00 MB/sec


Vultr 意外數據有點太漂亮
如果考慮要用便宜 VPS 的不妨考慮一下 Vultr
在台灣來說便宜又大碗的 VPS 大概就是這間跟 Linode
Linode 之前用的不是很開心
不外乎就是連外不穩(連到台灣這段),還有常常都在維護
Vultr 當然也會維護,但他維護時間大多都是台灣的半夜
如果真的追求高在線率,當然還是 GCP 為首選囉~

想要試用 Vultr 的,歡迎點我的推薦碼註冊~

測試環境:

  • Platform: Google Cloud Platform
  • Zone: asia-east1
  • CPU: vCPU * 1 (Intel Broadwell)
  • RAM: 5G
  • Storage: 60G(實際使用率約 60%)
  • OS: CentOS 8

GCP 測試環境說明:
「標準永久硬碟」及「已平衡的永久硬碟」都是在原有機器下個別加開 10G 的新空間測試,SSD 是主要的硬碟

Vultr VPS 測試環境:

  • Cloud Compute (SSD Cloud Instances)
  • Locaiton: Tokyo
  • Plan: 
  • CPU: 1 vCore
  • RAM: 2G
  • Storage: 55G SSD(實際使用率約 14%)
  • OS: CentOS 8

Comments

Popular posts from this blog

CentOS7 如何新增/移除 Rich Rule for firewalld

mac 安裝 mtr

如何設定 SSL VPN 分割通道 on Fortigate 80C