Commit Graph

15 Commits

Author SHA1 Message Date
Aaro Altonen e77dde544d Add missing my keyword to generic receiver 2020-04-29 13:39:16 +03:00
Aaro Altonen 8fdc0193ec Parse netcat output in benchmark.pl 2020-04-23 12:53:52 +03:00
Aaro Altonen a9fd4206ed Clamp the FPS to more sensical values 2020-04-23 12:30:27 +03:00
Aaro Altonen 127108fafa Create generic receiver for the benchmarking
To test the maximum raw throughput of sender, netcat can be used
to capture the stream which does not care about late frames or
FPS values.
2020-04-23 11:19:46 +03:00
Aaro Altonen 3f97fc28f0 Clamp FPS values to range 0.9375 - 960
This is the range where it's possible to reach sensical send/recv goodputs.
Going lower than 0.9375 doesn't even make sense and going higher than 960
will probably result in 90% of frames being dropped because
nobody can packetize and send 4K stream that fast.
2020-04-23 11:19:46 +03:00
Aaro Altonen 7e143288ae Add ability to pass remote address to benchmark code 2020-04-23 11:19:46 +03:00
Aaro Altonen 29bf2197fb Convert the benchmark setup to FPS-based 2020-04-23 11:19:46 +03:00
Aaro Altonen 1a33361927 Pass the correct amount of sleep for the program 2020-04-23 11:19:46 +03:00
Aaro Altonen f87c3b0e06 Add missing variable 2020-04-23 11:19:46 +03:00
Aaro Altonen 83eade2dee Use correct variable for the server address 2020-04-23 11:19:46 +03:00
Aaro Altonen 671165a6f7 Fix the start/end loop in benchmark.pl
Not sure what happened but the script did not execute all rounds
but stopped very soon after iterations
2020-04-23 11:19:46 +03:00
Aaro Altonen e2268b92b2 Improve the benchmarking script
Now the benchmarking script can run different amount of threads
with different FPS values autonomously
2020-04-23 11:19:46 +03:00
Aaro Altonen dac783126b Fix benchmark script's server socket creation 2020-04-23 11:19:46 +03:00
Aaro Altonen 8e95f0304a Add ability to provide output file for the benchmarking results 2020-03-27 12:06:13 +02:00
Aaro Altonen 223503ab16 Create script for running the benchmarks 2020-03-26 12:24:24 +02:00