Re: Poor Load Balancer performance

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

 



Oh shit! copy/paste error!!!

I has inverted the results! I'm sorry!

the real ones...

Results when I run 'ab  -k -n 10000 -c 1000 http://vm_host_ip_address:8010/' with NO balancer configured...
 Finished 10000 requests
 Server Software:        Apache/2.4.41
 Server Hostname:        192.168.68.210
 Server Port:            8010
 Document Path:          /
 Document Length:        97098 bytes
 Concurrency Level:      1000
 Time taken for tests:   15.527 seconds
 Complete requests:      10000
 Failed requests:        834
   (Connect: 0, Receive: 0, Length: 834, Exceptions: 0)
 Keep-Alive requests:    9166
 Total transferred:      892851836 bytes
 HTML transferred:       890000268 bytes
 Requests per second:    644.04 [#/sec] (mean)
 Time per request:       1552.701 [ms] (mean)
 Time per request:       1.553 [ms] (mean, across all concurrent requests)
 Transfer rate:          56155.42 [Kbytes/sec] received
 Connection Times (ms)
              min  mean[+/-sd] median   max
 Connect:        0   22 146.6      0    1038
 Processing:     0  657 1668.1    122   13453
 Waiting:        0  752 1883.8    121   13453
 Total:          0  679 1763.1    122   14476
 Percentage of the requests served within a certain time (ms)
  50%    122
  66%    234
  75%    330
  80%    402
  90%   1657
  95%   4987
  98%   7221
  99%   8733
  100%  14476 (longest request)
 Finished 10000 requests



Results when I run 'ab  -k -n 10000 -c 1000 http://vm_host_ip_address:8010/' with (YES) balancer...
 Finished 10000 requests 
 Server Software:        Apache/2.4.41
 Server Hostname:        192.168.68.210
 Server Port:            8010
 Document Path:          /
 Document Length:        97098 bytes
 Concurrency Level:      1000
 Time taken for tests:   24.029 seconds
 Complete requests:      10000
 Failed requests:        5526
    (Connect: 0, Receive: 0, Length: 5526, Exceptions: 0)
 Keep-Alive requests:    8938
 Total transferred:      870844342 bytes
 HTML transferred:       868062523 bytes
 Requests per second:    416.16 [#/sec] (mean)
 Time per request:       2402.908 [ms] (mean) 
 Time per request:       2.403 [ms] (mean, across all concurrent requests)
 Transfer rate:          35391.87 [Kbytes/sec] received
 Connection Times (ms)
              min  mean[+/-sd] median   max
 Connect:        0   22 144.2      0    1039
 Processing:     0 1087 2291.1    451   18504
 Waiting:        0 1207 2615.1    426   18470
 Total:          0 1109 2372.3    451   19514
 Percentage of the requests served within a certain time (ms)
  50%    451
  66%    585
  75%    678
  80%    764
  90%   1868
  95%   7315
  98%  10098
  99%  11156
  100%  19514 (longest request) 
 Finished 10000 requests

Missatge de Eric Covener <covener@xxxxxxxxx> del dia dj., 27 de maig 2021 a les 12:51:
On Thu, May 27, 2021 at 6:22 AM Marc Serra <mserra@xxxxxxxxx> wrote:
I got better performance without the load balancer.
 
Results when I run 'ab  -k -n 10000 -c 1000 http://vm_host_ip_address:8010/' with no balancer...
 Requests per second:    416.16 [#/sec] (mean)
 Transfer rate:          35391.87 [Kbytes/sec] received

 
Results when I run 'ab  -k -n 10000 -c 1000 http://vm_host_ip_address:8010/' with balancer configured...
 Requests per second:    644.04 [#/sec] (mean)
 Transfer rate:          56155.42 [Kbytes/sec] received


It doesn't look like the no-proxy case did better.  Which metric were you looking at?

+ a few cautions:
- If you aren't taxing the system beyond what a single backend could handle, it can easily be slower by adding a proxy.
- A layer 7 proxy can easily be more overhead than a basic VIP / LB / IP sprayer if there's nothing actually being offloaded in the proxy.
 


--
Marc Serra
Organització i Sistemes


Manxa 1876, S.L.
Ctra. Les Tries, 85. 17800 Olot (Girona)
Tel. 972 27 45 30 Fax 972 27 45 32

 Manxa Industrial | Coneix més aquí

 Manxa Ferros | Coneix més aquí

 Manxa Ferreteria i Parament de la Llar | Coneix més aquí


El contingut d’aquest correu electrònic i els seus annexos és estrictament confidencial. En el cas que no siguis el destinatari i hagis rebut aquest missatge per error, preguem que ho comuniquis al remitent i procedeixis a la seva eliminació, sense difondre, emmagatzemar o copiar el seu contingut. Imprimeix aquest correu només si és necessari.

El contenido de este correo electrónico y sus anexos es estrictamente confidencial. En el caso de que no seas el destinatario y hayas recibido este mensaje por error, rogamos lo comuniques al remitente y procedas a su eliminación, sin difundir, almacenar o copiar su contenido. Imprimir este correo solo si es necesario.

The content of this email and its attachments is strictly confidential. If you are not the recipient and you have received this message by mistake, please notify the sender and proceed to its elimination, without spreading, storing or copying its content. Print this email only if necessary.

Le contenu de cet e-mail et de ses pièces jointes est strictement confidentiel. Dans le cas où vous n'êtes pas le destinataire et avez reçu ce message par erreur, veuillez en informer l'expéditeur et procéder à sa suppression, sans diffuser, stocker ou copier son contenu. Imprimez cet e-mail uniquement si nécessaire.


[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