I/O 방법별 성능 비교
Posted 2012. 10. 17. 14:04NetWork Programming for Microsoft Windows 책. Chaper 6.
I/O 모델 |
연결시도 /연결 성공 |
메모리 사용량(KB) |
Non-page pool |
CPU 사용량 |
스레드 개수 |
처리량 (send/recv bytes per second) |
Blocking |
7000/1008 12000/1008 |
25,632 25,408 |
36,121, 36,353 |
10~60% 5~40% |
2016 |
2198148/2198148 404227/402227 |
non-blocking |
7000/4011 12000/5779 |
4208 5224 |
135,123 156,260 |
95~100% 95~100% |
1 |
0/0 0/0 |
WSAAsync Select | 7000/1956 12000/5779 |
3640 4884 |
38246 42992 |
75~85% 90~100% |
3 3 |
1610204/1637819 652902/652902 |
WSAEvent Select |
7000/6999 12000/11080 46000/45933 |
10502 19214 37392 |
36402 39040 121624 |
65~85% 50~60% 80~90% |
113 192 791 |
4921350/5186297 3217493/3217493 3851152/3834511 |
Overlapped (event) |
7000/5558 12000/12000 49000/48996 |
21844 60576 241208 |
34944 48060 155480 |
65~85% 35~45% 85~95% |
66 195 792 |
502423/4095644 1803878/1803878 3865152/3834511 |
overlapped ( c p ) |
7000/7000 12000/12000 50000/49997 |
36160 59256 242272 |
31128 38862 148192 |
40~50% 40~50% 55~65% |
2 2 2 |
6282473/3893507 5027914/5027095 4326946/4325496 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- Filed under : Server/성능(Performance)수치