Visa ett inlägg
Oläst 2008-02-10, 20:13 #12
KPK KPK är inte uppkopplad
Medlem
 
Reg.datum: Dec 2007
Inlägg: 138
KPK KPK är inte uppkopplad
Medlem
 
Reg.datum: Dec 2007
Inlägg: 138
Genom att ändra lite i Drupals sätt att handskas med cache blir det faktiskt lite bättre.

Kod:
Server Software:    Apache/2.2.8
Server Hostname:    domain
Server Port:      80

Document Path:     /
Document Length:    12883 bytes

Concurrency Level:   10
Time taken for tests:  48.497947 seconds
Complete requests:   1000
Failed requests:    0
Write errors:      0
Total transferred:   13444017 bytes
HTML transferred:    12883000 bytes
Requests per second:  20.62 [#/sec] (mean)
Time per request:    484.979 [ms] (mean)
Time per request:    48.498 [ms] (mean, across all concurrent requests)
Transfer rate:     270.69 [Kbytes/sec] received

Connection Times (ms)
       min mean[+/-sd] median  max
Connect:    0  0  3.0   0   57
Processing:  46 483 501.1  480  4840
Waiting:    40 416 409.2  426  4663
Total:     46 483 501.2  480  4840

Percentage of the requests served within a certain time (ms)
 50%  480
 66%  565
 75%  626
 80%  670
 90%  796
 95%  1032
 98%  1878
 99%  2903
 100%  4840 (longest request)
Ganska kraftig förbättring jämfört med innan. Vid -n 1000 -c 30 får jag följande:

Kod:
Server Software:    Apache/2.2.8
Server Hostname:    domain
Server Port:      80

Document Path:     /search/node/searchstring
Document Length:    6951 bytes

Concurrency Level:   30
Time taken for tests:  48.732997 seconds
Complete requests:   1000
Failed requests:    0
Write errors:      0
Total transferred:   7534000 bytes
HTML transferred:    6951000 bytes
Requests per second:  20.52 [#/sec] (mean)
Time per request:    1461.990 [ms] (mean)
Time per request:    48.733 [ms] (mean, across all concurrent requests)
Transfer rate:     150.97 [Kbytes/sec] received

Connection Times (ms)
       min mean[+/-sd] median  max
Connect:    0  0  6.0   0   97
Processing:  96 1446 960.8  1241  10528
Waiting:    96 1445 960.8  1241  10527
Total:     96 1447 960.9  1241  10528

Percentage of the requests served within a certain time (ms)
 50%  1241
 66%  1410
 75%  1572
 80%  1695
 90%  2076
 95%  3227
 98%  4734
 99%  6272
 100% 10528 (longest request)
Vid -n 1000 och -c 100 går servern ner. Vad säger dock -n 1000 och -c 100 i verkliga sammanhang?
KPK är inte uppkopplad   Svara med citatSvara med citat