일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 31 |
- 서원힐스
- 자연산 개복숭아
- 한라산
- 개복숭아
- 포천온천
- 자연산개복숭아
- 야생개복숭아 판매
- 돌복숭아
- 괌
- 개복숭아 판매
- 경기북부골프장
- 야생개복숭아
- 제주도설경
- 제주도눈썰매
- 괌자유여행
- 덕소골프샵
- wp-900
- 휘닉스파크
- 충주골프장
- 개복숭아판매
- 조경철천문대
- 제주도
- 포천투어
- 파주골프장
- 잠실수영장
- 포천수영장
- 제주도눈
- 태안수영장펜션
- 포천가볼만한곳
- LGG6
- Today
- Total
Live Brilliant
아파치 최적화 테스트 본문
-c(한번에수행할 다중요구수) 값을 1000으로하고,
-n(페이지요청수) 값을 1000 으로 하였으며
-t(테스트허용 최대시간)값을 10으로 주었다.
-------------------------------------------------
[root@superad ~]# /usr/local/apache/bin/ab -c 1000 -n 1000 -t 10 http://192.168.0.224/
This is ApacheBench, Version 2.0.41-dev <$Revision: 1.121.2.12 $> apache-2.0
Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright (c) 1998-2002 The Apache Software Foundation, http://www.apache.org/
Benchmarking 192.168.0.224 (be patient)
Completed 5000 requests
Finished 5047 requests
Server Software: Apache/2.2.11
Server Hostname: 192.168.0.224
Server Port: 80
Document Path: /
Document Length: 40 bytes
Concurrency Level: 1000
Time taken for tests: 10.2553 seconds
Complete requests: 5047
Failed requests: 0
Write errors: 0
Total transferred: 1135800 bytes
HTML transferred: 201920 bytes
Requests per second: 504.57 [#/sec] (mean)
Time per request: 1981.881 [ms] (mean)
Time per request: 1.982 [ms] (mean, across all concurrent requests)
Transfer rate: 110.87 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 1 428 1310.2 4 9010
Processing: 130 742 1223.9 302 9163
Waiting: 127 737 1222.0 300 9160
Total: 170 1171 1810.9 336 9594
Percentage of the requests served within a certain time (ms)
50% 336
66% 512
75% 914
80% 1446
90% 3498
95% 4782
98% 7121
99% 9410
100% 9594 (longest request)
---------------------------------------
192.168.0.224 웹서버의 80번 포트로 1초에 1000개씩 총 20000개의 접속을 만들었다.
---------------------------------------
[root@superad httperf-0.9.0]# httperf --server 192.168.0.224 --port 80 --rate 1000 --num-conns 20000 --hog
httperf --hog --client=0/1 --server=192.168.0.224 --port=80 --uri=/ --rate=1000 --send-buffer=4096 --recv-buffer=16384 --num-conns=20000 --num-calls=1
Maximum connect burst length: 8
Total: connections 12816 requests 12816 replies 12816 test-duration 31.483 s
Connection rate: 407.1 conn/s (2.5 ms/conn, <=1022 concurrent connections)
Connection time [ms]: min 14.0 avg 1679.1 max 27055.0 median 396.5 stddev 2928.5
Connection time [ms]: connect 1063.6
Connection length [replies/conn]: 1.000
Request rate: 407.1 req/s (2.5 ms/req)
Request size [B]: 66.0
Reply rate [replies/s]: min 14.2 avg 426.9 max 661.7 stddev 264.5 (6 samples)
Reply time [ms]: response 615.5 transfer 0.0
Reply size [B]: header 166.0 content 40.0 footer 0.0 (total 206.0)
Reply status: 1xx=0 2xx=12816 3xx=0 4xx=0 5xx=0
CPU time [s]: user 0.99 system 30.46 (user 3.1% system 96.8% total 99.9%)
Net I/O: 108.1 KB/s (0.9*10^6 bps)
Errors: total 7184 client-timo 0 socket-timo 0 connrefused 0 connreset 0
Errors: fd-unavail 7184 addrunavail 0 ftab-full 0 other 0
[root@superad httperf-0.9.0]#
'개발은 핵찜이야 > 리눅스' 카테고리의 다른 글
[에러] libmysqlclient_r.so.16: cannot open shared object file: No such file or directory (0) | 2012.04.13 |
---|---|
apache 설정(2차도메인 www대신 다른 문구 넣어도 접속가능하도록) (0) | 2012.04.13 |
Youtube 매쉬업 사이트 운영을 위한 서버 필요 사항 (0) | 2012.04.13 |
서버 아파치 속도 개선 (0) | 2012.04.13 |
php : mbstring 확장 모듈생성 추가방법 (0) | 2012.04.13 |