Skocz do zawartości
Zaloguj się, aby obserwować  
jarek

skrypty for a obciążenie serwera..

Polecane posty

Witam.

 

Zrobiłem dziś troszkę testów ApacheBenchmarkiem różnych skryptów for dyskusyjnych i oto wyniki:

 

PUNBB:

s1:~# ab -n 1000 -c 100 http://jarek.net.pl/punbb/
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright 2006 The Apache Software Foundation, http://www.apache.org/

Benchmarking jarek.net.pl (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
Finished 1000 requests


Server Software:		Apache/2
Server Hostname:		jarek.net.pl
Server Port:			80

Document Path:		  /punbb/
Document Length:		3266 bytes

Concurrency Level:	  100
Time taken for tests:   7.141458 seconds
Complete requests:	  1000
Failed requests:		6
  (Connect: 0, Length: 6, Exceptions: 0)
Write errors:		   0
Total transferred:	  3595760 bytes
HTML transferred:	   3251642 bytes
Requests per second:	140.03 [#/sec] (mean)
Time per request:	   714.146 [ms] (mean)
Time per request:	   7.141 [ms] (mean, across all concurrent requests)
Transfer rate:		  491.64 [Kbytes/sec] received

Connection Times (ms)
		  min  mean[+/-sd] median   max
Connect:	   18   18   0.5	 18	  20
Processing:	45  669 414.0	554	2105
Waiting:	   44  626 349.5	550	2007
Total:		 64  687 414.0	573	2123

Percentage of the requests served within a certain time (ms)
 50%	573
 66%	595
 75%	619
 80%	637
 90%   1806
 95%   1890
 98%   1926
 99%   1971
100%   2123 (longest request)
s1:~#

 

 

IPB

s1:~# ab -n 1000 -c 100 http://jarek.net.pl/ipb/
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright 2006 The Apache Software Foundation, http://www.apache.org/

Benchmarking jarek.net.pl (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
Finished 1000 requests


Server Software:		Apache/2
Server Hostname:		jarek.net.pl
Server Port:			80

Document Path:		  /ipb/
Document Length:		13636 bytes

Concurrency Level:	  100
Time taken for tests:   11.761496 seconds
Complete requests:	  1000
Failed requests:		117
  (Connect: 0, Length: 117, Exceptions: 0)
Write errors:		   0
Total transferred:	  12383756 bytes
HTML transferred:	   12137858 bytes
Requests per second:	85.02 [#/sec] (mean)
Time per request:	   1176.150 [ms] (mean)
Time per request:	   11.761 [ms] (mean, across all concurrent requests)
Transfer rate:		  1028.19 [Kbytes/sec] received

Connection Times (ms)
		  min  mean[+/-sd] median   max
Connect:	   18   18   0.5	 18	  20
Processing:   113 1106 288.5   1126	3523
Waiting:	   93 1085 285.9   1103	3501
Total:		132 1124 288.5   1144	3541

Percentage of the requests served within a certain time (ms)
 50%   1144
 66%   1209
 75%   1270
 80%   1304
 90%   1388
 95%   1492
 98%   1749
 99%   2023
100%   3541 (longest request)
s1:~#

 

 

MYBB

s1:~# ab -n 1000 -c 100 http://jarek.net.pl/mybb/
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright 2006 The Apache Software Foundation, http://www.apache.org/

Benchmarking jarek.net.pl (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
Finished 1000 requests


Server Software:		Apache/2
Server Hostname:		jarek.net.pl
Server Port:			80

Document Path:		  /mybb/
Document Length:		9399 bytes

Concurrency Level:	  100
Time taken for tests:   11.760523 seconds
Complete requests:	  1000
Failed requests:		990
  (Connect: 0, Length: 990, Exceptions: 0)
Write errors:		   0
Total transferred:	  7190789 bytes
HTML transferred:	   6821675 bytes
Requests per second:	85.03 [#/sec] (mean)
Time per request:	   1176.052 [ms] (mean)
Time per request:	   11.761 [ms] (mean, across all concurrent requests)
Transfer rate:		  597.08 [Kbytes/sec] received

Connection Times (ms)
		  min  mean[+/-sd] median   max
Connect:	   18   18   0.5	 18	  20
Processing:   346 1112 338.9   1126	2745
Waiting:	  326 1096 333.6   1108	2724
Total:		365 1130 338.9   1144	2763

Percentage of the requests served within a certain time (ms)
 50%   1144
 66%   1268
 75%   1362
 80%   1412
 90%   1534
 95%   1684
 98%   1848
 99%   1954
100%   2763 (longest request)
s1:~#

 

 

SMF

s1:~# ab -n 1000 -c 100 http://jarek.net.pl/smf/
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright 2006 The Apache Software Foundation, http://www.apache.org/

Benchmarking jarek.net.pl (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
Finished 1000 requests


Server Software:		Apache/2
Server Hostname:		jarek.net.pl
Server Port:			80

Document Path:		  /smf/
Document Length:		14520 bytes

Concurrency Level:	  100
Time taken for tests:   11.464723 seconds
Complete requests:	  1000
Failed requests:		181
  (Connect: 0, Length: 181, Exceptions: 0)
Write errors:		   0
Total transferred:	  12354134 bytes
HTML transferred:	   11982941 bytes
Requests per second:	87.22 [#/sec] (mean)
Time per request:	   1146.472 [ms] (mean)
Time per request:	   11.465 [ms] (mean, across all concurrent requests)
Transfer rate:		  1052.27 [Kbytes/sec] received

Connection Times (ms)
		  min  mean[+/-sd] median   max
Connect:	   18   18   0.7	 18	  20
Processing:   378 1084 346.3   1072	5488
Waiting:	  322 1026 337.3   1003	5412
Total:		397 1102 346.3   1091	5507

Percentage of the requests served within a certain time (ms)
 50%   1091
 66%   1193
 75%   1251
 80%   1289
 90%   1418
 95%   1533
 98%   1722
 99%   2021
100%   5507 (longest request)
s1:~#

 

 

SMF2 RC3

s1:~# ab -n 1000 -c 100 http://jarek.net.pl/smf2/
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright 2006 The Apache Software Foundation, http://www.apache.org/

Benchmarking jarek.net.pl (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
Finished 1000 requests


Server Software:		Apache/2
Server Hostname:		jarek.net.pl
Server Port:			80

Document Path:		  /smf2/
Document Length:		14536 bytes

Concurrency Level:	  100
Time taken for tests:   11.53910 seconds
Complete requests:	  1000
Failed requests:		512
  (Connect: 0, Length: 512, Exceptions: 0)
Write errors:		   0
Total transferred:	  7624000 bytes
HTML transferred:	   7278400 bytes
Requests per second:	90.47 [#/sec] (mean)
Time per request:	   1105.391 [ms] (mean)
Time per request:	   11.054 [ms] (mean, across all concurrent requests)
Transfer rate:		  673.52 [Kbytes/sec] received

Connection Times (ms)
		  min  mean[+/-sd] median   max
Connect:	   18   18   0.5	 18	  20
Processing:   391 1035 401.3	943	3906
Waiting:	  382  994 379.2	908	3765
Total:		409 1053 401.3	962	3924

Percentage of the requests served within a certain time (ms)
 50%	962
 66%   1154
 75%   1286
 80%   1368
 90%   1592
 95%   1719
 98%   2026
 99%   2140
100%   3924 (longest request)

 

 

WBB3

s1:~# ab -n 1000 -c 100 http://jarek.net.pl/wbb3/
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright 2006 The Apache Software Foundation, http://www.apache.org/

Benchmarking jarek.net.pl (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
Finished 1000 requests


Server Software:		Apache/2
Server Hostname:		jarek.net.pl
Server Port:			80

Document Path:		  /wbb3/
Document Length:		14172 bytes

Concurrency Level:	  100
Time taken for tests:   21.916984 seconds
Complete requests:	  1000
Failed requests:		850
  (Connect: 0, Length: 850, Exceptions: 0)
Write errors:		   0
Total transferred:	  4509932 bytes
HTML transferred:	   4299988 bytes
Requests per second:	45.63 [#/sec] (mean)
Time per request:	   2191.698 [ms] (mean)
Time per request:	   21.917 [ms] (mean, across all concurrent requests)
Transfer rate:		  200.94 [Kbytes/sec] received

Connection Times (ms)
		  min  mean[+/-sd] median   max
Connect:	   18   18   0.5	 18	  22
Processing:   224 2035 1698.3   1441   10752
Waiting:	  223 1846 1344.6   1423	9395
Total:		242 2053 1698.4   1460   10772

Percentage of the requests served within a certain time (ms)
 50%   1460
 66%   2138
 75%   2513
 80%   2917
 90%   4102
 95%   6274
 98%   7655
 99%   8157
100%  10772 (longest request)
s1:~#

 

 

Jutro dodam phpbb2, phpbb3 i vb ... ;)

Wszystkie testy robione na czystej instalacji forum...

 

Serwer to VPS w HE XXL.

 

http://jarek.net.pl/phpinfo.php

 

No i oczywiście, że testy robione z innego serwera niż testowany :P

Udostępnij ten post


Link to postu
Udostępnij na innych stronach

Test na czystym forum dużo nie daje.

Udostępnij ten post


Link to postu
Udostępnij na innych stronach
Test na czystym forum dużo nie daje.
To samo miałem napisać. Liczy się przede wszystkim skalowalność ;)

Udostępnij ten post


Link to postu
Udostępnij na innych stronach

właśnie się zastanawiałem czy na czystym coś da ? ;)

 

a tutaj jak wy piszecie dupa... ;/

Udostępnij ten post


Link to postu
Udostępnij na innych stronach

aby taki tescik byl obiektywny musialbys zastosowac ustawienia dajace podobne efekty (czyt. wlaczyc takie same swieczki na kazdej choince) po czym przekonwertowac ta sama baze danych po kolei z jednego systemu na drugi (proponowana wielkosc choinki 5k userow i 50-100k postow)

 

praca na nie jedna noc :D

Udostępnij ten post


Link to postu
Udostępnij na innych stronach

Myślę, że w next weekend będzie robione all :D Ponieważ w ten mam zjazd i koła.. ;/

No ale damy radę:))

Udostępnij ten post


Link to postu
Udostępnij na innych stronach

Bądź aktywny! Zaloguj się lub utwórz konto

Tylko zarejestrowani użytkownicy mogą komentować zawartość tej strony

Utwórz konto

Zarejestruj nowe konto, to proste!

Zarejestruj nowe konto

Zaloguj się

Posiadasz własne konto? Użyj go!

Zaloguj się

Zaloguj się, aby obserwować  

×