RI> Поставил oops в accel режиме.

RI> Решил померять, как оно.

RI> ab -n 1000 -c 200 -H 'Accept-Encoding: gzip'
RI> http://myhost.ru/ <-- это Апач.

RI> Concurrency Level: 200
RI> Time taken for tests: 2.996 seconds
RI> Complete requests: 1000
RI> Failed requests: 0
RI> Broken pipe errors: 0
RI> Total transferred: 11613408 bytes
RI> HTML transferred: 11356878 bytes
RI> Requests per second: 333.78 [#/sec] (mean)
RI> Time per request: 599.20 [ms] (mean)
RI> Time per request: 3.00 [ms] (mean, across all concurrent requests)
RI> Transfer rate: 3876.30 [Kbytes/sec] received

RI> ab -n 1000 -c 200 -H 'Accept-Encoding: gzip' http://myhost.ru:3128/
RI> <-- это Oops accel.

RI> Concurrency Level: 200
RI> Time taken for tests: 4.138 seconds
RI> Complete requests: 1000
RI> Failed requests: 0
RI> Broken pipe errors: 0
RI> Total transferred: 11634792 bytes
RI> HTML transferred: 11366132 bytes
RI> Requests per second: 241.66 [#/sec] (mean)
RI> Time per request: 827.60 [ms] (mean)
RI> Time per request: 4.14 [ms] (mean, across all concurrent requests)
RI> Transfer rate: 2811.69 [Kbytes/sec] received

RI> Почему oops медленее апача?

RI> Конфиг oops:
RI> nameserver some.ip.addr.here

RI> http_port       3128
RI> icp_port        3130

RI> logfile /usr/local/oops/logs/oops.log { 5 2m } unbuffered
RI> accesslog       /usr/local/oops/logs/access.log

RI> pidfile         /usr/local/oops/logs/oops.pid
RI> statistics      /usr/local/oops/logs/oops_statfile

RI> mem_max         64m
RI> lo_mark         8m

RI> start_red      550
RI> refuse_at      800

RI> default-expire-value    1
RI> ftp-expire-value        7
RI> max-expire-value        2
RI> last-modified-factor    5
RI> default-expire-interval 1

RI> icp_timeout     1000

RI> disk-low-free   3
RI> disk-ok-free    5

RI> force_http11
RI> force_completion 75

RI> maxresident     1m
RI> insert_x_forwarded_for  no
RI> insert_via              no
RI> fetch_with_client_speed yes

RI> local-networks  10/8 192.168/16

RI> group   world   {
RI>         networks        0/0;
RI>         redir_mods      accel;
RI> }


RI> storage {
RI>         path /usr/local/oops/storages/oops_storage ;
RI>         size 300m ;
RI> }

RI> module err {
RI>         template /usr/local/oops/err_template.html
RI>         lang ru
RI> }

RI> module oopsctl {
RI>         socket_path     /usr/local/oops/logs/oopsctl
RI>         html_refresh    300
RI> }

Кто нибудь, обясните функцию module  accel ???


end

Best regards,
 Ramirez                            mailto:[EMAIL PROTECTED]

=====================================================================
If you would like to unsubscribe from this list send message to
[EMAIL PROTECTED] with "unsubscribe oops" in message body.
Archive is accessible on http://lists.paco.net/oops-rus/
  • ... Roman Ivanov
    • ... Ramirez
      • ... Pavel Prikhodko
        • ... Ramirez
          • ... Vitaliy Ovsyannikov
    • ... Михаил Монашёв
      • ... Roman Ivanov

Дати відповідь електронним листом