Replies: 1 comment
-
-t指定访问使用的线程数,--max-concurrent-conns指定每个线程上的最大并发连接数,-t设置2,--max-concurrent-conns不设置(默认为1),会启动2个并发连接各发送一个请求。 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
我测试环境的server端是Nginx quic,客户端是tquic_client,因为想测试tquic_client的文件下载和生成,但对下面这几个参数的使用不是很清晰。
Concurrency:
-t, --threads
Number of threads [default: 1]
--max-concurrent-conns
Number of concurrent connections per thread [default: 1]
--max-concurrent-requests
Number of concurrent requests per connection [default: 1]
--max-requests-per-conn
Number of max requests per connection before re-establishment. "0" means infinity mode [default: 1]
--total-requests-per-thread
Total number of requests to send per thread. "0" means infinity mode. Values below number of urls will be considered as number of urls [default: 1]
测试命令:
./tquic_client --threads 1 https://192.168.1.228:8443/download/test.img --dump-dir /download/
#下载速度正常,可达测试环境最大下载速度,下载的文件test.img尺寸和下载速度相符
Beta Was this translation helpful? Give feedback.
All reactions