LVS를 이용한 분산웹서버 성능 테스트
글쓴이: sseol / 작성시간: 금, 2003/12/19 - 2:18오후
LVS를 이용해 분산 웹서버를 만들었습니다 HA는 아니고 단순히
로드 밸런스 서버 한대에 리얼서버 3대 이렇게 구성되 있구요
리얼서버의 개수에 따라서 또 스케줄링 기법에 따라서
성능이 어느 정도 나오는지 알고 싶어서 이것저것 찾아 봤는데요
ab를 이용하면 Concurrency Level을 1020이상 줄수가 없고
단순히 서버 한대만 이용한 테스트에서도 300만번의 리퀘스트를
발생시켜봐야 fail은 100번정도 밖에 생기지 않더라구요
[root@dccadore root]# ab -n 3000000 -c 1020 http://163.x.x.x:8080/
This is ApacheBench, Version 1.3d <$Revision: 1.58 $> apache-1.3
Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright (c) 1998-2001 The Apache Group, http://www.apache.org/
Benchmarking 163.x.x.x(be patient)
Completed 300000 requests
Completed 600000 requests
Completed 900000 requests
Completed 1200000 requests
Completed 1500000 requests
Completed 1800000 requests
Completed 2100000 requests
Completed 2400000 requests
Completed 2700000 requests
Finished 3000000 requests
Server Software: Apache/1.3.23
Server Hostname: 163.x.x.x
Server Port: 8080
Document Path: /
Document Length: 3160 bytes
Concurrency Level: 1020
Time taken for tests: 1076.707 seconds
Complete requests: 3000000
Failed requests: 43
(Connect: 0, Length: 43, Exceptions: 0)
Broken pipe errors: 0
Total transferred: 1874177024 bytes
HTML transferred: 890166528 bytes
Requests per second: 2786.27 [#/sec] (mean)
Time per request: 366.08 [ms] (mean)
Time per request: 0.36 [ms] (mean, across all concurrent requests)
Transfer rate: 1740.66 [Kbytes/sec] received
Connnection Times (ms)
min mean[+/-sd] median max
Connect: 0 287 1471.5 1 189001
Processing: 4 77 242.4 48 205802
Waiting: 1 76 242.4 48 205802
Total: 4 364 1484.2 49 208812
Percentage of the requests served within a certain time (ms)
50% 49
66% 50
75% 61
80% 84
90% 149
95% 3048
98% 3103
99% 9046
100% 208812 (last request)
[root@dccadore root]#
그리고 분산서버 역시 별반 다를바 없는 결과가 나오고요
제가 테스트하는 방법을 잘 모르고 있는건지 아니면
다른 테스트 방법이 있는건지 좀 알려주세요[/code]
Forums:


댓글 달기