CPU,DISKベンチマーク(何もインストールせずに)

More than 3 years have passed since last update.


CPU


50万回ループ

LANG=C bash -c "time for ((i=0;i<500000;i++)); do :; done"

grep name /proc/cpuinfo


user値を見る。【linux】timeコマンドの見方 at softelメモ


  • 0m1.512s: i3-4130T CPU @ 2.90GHz

  • 0m1.756s: Xeon(R) CPU E3-1220 V2 @ 3.10GHz

  • 0m1.881s: Xeon(R) CPU X3450 @ 2.67GHz

  • 0m1.940s: i3-2100 CPU @ 3.10GHz

  • 0m2.132s: i3-3220T CPU @ 2.80GHz

  • 0m2.581s: Xeon(R) CPU E5-2670 v2 @ 2.50GHz <--heroku

  • 0m2.736s: Xeon(R) CPU E5-2665 0 @ 2.40GHz

  • 0m3.244s: Xeon(R) CPU L5630 @ 2.13GHz

  • 0m3.384s: Celeron(R) CPU B830 @ 1.80GHz

  • 0m3.868s: Xeon(R) CPU L5320 @ 1.86GHz

  • 0m4.202s: (L5320上のKVM)

  • 0m4.267s: Xeon(R) CPU E5502 @ 1.87GHz

  • 0m5.012s: Xeon(R) CPU L5520 @ 2.27GHz <--CloudAtCost(2CPU)

  • 0m11.156s: i3-3217U CPU @ 1.80GHz(virtualbox+cpu性能60%に落とした)

  • 0m18.708s: Intel(R) Atom(TM) CPU N280 @ 1.66GHz

  • 0m24.689s: RaspberryPi2

  • 1m8.230s: RaspberryPi


DISK


参考


計測


512MB

dd if=/dev/zero of=a.tmp bs=512M count=5 oflag=direct; rm a.tmp



512byte

dd if=/dev/zero of=a.tmp bs=4kb count=50000 oflag=direct; rm a.tmp



512MB


  • 549 MB/s: VBOX HARDDISK (SSD)

  • 324 MB/s: 2.5インチSAS 10,000回転

  • 189 MB/s: HFS128G32MND-331 128gb ssd

  • 182 MB/s: CloudAtCost (2016/7/2調べ)

  • 168 MB/s: 2.5インチSAS 10,000回転

  • 131 MB/s: HDS72105 500gb

  • 130 MB/s: ST3500418AS 3.5inch 500gb

  • 114 MB/s: WD30EZRX-00D 3tb

  • 80.3 MB/s: HTS72502 2.5inch 250gb

  • 92.2 MB/s: CloudAtCost (ext4)

  • 77.8 MB/s: CloudAtCost (LVM)

  • 72.3 MB/s: ST3160815AS 3.5inch 160gb

  • 66.6 MB/s: HDT722520DLA380 3.5inch 200gb

  • 59.4 MB/s: ST9160827AS 2.5inch 160gb

  • 54.6 MB/s: LivaPC

  • 33.7 MB/s: 2.5インチSAS 10,000回転

  • 12.7 MB/s: Raspberry Pi 2 (MicroSD 64gb)

  • 5.7 MB/s: CloudAtCost (ext4:遅いホストの場合)



CrystalDiskMarkっぽい計測

apt-get install -y fio

curl -s https://raw.githubusercontent.com/buty4649/fio-cdm/master/fio-cdm | sh /dev/stdin /var/tmp/