[ask] Pilihan Core


Status
Not open for further replies.

dhimaz

Poster 1.0
Dihadapkan pilihan :

1) 1 core 3GHz atau
2) 8 core @ 0.2 GHz

Pilih yang mana ya ?
Dalam hal kinerja / performance tentunya.

Terima kasih share knowladge nya.
 

hostingceria

Active Member
Dihadapkan pilihan :

1) 1 core 3GHz atau
2) 8 core @ 0.2 GHz

Pilih yang mana ya ?
Dalam hal kinerja / performance tentunya.

Terima kasih share knowladge nya.

8 core 2GHZ jauh lebih efektif + efisien, kalau 1 core 3GHz dikasih tugas banyak dikit udah tepar :D
 

perdhanahost

Hosting Guru
8 core 2GHZ jauh lebih efektif + efisien, kalau 1 core 3GHz dikasih tugas banyak dikit udah tepar :D

Tapi kayaknya opsi kedua bukan 8 x 2.0GHz, tapi 8 x 0.2 GHz.

Kalau 1 x 3.0 GHz vs. 8 x 2.0 GHz sih mungkin mudah milihnya.. :)
 

dhimaz

Poster 1.0
Benar .... pilihannya :
8 x 0,2 GHz dan 1 x 3 GHz

Sementara ini sih masih nampak seimbang .... he he he
 

dhimaz

Poster 1.0
Benar2 kelihatan beda.

Sesuai dengan referensi dari http://www.cyberciti.biz/tips/howto-performance-benchmarks-a-web-server.html saya coba test dan didapatkan hasil sbb :

VPS dengan CPU = 1 x 3,0GHz (alias = aaaa)
Code:
[root@[B]aaaa[/B]]# ab -n 1000 -c 500 http://[B]aaaa[/B]/snkpage.html
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking aaaa (be patient)
Completed 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
Completed 500 requests
Completed 600 requests
Completed 700 requests
Completed 800 requests
Completed 900 requests
Completed 1000 requests
Finished 1000 requests


Server Software:        Apache/2.2.17
Server Hostname:        [B]aaaa[/B]
Server Port:            80

Document Path:          /snkpage.html
Document Length:        169 bytes

Concurrency Level:      500
Time taken for tests:   1.464 seconds
Complete requests:      1000
Failed requests:        0
Write errors:           0
Total transferred:      435000 bytes
HTML transferred:       169000 bytes
Requests per second:    683.21 [#/sec] (mean)
Time per request:       731.841 [ms] (mean)
Time per request:       1.464 [ms] (mean, across all concurrent requests)
Transfer rate:          290.23 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    9   9.4      3      30
Processing:    10  236 374.9     35    1434
Waiting:        9  235 375.2     34    1434
Total:         12  245 383.0     37    1463

Percentage of the requests served within a certain time (ms)
  50%     37
  66%    223
  75%    246
  80%    633
  90%    658
  95%   1451
  98%   1459
  99%   1461
 100%   1463 (longest request)

VPS dengan CPU = 8 x 0,2GHz (alias = bbbb)
Code:
[root@[B]bbbb[/B]]# ab -n 1000 -c 500 http://[B]bbbb[/B]/snkpage.html
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking [B]bbbb [/B](be patient)
Completed 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
Completed 500 requests
Completed 600 requests
Completed 700 requests
Completed 800 requests
Completed 900 requests
Completed 1000 requests
Finished 1000 requests


Server Software:        Apache/2.2.17
Server Hostname:        [B]bbbb[/B]
Server Port:            80

Document Path:          /snkpage.html
Document Length:        169 bytes

Concurrency Level:      500
Time taken for tests:   4.188 seconds
Complete requests:      1000
Failed requests:        0
Write errors:           0
Total transferred:      435000 bytes
HTML transferred:       169000 bytes
Requests per second:    238.80 [#/sec] (mean)
Time per request:       2093.837 [ms] (mean)
Time per request:       4.188 [ms] (mean, across all concurrent requests)
Transfer rate:          101.44 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0   82 407.6      1    3006
Processing:     1  812 1050.7    188    3099
Waiting:        1  812 1050.7    187    3099
Total:         35  893 1113.4    190    3506

Percentage of the requests served within a certain time (ms)
  50%    190
  66%    858
  75%   1491
  80%   1526
  90%   3108
  95%   3139
  98%   3160
  99%   3184
 100%   3506 (longest request)

Pada kedua VPS tsb /etc/httpd/conf/httpd.conf sama-sama sbb :
Code:
Timeout 120
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 3
<IfModule prefork.c>
StartServers       5
MinSpareServers    5
MaxSpareServers   25
ServerLimit       50
MaxClients        50
MaxRequestsPerChild  5000
</IfModule>

Berarti kesimpulan adalah lebih cepat VPS 1 x 3 GHz ya ?
Mohon pencerahannya.

Terima kasih atas sharing nya .
 
Status
Not open for further replies.

Top