Re: Re: Are this option

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Mar 24, 2022 at 9:36 AM Marc Serra <mserra@xxxxxxxxx> wrote:
>
> I tested the settings with Apache Bench ...
>
> ab -l -H 'Accept-Encoding: gzip,deflate' -k -n 10000 -c 1000
> https://www.DOMAIN1.TLD/index.html
>
> I'm not sure if the following are good numbers or bad numbers. Can
> anyone help me interpret this result please?

Pretty bad numbers actually, aren't you limited by the network
bandwidth between ab and the server?
What are the numbers from ab when it's running on the server (i.e. ab
... https://localhost/index.html)?

The CPU usage looks high (20%) too for the requested load, but that's
probably on mod_deflate (and TLS handshakes), how does "-H
'Accept-Encoding: gzip,deflate'" change things?

Sorry, more questions than answers, but results on my (poor) laptop look like:
$ bin/ab -k -n 10000 -c 1000 https://localhost:40443/250KB.bin
...
Server Software:        Apache/2.5.1-dev
Server Hostname:        localhost
Server Port:            40443
SSL/TLS Protocol:       TLSv1.2,ECDHE-RSA-AES256-GCM-SHA384,2048,256
Server Temp Key:        X25519 253 bits

Document Path:          /250KB.bin
Document Length:        256000 bytes

Concurrency Level:      1000
Concurrency achieved:   1000
Rampup delay:           0 [ms]
Time taken for tests:   2.437 seconds
Complete requests:      10000
Failed requests:        0
Keep-Alive requests:    10000
Total transferred:      2607109000 bytes
HTML transferred:       2603564800 bytes
Requests per second:    4103.52 [#/sec] (mean)
Time per request:       243.694 [ms] (mean)
Time per request:       0.244 [ms] (mean, across all concurrent requests)
Transfer rate:          1044756.99 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0   34 103.0      0     378
Processing:   181  203   9.6    203     527
Waiting:        0   13   6.9     10     152
Total:        181  237 105.3    203     579

Percentage of the requests served within a certain time (ms)
  50%    203
  66%    206
  75%    209
  80%    212
  90%    517
  95%    552
  98%    563
  99%    567
 100%    579 (longest request)


Or with a shorter resource (1KB) and 10x more requests to amortize the ramp up:
$ bin/ab -k -n 100000 -c 1000 https://localhost:40443/1KB.bin
...
Concurrency Level:      1000
Concurrency achieved:   1000
Rampup delay:           0 [ms]
Time taken for tests:   1.953 seconds
Complete requests:      100000
Failed requests:        0
Keep-Alive requests:    99475
Total transferred:      135073187 bytes
HTML transferred:       103209984 bytes
Requests per second:    51202.91 [#/sec] (mean)
Time per request:       19.530 [ms] (mean)
Time per request:       0.020 [ms] (mean, across all concurrent requests)
Transfer rate:          67540.43 [Kbytes/sec] received


Regards;
Yann.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux