To run a multipath extension over the quicperf protocol in the picoquic implementation, you need to structure a command that specifies the scenario for the multipath testing. Here’s how to do it based on the information provided in the repository files.
Steps to Structure the Command
-
Understand the QUIC perf Protocol and Multipath Extension: The quicperf protocol allows you to define various streaming scenarios, including media streams and datagrams, while the multipath extension allows you to send data over multiple paths simultaneously.
-
Scenario Definition: The scenario for running multipath tests using the quicperf protocol consists of defining multiple streams with specific parameters like frame size, number of frames, and their respective frequencies.
-
Command Structure: Use the picoquicdemo tool to run the command. The general format for running the quicperf protocol is:
.\picoquicdemo -a perf <server_address> <port> "<scenario_description>"
Here, <scenario_description> should include your multipath scenario formatted according to the quicperf protocol syntax.
Example Command for Running Multipath
Assuming you want to run a multipath scenario that includes audio and video streams, your command might look something like this:
.\picoquicdemo -a perf test.privateoctopus.com 4433 "=a1:d50:p2:S:n250:80; =vlow:s30:p4:S:n150:3750:G30:I37500; =vmid:s30:p6:S:n150:6250:G30:I62500:D250000;"
Breakdown of the Example Command
-a perf: This option specifies that you want to use the quicperf protocol.
test.privateoctopus.com: This is the server address you are connecting to.
4433: This is the port number on which the server is listening.
- The scenario description contains multiple streams:
=a1:d50:p2:S:n250:80;: This describes an audio datagram stream with specific parameters.
=vlow:s30:p4:S:n150:3750:G30:I37500;: This describes a low-priority video stream.
=vmid:s30:p6:S:n150:6250:G30:I62500:D250000;: This describes a medium-priority video stream with a reset delay.
Notes
- Ensure that you adjust the
server_address, port, and scenario_description according to your specific test environment and requirements.
- You can further customize the parameters in the scenario description to fit your specific testing needs, including adjusting the number of frames, frame sizes, and other characteristics of the streams based on the definitions provided in the
quicperf.md documentation.
By following these instructions, you should be able to effectively structure a command to run a multipath extension over the quicperf protocol in the picoquic environment.