quiche icon indicating copy to clipboard operation
quiche copied to clipboard

Conn statistcs--to measure average througput

Open yc1997427 opened this issue 5 years ago • 6 comments

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

yc1997427 avatar Oct 11 '20 00:10 yc1997427

You can just do stats.data_sent divided by whatever time period you want to measure the average over.

LPardue avatar Oct 11 '20 00:10 LPardue

Thanks

yc1997427 avatar Oct 11 '20 01:10 yc1997427

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 avatar Oct 11 '20 02:10 yc1997427

@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 avatar Oct 12 '20 16:10 junhochoi

@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.

yc1997427 avatar Oct 12 '20 16:10 yc1997427

Hi @yc1997427, may I ask how you build the scripts to send a file of a specific size?

alexj0l avatar Jul 31 '22 20:07 alexj0l