0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

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

Last updated at Posted at 2016-01-11

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
  • 0m4.535s: Raspberry Pi 4 Model B Rev 1.2
  • 0m5.012s: Xeon(R) CPU L5520 @ 2.27GHz <--CloudAtCost(2CPU)
  • 0m6.244s: Intel(R) Atom(TM) x5-Z8550 CPU @ 1.44GHz
  • 0m11.156s: i3-3217U CPU @ 1.80GHz(virtualbox+cpu性能60%に落とした)
  • 0m11.951s: Raspberry Pi 3 Model B Rev 1.2
  • 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
  • 65.7 MB/s : eMMC
  • 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/
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?