perf.txt 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278
  1. #$Id$
  2. #
  3. # ser measurements
  4. date: 20.09.2002
  5. hardware: dorian 2*Athlon 1200 (ser) <=gigabit=> mobile34 2*PIII 900 (stress)
  6. version: ser 0.8.7-14-gpl (i386/Linux)
  7. flags: STATS:Off, USE_IPV6, NO_DEBUG, SHM_MEM, SHM_MMAP, PKG_MALLOC, F_MALLOC,
  8. FAST_LOCK-ADAPTIVE_WAIT ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144,
  9. MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 3040
  10. ser command: ./ser -f test/test-throughput.cfg -l 10.0.0.179 -n 1 -D
  11. ser command: ./ser -f test/th-uri-fast.cfg -l 10.0.0.179 -n 1 -D -m 256
  12. test calls: 100000
  13. stateless:
  14. throttle 1 proc (cps) 2 procs (cps) 4 procs (cps)
  15. ser gcc-3.2 20 3093 2967 3267 3398 3536 3549
  16. 100 4587 4669 5011 5181 4872 4985
  17. 150 4920 4836 5161 5127 5122 5134
  18. tm:
  19. ser gcc-3.2 20 2456 2448 3158 3147 3137 3179
  20. 100 2535 2535 3429 3445 3399 3365
  21. 150 2537* 2542* 3448 3473 3359 3407*
  22. 200 2546* 2560* 3434* 2948+ 3365* 3425*
  23. (*) - retransmissions ( 500ms)
  24. (+) - retransmissions (2000ms)
  25. ------------------------------------------------------------------------------
  26. date: 23.09.2002
  27. hardware: alioth UltraSparc-IIi (ser) <=fasteth=> mobile34 2*PIII 900 (stress)
  28. version: ser 0.8.7-15-tests (sparc64/SunOS)
  29. flags: STATS:Off, USE_IPV6, SHM_MEM, SHM_MMAP, PKG_MALLOC, F_MALLOC,
  30. FAST_LOCK-ADAPTIVE_WAIT ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144,
  31. MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 3040
  32. ser command: ./ser -f test/test-throughput.cfg -l 192.168.57.33 -n 1 -D -m 256
  33. ser command: ./ser -f test/th-uri-fast.cfg -l 192.168.57.33 -n 1 -D -m 256
  34. test calls: 10000
  35. stateless:
  36. throttle 1 proc (cps) 2 procs (cps) 4 procs (cps)
  37. ser gcc 3.0 20 666 665 672 673
  38. 100 666* 658* 675* 656*
  39. 200 671 660*
  40. ser gcc 3.0 20 805 807
  41. -DDNS_IP_HACK 100 802* 804*
  42. 200 783* 775*
  43. tm:
  44. ser gcc 3.0 20 542 551
  45. -DDND_IP_HACK 100 550 553*
  46. 200 523* 530*
  47. -------------------------------------------------------------------------------
  48. date: 23.09.2002
  49. hardware: balrog 4*UltraSparc-II 296 Mhz (ser) <=fasteth=> mobile34 2*PIII 900
  50. (stress)
  51. version: ser 0.8.7-15-tests (sparc64/SunOS)
  52. flags: STATS:Off, USE_IPV6, NO_DEBUG, DNS_IP_HACK, SHM_MEM, SHM_MMAP,
  53. PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT ADAPTIVE_WAIT_LOOPS=1024,
  54. MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 3040
  55. ser command: ./ser -f test/test-throughput.cfg -l 192.168.46.35 -D -n 1 -m 256
  56. ser command: /ser -f test/th-uri-fast.cfg -l 192.168.46.35 -n 4 -m 256
  57. test calls: 10000
  58. stateless:
  59. throttle 1 proc (cps) 2 procs (cps) 4 procs (cps)
  60. ser gcc3.2 20 924 923 1591 1602 1624 1670
  61. (DNS_IP_HACK) 100 932* 906* 1486* 1420* 1517 1495
  62. 200 939* 917* 1300* 1386* 1157* 1275*
  63. tm:
  64. throttle 1 proc (cps) 2 procs (cps) 4 procs (cps)
  65. ser gcc3.2 20 704 725 1137 1202 1460 1575
  66. (DNS_IP_HACK) 100 703* 683* 1150* 1398* 1451*
  67. 200 723* 723* 1207* 1277* 1176* 1369*
  68. stress:
  69. test calls: 1000000
  70. 100 100 procs (cps)
  71. 107* - out of mem
  72. ------------------------------------------------------------------------------
  73. date: 09.10.2002
  74. hardware: dorian 2*Athlon MP2000 (ser) <=gigabit=> mobile34 2*PIII 900
  75. version: udp_test_proxy (compiled w/ gcc-3.2 -O9 -march=athlon)
  76. command line: ./udp_test_proxy -l 10.0.0.179 -s 5060 -d 10.0.0.34 -p 5090 -n 2;
  77. ./udp_test_proxy -l 10.0.0.179 -s 5070 -d 10.0.0.34 -p 5000 -n 2
  78. test calls: 100000
  79. throttle 1 proc (cps) 2 procs (cps) 4 procs (cps)
  80. udp_test_proxy 20 3984 4015
  81. 100 5140* 5104*
  82. 200 5451* 5529*
  83. ------------------------------------------------------------------------------
  84. date: 09.10.2002
  85. hardware: dorian 2*Athlon MP2000 (ser) <=gigabit=> mobile34 2*PIII 900
  86. version: ser 0.8.7-14-gpl (i386/Linux)
  87. flags: STATS:Off, USE_IPV6, NO_DEBUG, DNS_IP_HACK, SHM_MEM, SHM_MMAP,
  88. PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT ADAPTIVE_WAIT_LOOPS=1024,
  89. MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 3040
  90. ser command: ./ser -f test/test-throughput.cfg -l 10.0.0.179 -n 2 -m 256
  91. ser command: ./ser -f test/th-uri-fast.cfg -l 10.0.0.179 -n 2 -m 256
  92. test calls: 100000
  93. stateless:
  94. throttle 1 proc (cps) 2 procs (cps) 4 procs (cps)
  95. ser 0.8.7-gpl 20 3969 4013
  96. 100 5115 5023*
  97. 200 5064* 5065*
  98. statefull(tm):
  99. throttle 1 proc (cps) 2 procs (cps) 4 procs (cps)
  100. ser 0.8.7-gpl 20 3388
  101. 100 3513+ 3509+
  102. 200 3583+ 3409+
  103. ------------------------------------------------------------------------------
  104. date: 09.10.2002
  105. hardware: dorian 2*Athlon MP2000 (ser) <=gigabit=> mobile34 2*PIII 900
  106. version: ser 0.8.9 (i386/linux)
  107. flags: STATS:Off, USE_IPV6, NO_DEBUG, SHM_MEM, SHM_MMAP, PKG_MALLOC, F_MALLOC,
  108. FAST_LOCK-ADAPTIVE_WAIT ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144,
  109. MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 3040
  110. ser command: ./ser -f test/test-throughput.cfg -l 10.0.0.179 -n 2 -m 256
  111. ser command: ./ser -f test/th-uri-fast.cfg -l 10.0.0.179 -n 2 -m 256
  112. test calls: 100000
  113. statefull(tm):
  114. throttle 1 proc (cps) 2 procs (cps) 4 procs (cps)
  115. ser 0.8.9 20 3420
  116. 100 3415+ 3557+
  117. 200 3401+ 3374++
  118. +NOLOG
  119. +HASH_POWER 10 100 3661+
  120. (24kb) 200 3606+
  121. +HASH_POWER 12 100 4221
  122. (96kb) 200 4295
  123. 20 3728 3787
  124. +HASH_POWER 16 100 4319
  125. (1.5Mb) 200 3788 4447
  126. +HASH_POWER 20 100 4467+ 4740+
  127. (24Mb) 200 4595+ 4525+
  128. +HASH_POWER 22 100 4627* 4636*
  129. (96Mb) 200 4664*
  130. new_hash2:
  131. +HASH_POWER 16 20 3931 4045 4053
  132. 100 4148 4618
  133. 200 4923 4931!!
  134. +HASH_POWER 20 200 4853+ 4987*
  135. +HASH_POWER 22 100 4857*
  136. 200 4754* 4811+
  137. (!!) - bye retrans?
  138. ------------------------------------------------------------------------------
  139. hash dist: ( min/max/diff/nonzero)
  140. 2^10 2^12 2^14 2^16
  141. new_hash 98/168/70/1023 13/60/47/4095 1/21/20/16377 1/15/14/55963
  142. new_hash2 96/166/70/1024 16/53/37/4096 1/21/20/16377 1/11/10/57213
  143. hash test results:
  144. gcc 2.95 gcc2.95 -O9 gcc3.2 -O9 gcc3.2 athlon
  145. new_hash 17.6 11.3 11.1
  146. new_hash2_old 16.6 12.6 10.9
  147. new_hash2 12 7.1 7.2 7.18
  148. -------------------------------------------------------------------------------
  149. date: 04.09.2002
  150. hardware: dorian 2*Athlon MP2000 (ser) <=gigabit=> mobile34 2*PIII 900
  151. version: ser 0.8.11 (i386/linux)
  152. flags: STATS:Off, USE_IPV6, USE_TCP, DISABLE_NAGLE, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT
  153. ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535
  154. @(#) $Id$
  155. main.c compiled on 14:34:25 Sep 4 2003 with gcc 3.3
  156. (standard release flags)
  157. ser command: ./ser -f test/test-throughput.cfg -l 10.0.0.179 -n 2 -m 256
  158. ser command: ./ser -f test/th-uri-fast.cfg -l 10.0.0.179 -n 2 -m 256
  159. test calls: 100000
  160. stateless:
  161. throttle 1 proc (cps) 2 procs (cps) 4 procs (cps)
  162. ser 0.8.11 20 3951 3975
  163. 100 5032* 5057
  164. 200 5306 5360 5291 5321 5319
  165. statefull (tm):
  166. throttle 1 proc (cps) 2 procs (cps) 4 procs (cps)
  167. ser 0.8.11 20
  168. 100 4155 4429 4510
  169. 200 4450 4349
  170. w/ NO_DEBUG && CPU=athlon-mp CC_EXTRA_OPTIONS=-march=athlon-mp
  171. stateless:
  172. throttle 1 proc (cps) 2 procs (cps) 4 procs (cps)
  173. ser 0.8.11 20
  174. 100 5202 5224
  175. 200 5384 5370
  176. statefull (tm):
  177. throttle 1 proc (cps) 2 procs (cps) 4 procs (cps)
  178. ser 0.8.11 20
  179. 100 4411 4549
  180. 200 4602 4493
  181. statefull(tm)
  182. 0.8.11+
  183. F_MALLOC_OPTIMIZE 12 100 4723 4660 4740
  184. 200 4804 4879 4849
  185. (4857 cps, 1000000 calls, throttle=200)
  186. as above + std. cfg 100 4496 4453
  187. (etc/ser.cfg) 200 4441 4445
  188. (3 ifs, 5 aliases)
  189. w/ usrloc lookups 100 4371 4475
  190. 200 4381 4390
  191. (*) - inv. retr
  192. (!!) - bye retrans?