Différences entre les versions de « GWiki:Etat des serveurs »

542 octets ajoutés ,  8 mai 2009 à 02:05
aucun résumé de modification
m
 
(3 versions intermédiaires par 2 utilisateurs non affichées)
Ligne 1 : Ligne 1 :
__NOEDITSECTION__<span style="float: right;">{{purge}}</span>
== Détails ==
== Détails ==
* [http://www.gwiki.fr/munin/gwiki.fr/index.html Serveur frontal Apache/PHP + Squid]
* [http://status.gwiki.fr/gwiki.fr/apollon.gwiki.fr.html apollon]
* [http://www.gwiki.fr/munin/sql.gwiki.fr/index.html Serveur MySQL]
* [http://status.gwiki.fr/gwiki.fr/thanatos.gwiki.fr.html thanatos]
* [http://www.gwiki.fr/munin/dev.gwiki.fr/index.html ToolServer]
* [http://status.gwiki.fr/gwiki.fr/hypnos.gwiki.fr.html hypnos]


== Bench ==
=== 25/01/2008 ===
'''1000 requêtes par paquet de 200''' :
* Page d'accueil en cache
** Apache est complètement occulté par Squid
** Charge processeur sur Apache : 0%
** Charge processeur sur MySQL : 0% (0 requête)
** Charge processeur sur Squid : 50% (31Mo en 2.8 secondes)


== Serveur Apache + Squid ==
<pre>
=== Hit Apache ===
tools:~# ab -n 1000 -c 200 http://www.gwiki.fr/wiki/Accueil
Les requêtes faites à Apache.
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/


http://www.gwiki.fr/munin/gwiki.fr/www.gwiki.fr-apache_accesses-day.png
Benchmarking www.gwiki.fr (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


=== Espace disque ===
Les fichiers du wiki sont dans <code>/home</code>.


http://www.gwiki.fr/munin/gwiki.fr/www.gwiki.fr-df-day.png
Server Software:       Apache/2.2.3
Server Hostname:        www.gwiki.fr
Server Port:            80


=== Processeur ===
Document Path:          /wiki/Accueil
L'utilisation du processeur (très haut par moment...).
Document Length:        30236 bytes


http://www.gwiki.fr/munin/gwiki.fr/www.gwiki.fr-cpu-day.png
Concurrency Level:     200
Time taken for tests:  2.814675 seconds
Complete requests:      1000
Failed requests:        0
Write errors:          0
Total transferred:      31494456 bytes
HTML transferred:      30984037 bytes
Requests per second:    355.28 [#/sec] (mean)
Time per request:      562.935 [ms] (mean)
Time per request:      2.815 [ms] (mean, across all concurrent requests)
Transfer rate:          10927.02 [Kbytes/sec] received


=== Trafic ===
Connection Times (ms)
Le trafic entrant et sortant.
              min  mean[+/-sd] median  max
Connect:      10  72  34.0    84    128
Processing:  307  446 148.4    396    1289
Waiting:      57  127  71.9    103    397
Total:        333  519 139.5    478    1354


http://www.gwiki.fr/munin/gwiki.fr/www.gwiki.fr-if_eth0-day.png
Percentage of the requests served within a certain time (ms)
 
  50%    478
=== Squid : Taille ===
  66%    489
Taille du cache de Squid.
  75%    502
 
  80%    555
http://www.gwiki.fr/munin/gwiki.fr/www.gwiki.fr-squid_cache-day.png
  90%    633
 
  95%    742
Les requêtes servis par Squid (en vert) donc en cache) et les requêtes directement envoyé à Apache (en rouge).
  98%  1181
 
  99%  1253
http://www.gwiki.fr/munin/gwiki.fr/www.gwiki.fr-squid_requests-day.png
100%  1354 (longest request)
 
</pre>
=== Consommation de RAM ===
Le détail de l'utilisation de la mémoire vive.
 
http://www.gwiki.fr/munin/gwiki.fr/www.gwiki.fr-memory-day.png
 
 
== Serveur MySQL ==
=== Requête SQL ===
Le nombre de requête au serveur MySQL.
 
http://www.gwiki.fr/munin/sql.gwiki.fr/www.sql.gwiki.fr-mysql_queries-day.png
 
 
=== Processeur ===
L'utilisation du processeur.
 
http://www.gwiki.fr/munin/sql.gwiki.fr/www.sql.gwiki.fr-cpu-day.png
 
=== Consommation de RAM ===
Le détail de l'utilisation de la mémoire vive.
 
http://www.gwiki.fr/munin/sql.gwiki.fr/www.sql.gwiki.fr-memory-day.png