Welcome Guest, Not a member yet? Register   Sign In
Is this a good Benchmark?
#11

Here is a benchmark of another website in the same server, also using CI3. It is in my server at home and the test is done from the same computer:

Code:
Server Software:        Apache
Server Hostname:        clinicadecot.org
Server Port:            80

Document Path:          /rehabilitacion
Document Length:        15062 bytes

Concurrency Level:      10
Time taken for tests:   8.550 seconds
Complete requests:      1000
Failed requests:        0
Total transferred:      15607000 bytes
HTML transferred:       15062000 bytes
Requests per second:    116.96 [#/sec] (mean)
Time per request:       85.500 [ms] (mean)
Time per request:       8.550 [ms] (mean, across all concurrent requests)
Transfer rate:          1782.60 [Kbytes/sec] received

Connection Times (ms)
             min  mean[+/-sd] median   max
Connect:        2    5   2.2      5      13
Processing:    47   80  43.0     74     501
Waiting:       29   59  42.9     53     485
Total:         49   85  43.8     80     514

Percentage of the requests served within a certain time (ms)
 50%     80
 66%     85
 75%     89
 80%     94
 90%    100
 95%    108
 98%    120
 99%    481
100%    514 (longest request)

Thank you, Mat !!!
Reply
#12

You need to figure out what's different between the two configurations. The only thing that's really obvious from the test results you've been posting is that one is using HTTPS, while the other is not, but that doesn't necessarily mean that is the source of the problem. It could just as easily be any number of things that we can't see, like the server configuration or the CI configuration.
Reply
#13

Code:
Failed requests:        932
  (Connect: 0, Receive: 0, Length: 932, Exceptions: 0)
It means the length of the response was different. You must benchmark the page which does not change its length (bytes) if you don't want to see the failure.

If you use ab v2.4.7 or later, you can add -l option. It does not report errors if the length of the responses is not constant.
See https://httpd.apache.org/docs/2.4/programs/ab.html
Reply
#14

(This post was last modified: 11-14-2015, 09:28 AM by ciadmin.)

@portaflex:

I keep getting "email rejected" messages on the CodeIgniter admin email, for your email address.
The error message: "The recipient address is rejected - unknown user."
These appear to be an email sent by the forum, in response to a password reset request.

I would email you this, rather than posting on a thread, but it appears your email address is invalid Undecided
Reply
#15

Thank you very much for your help, dear Admin.

I've being dealing with two "nice" dudes from Netherlands and Taiwan who were ¡firing! my mail server with thousands of spam trying to relay on. Angry

You know that Postfix-Dovecot-MySQL can be a great pain. But now is fully functional, Postfix and Iptables did it. Now I receive mail fine.

Maybe the issue with my performance has to do with the fact that I use ¡a lot! of dinamic schaffolding to output HTML. I almost have no views. Don't know, but is so, so fun this way.

I'll wait for your e-mail. Thank you very much.
Reply
#16

(11-13-2015, 03:09 PM)kenjis Wrote:
Code:
Failed requests:        932
  (Connect: 0, Receive: 0, Length: 932, Exceptions: 0)
It means the length of the response was different. You must benchmark the page which does not change its length (bytes) if you don't want to see the failure.

If you use ab v2.4.7 or later, you can add -l option. It does not report errors if the length of the responses is not constant.
See https://httpd.apache.org/docs/2.4/programs/ab.html

Thank you very much for the hint, dear Kenjis. Here is the output with the "-l":
Code:
$ ab -n 1000 -c 10 -v2 -l http://clinicadecot.org/rehabilitacion

Server Software:        Apache
Server Hostname:        clinicadecot.org
Server Port:            80

Document Path:          /rehabilitacion
Document Length:        Variable

Concurrency Level:      10
Time taken for tests:   8.148 seconds
Complete requests:      1000
Failed requests:        0
Total transferred:      15607000 bytes
HTML transferred:       15062000 bytes
Requests per second:    122.73 [#/sec] (mean)
Time per request:       81.478 [ms] (mean)
Time per request:       8.148 [ms] (mean, across all concurrent requests)
Transfer rate:          1870.59 [Kbytes/sec] received

Connection Times (ms)
             min  mean[+/-sd] median   max
Connect:        1    3   1.4      3       9
Processing:    46   78  44.8     71     530
Waiting:       29   57  43.4     51     489
Total:         49   81  44.8     74     533

Percentage of the requests served within a certain time (ms)
 50%     74
 66%     83
 75%     84
 80%     86
 90%     96
 95%    102
 98%    115
 99%    493
100%    533 (longest request)

Now it looks much better. Smile
Thank you for your input!
Reply




Theme © iAndrew 2016 - Forum software by © MyBB