We all know Linux is faster than Windows, so I presume the Repeater Linux version is faster than the windows one.
What's more interesting is that I noticed the both of them have a connection limitation settings:
For windows, its max connection list is 20, while Linux can be [1...1000].
I'm wandering why there is such a limitation, so I conducted several strength tests.
Before the test, I have changed Ubuntu ulimit -n from 1024 to 20K and also the repeater max session value to 15K in the source code.
I wrote a demo program(A), acting as repeating, which average sending 45kbps to the Repeater, which is running on Ubuntu(Desktop 10.04).
There is also a simple program(B), acting as normal connections, in other words, just do the TCP hand-sharks.
Both A and B are based on socket connections.
Is there exist any bottle nack, somewhere in the Ubuntu OS, PC's hardware or the Repeater application?I running 20 A instance and keep creating new B instance at the same time.
As the time going, Repeater would stop when it receiving 3000 (range from 3000 to 3200 ) connections from B.
The totle network bandwidth is 0.8Mbps.
Another group test details: average sending 16kbps, the totle network bandwidth 0.3Mbps. Repeater still stop at 3127.
The CPU usage is around 14% to 50% and I still have extra memory.
thanks