Conn statistcs--to measure average througput
Hi, I built the connection on two local servers, client and server are deployed on the same server at seperate network spaces. But when I tested the througput, the transfer speed is quite unstabel, varies from 20000 bps to few hundreds. I'm wondering if the does the conn.stats () API call supports measuring the average throughput of the connection, if not, is there any way to measure the average throughput
You can just do stats.data_sent divided by whatever time period you want to measure the average over.
Thanks
But the issue left is that the througput is too low. When I transfered an small file, the delivery rate is around 40000 bps. But after I changed the file size to 50MB, the delivery rate became few thousands bps. I'm not sure if that's the quiche's performace speed or the statistics I got was wrong
@yc1997427 if you test with a small file the number would be unstable because transferred size and elapsed time is too small, especially when your testing network is very fast. I recommend to test with bigger file.
@junhochoi Thank you very much, our network is pretty fast, we are using 10G interfaces. I tired with 50mb, it takes 4-5 seconds to deliver, and the delivery rate is rather low, just a few thousand bps. I'll try much bigger files this time.
Hi @yc1997427, may I ask how you build the scripts to send a file of a specific size?