Bu Başlığı Değerlendirin

Server (Sunucu ) Harddisk testi

03-12-2013 Tarihinde saat 16:11alptraum tarafından yazıldı

Linux sunucularda aldiginiz sunucunun harddisk kalitesini, hizini v.s. ölcmek istersiniz. Haliyle bu istatistikleri linux sunucuda bilebileceginiz script nerdeyse yoktur. Bir tane google project i olan script i ben Türkceye cevirmeye calistim. Muhakeme.net sunucusu üzerinde test ettim ve sizlerle bu scripti paylasmak istedim.

Dosya linki : indir

Dosyanin icerisindeki ioping.sh dosyasini sunucunuzda actiktan sonra kullanmaniz icin dosyaya gerekli izni vermeliyiz.

Kod:
chmod +x ioping.sh
Dosyayi calistiriyoruz.

Kod:
./ioping.sh
Dosyayi calistirdigimizda hersey türkce anlatimiyla karsimiza gelecek.


Simdi kurulum icin 1 e tikliyoruz ve 1 i secip kuruyoruz. Sonrasinda 3 ü secip standart ayarlarda calistirip sonucu bekliyoruz.

Örnek muhakeme.net icin calistirdigim sonuc asagida

Kod:
***************************************************
ioping code.google.com/p/ioping/
ioping.sh 0.9.8
Harddisk performans testi alptraum ( muhakeme.net )
http://www.muhakeme.net
***************************************************
***************************************************
Disk Schedulers & Read Ahead (Queue Size x 2):
***************************************************
[/dev/sda] - Read Ahead: 256
noop anticipatory deadline [cfq]
----------------------------------
[/dev/sdb] - Read Ahead: 256
noop anticipatory deadline [cfq]
----------------------------------
***************************************************

**********************************
dd (sirali disk hiz testi)...
**********************************
dd if=/dev/zero of=testfilex bs=64k count=16k conv=fdatasync
16384+0 records in
16384+0 records out
1073741824 bytes (1.1 GB) copied, 12.3192 s, 87.2 MB/s

************************
ioping testleri...
***************************************************
ioping disk I/O testi (varsayilan 1MB çalisma kümesi)
***************************************************
disk I/O: /dev/sda
--- /dev/sda (device 1863.0 Gb) ioping statistics ---
5 requests completed in 4081.0 ms, 62 iops, 0.2 mb/s
min/avg/max/mdev = 13.0/16.1/22.1/3.7 ms

disk I/O: /dev/sdb
--- /dev/sdb (device 1863.0 Gb) ioping statistics ---
5 requests completed in 4064.8 ms, 78 iops, 0.3 mb/s
min/avg/max/mdev = 7.8/12.9/16.6/3.4 ms

**********************************************
 HIZ oran testi (varsayilan 1MB çalisma grubu)
**********************************************
seek rate: /dev/sda
--- /dev/sda (device 1863.0 Gb) ioping statistics ---
84 requests completed in 3071.0 ms, 27 iops, 0.1 mb/s
min/avg/max/mdev = 6.4/36.5/214.8/48.2 ms

seek rate: /dev/sdb

--- /dev/sdb (device 1863.0 Gb) ioping statistics ---
214 requests completed in 3003.9 ms, 72 iops, 0.3 mb/s
min/avg/max/mdev = 5.6/14.0/22.7/3.7 ms

**********************************************
ardisik test (varsayilan 1MB çalisma grubu)
**********************************************
-----------------------
sequential: /dev/sda
--- /dev/sda (device 1863.0 Gb) ioping statistics ---
1271 requests completed in 3000.7 ms, 434 iops, 108.6 mb/s
min/avg/max/mdev = 1.2/2.3/144.2/8.9 ms
-----------------------
sequential cached I/O: /dev/sda
--- /dev/sda (device 1863.0 Gb) ioping statistics ---
2415 requests completed in 3000.4 ms, 843 iops, 210.6 mb/s
min/avg/max/mdev = 0.1/1.2/285.1/8.5 ms

-----------------------
sequential: /dev/sdb
--- /dev/sdb (device 1863.0 Gb) ioping statistics ---
2167 requests completed in 3000.7 ms, 754 iops, 188.5 mb/s
min/avg/max/mdev = 1.2/1.3/13.9/0.4 ms
-----------------------
sequential cached I/O: /dev/sdb
--- /dev/sdb (device 1863.0 Gb) ioping statistics ---
4032 requests completed in 3000.7 ms, 1454 iops, 363.4 mb/s
min/avg/max/mdev = 0.1/0.7/4.1/0.7 ms
Resim olarak veri



Bunlarin disinda standart olmayan verilerde de test edebilirsiniz.
Etiket Linux
Okunma 3538 Yorumlar 0 Blog Başlığını Email ile Gönder
Toplam Yorumlar 0

Yorumlar