Merhabalar : Yaz aylarinda hazir yogunlugum yokken size ne tur bir katkida bulunabilirim diye dusunurken , hepimizin bir yerde merak ettigi dedicated'lerimizin yada aldiginiz VDS-VPS hizmetlerinizin performans olcumu geldi.

Kullanacagimiz benchmark yazilimi 2 turlu calisiyor 1.cisi "cpu/ram" kombinasyonu ile birlikte 2.cisi cpu/ram/storage kombinasyonu ile sunucunuzun performansini olcuyor , biz genelde 1. kombinasyonu kullanip storage 'i (hardisk) gormezden gelecegiz cunki cogu sunucu SAS hdd'ler kullanmadigi icin skorlar I/0 wait performansi yuzunden dusuk cikacaktir.(moraller bozulmasin).


Benchmark yazilimin kurulumuna gecelim , kurulumu amator duzeyde kullanicilara hitaben adim adim anlatacagim ;

wget http://byte-unixbench.googlecode.com/files/unixbench-5.1.2.tar.gz
Cogu sunucuda "lbXext" paketi kurulu degildir bu pakete ihtiyacimiz var kuruyoruz ,

yum -y install libXext-devel

Daha sonra tar.gz 'yi acalim

tar zxvf unixbench-5.1.2.tar.gz
Klasorun icine girelim ,

cd unixbench-5.1.2/
Benchmarki baslatalim asagidaki baslatma kodu HDD 'nizi gormezden gelerek cpu/ram kombinasyonu ile performansa baslayacaktir ;
./Run dhry2reg whetstone-double syscall pipe context1 spawn execl shell1 shell8 shell16
Yaklasik sunucunuza gore 10-15 dk sure zarfinda devam edecektir , bittiginde asagidaki sekilde bir sonuc gelir , testi uyguladigim sunucumun ozellikleri ;

2x5620 Quadcore 16 cekirdek - 12gb ram

Benchmark sonucu ;

Benchmark Run: Sun Aug 08 2010 16:17:11 - 16:41:03
16 CPUs in system; running 16 parallel copies of tests

Dhrystone 2 using register variables      106397851.9 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                    31403.7 MWIPS (10.2 s, 7 samples)
Execl Throughput                              43601.4 lps   (30.0 s, 2 samples)
Pipe Throughput                             8759333.4 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                2837054.6 lps   (10.0 s, 7 samples)
Process Creation                             151069.7 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                  58710.6 lpm   (60.0 s, 2 samples)
Shell Scripts (16 concurrent)                  3882.0 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                   7898.7 lpm   (60.0 s, 2 samples)
System Call Overhead                        7166185.2 lps   (10.0 s, 7 samples)

System Benchmarks Partial Index              BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0  106397851.9   9117.2
Double-Precision Whetstone                       55.0      31403.7   5709.8
Execl Throughput                                 43.0      43601.4  10139.9
Pipe Throughput                               12440.0    8759333.4   7041.3
Pipe-based Context Switching                   4000.0    2837054.6   7092.6
Process Creation                                126.0     151069.7  11989.7
Shell Scripts (1 concurrent)                     42.4      58710.6  13846.8
Shell Scripts (16 concurrent)                     ---       3882.0      ---
Shell Scripts (8 concurrent)                      6.0       7898.7  13164.6
System Call Overhead                          15000.0    7166185.2   4777.5
                                                                                   ========
System Benchmarks Index Score (Partial Only)                         8664.6

Sonucta goruldugu gibi 16 cekirdegin tumu kullanilarak yapilan bencmark testinde sunucumun skoru : "8864.6"

Beki bu testlerin size nasil faydasi olacak? ; Herkez hizmet aldigi vps 'sinin ozelliklerini yada dedicated'inin ozelliklerini buraya yazarak benchmark testinde bulunursa ileriki zamanlarda benchmark arsivimiz bu konu altinda genisler ve yeni bir sunucuya gecis yapilacaginda bu arsive bakilarak gecmek istedigi dedicated/vps benchmark skoruna ve kendi eski sunucusunun skoruna bakarak % de kac bir verim alacagini kestirebilir.

Umarim isinize yarar faydali bir paylasim olmustur.

Saygilarimla

Çağdaş Aydoğdu