Open kapilvk opened 2 years ago
What do you mean by "unable"? Does it show errors or results get inaccurate?
Which platform do you use? If UNIX-like, what does ulimit -n
say?
I use Ubuntu. The ulimit value is 1048576.
So what do you mean by "unable to test"?
once I connect more than 150 users using -f, I get a 437 error. timeout.
For me it works for more than 150 users:
$ turnhammer -j 200 $TURNIP:3478 $TURNUSER $TURNPASSWD
The test would do approx 2.240 Mbit/s and consume 1.244 megabytes of traffic
My external address: 46.53.246.252:18128
Allocated 200 TURN clients
Received the first datagram
Received 5000 packets from 5000 window of total 5000 || Loss: 00.0000% bad loss: 00.0000%
RTT4 brackets: 0-49ms: 00.0000% 180-399ms: 100.0000% 1000-1999ms: 00.0000%
50-179ms: 00.0000% 400-999ms: 00.0000% 2000+ms: 00.0000%
<<< Overall score: 9.5 / 10.0 >>>
Stopping TURN clients
Note that this tool is not super-optimised and you need multiple instances of turnhammer nodes (or a bigger node) to load-test a single TURN server. I expect CPU load to be slightly more on turnhammer than on server. If CPU of network resources are saturated on turnhammer side then benchmark results get inaccurate.
I tested using this cmd cargo run $IP:3478 $USERNAME $PASSWORD -j 40 -s 50 --video
Also was getting turnhammer: command not found when I tried to use your command.
Have you tried
cargo run --release -- $IP:3478 $USERNAME $PASSWORD -j 40 -s 50 --video?
I am unable to test my turn server for more than 40 parallel connections.