Ceph : Tester les SSD pour valider leurs performances

De www.yakakliker.org


First disable the write cache on the disk:

bash $ sudo hdparm -W 0 /dev/hda 0

Now you can start benchmarking your SSD correctly using two different methods. The FIO way:

bash $ sudo fio --filename=/dev/sda --direct=1 --sync=1 --rw=write --bs=4k --numjobs=2 --group_reporting --invalidate=0 --name=journal-test

The dd way:

bash $ sudo dd if=randfile of=/dev/sda bs=4k count=100000 oflag=direct,dsync

Liens

https://ceph.io/en/news/blog/2014/ceph-how-to-test-if-your-ssd-is-suitable-as-a-journal-device/


compteur web gratuit sans pub