Results for 1: Sent 3188927 events and received 3188926 in 60.0000581741333 seconds. 53148.7318019765 sends/sec, 53148.715135326 recvs/sec. VIRT=1972 RES=388 Results for 10: Sent 3295980 events and received 3295979 in 60.0000839233398 seconds. 54932.9231640937 sends/sec, 54932.9064974503 recvs/sec. VIRT=2156 RES=464 Results for 100: Sent 3165782 events and received 3165780 in 60.0001029968262 seconds. 52762.9427597393 sends/sec, 52762.9094264632 recvs/sec. VIRT=3952 RES=1188 Results for 1000: Sent 2114580 events and received 2113144 in 60.0001451969147 seconds. 35242.9147139587 sends/sec, 35218.9814385426 recvs/sec. VIRT=18084 RES=8520 Results for 10000: Sent 2113137 events and received 2112965 in 60.0001401901245 seconds. 35218.8677110425 sends/sec, 35216.0010510738 recvs/sec. VIRT=159m RES=79m Results for 20000: Sent 2019671 events and received 2019602 in 60.0001540184021 seconds. 33661.096926194 sends/sec, 33659.946929146 recvs/sec. VIRT=317m RES=159m Results for 30000: Sent 2024105 events and received 2024028 in 60.0001850128174 seconds. 33734.9793099406 sends/sec, 33733.6959805644 recvs/sec. VIRT=474m RES=238m Results for 40000: Sent 2111083 events and received 2110998 in 60.0001349449158 seconds. 35184.6375335342 sends/sec, 35183.2208700537 recvs/sec. VIRT=632m RES=318m Results for 50000: Sent 1731952 events and received 1731895 in 60.0001640319824 seconds. 28865.7877514602 sends/sec, 28864.8377540573 recvs/sec. VIRT=789m RES=398m Results for 60000: Sent 1681164 events and received 1681109 in 60.0001289844513 seconds. 28019.3397656806 sends/sec, 28018.4231009845 recvs/sec. VIRT=947m RES=477m Results for 70000: Sent 1592323 events and received 1592263 in 60.0000948905945 seconds. 26538.6746954897 sends/sec, 26537.6746970712 recvs/sec. VIRT=1121m RES=565m Results for 80000: System runs out of memory I get this somewhat surprising result from top. You would expect total memory used to be the sum of the RES column, but it seems closer to the sum of the VIRT column. top - 00:31:12 up 44 min, 4 users, load average: 0.62, 0.65, 0.61 Tasks: 74 total, 5 running, 69 sleeping, 0 stopped, 0 zombie Cpu(s): 11.8%us, 83.6%sy, 0.0%ni, 1.8%id, 2.7%wa, 0.0%hi, 0.0%si, 0.0%st Mem: 2074068k total, 2060464k used, 13604k free, 388k buffers Swap: 2586424k total, 9620k used, 2576804k free, 19188k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 33306 root 25 0 1484m 599m 296 R 72 29.6 0:18.58 threadtest2 33307 root 16 0 351m 349m 1780 R 41 17.2 1:04.57 perl 7041 root 15 0 4128 1924 1460 S 0 0.1 0:00.00 bash 6986 root 15 0 4128 1376 1096 S 0 0.1 0:00.01 bash 5357 root 15 0 4424 1068 568 R 2 0.1 1:54.68 screen