Testing QoS
You can use the QoS Traffic Generator to test your QoS implementation by generating different types of traffic, at varying rates, with specific characteristics. The following example demonstrates using the QoS Traffic Generator to send UDP traffic to the IP address 10.12.1.1 at a rate of 5 Mbps for 5 seconds.
First, start the QoS Traffic Generator in sink mode on the destination computer.
qostraffic -sink -udp
Then, send traffic using the QoS Traffic Generator from the source computer to the destination computer.
qostraffic -source -udp -dest 10.12.1.1 -throttle 5000000 -duration 5
Parsing command line... WSAStartup successful. Time between each packet (microsec): 2400 Size of each packet: 1472 Statistics sampling interval (msec): 1000 Sending traffic at 5.00 Mbps to 192.168.1.100:9999 Date, Time, Packets received, Bytes received (headers included), Elapsed time (msec), Throughput (Kbps), Bottleneck BW, Available BW, RTT, BBSet, ABSet, RTTSet, ErrorCode 05/15/2009, 10:51:54, 421, 631500, 1014, 4982.249,,,,,,, 05/15/2009, 10:51:55, 422, 633000, 1014, 4994.083,,,,,,, 05/15/2009, 10:51:56, 423, 634500, 1014, 5005.917,,,,,,, 05/15/2009, 10:51:57, 422, 633000, 1014, 4994.083,,,,,,, 05/15/2009, 10:51:58, 423, 634500, 1014, 5005.917,,,,,,, 05/15/2009, 10:51:59, 422, 633000, 1014, 4994.083,,,,,,, 05/15/2009, 10:52:00, 423, 634500, 1014, 5005.917,,,,,,, 05/15/2009, 10:52:01, 422, 633000, 1014, 4994.083,,,,,,, 05/15/2009, 10:52:02, 423, 634500, 1014, 5005.917,,,,,,, Time has elapsed, or CTRL+C has been pressed. Stopping Source traffic, waiting 5 sec. SenderThread is exiting... SenderThread exited successfully. WSACleanup successful.
The sink computer will display confirmation of the datagrams received.
For detailed usage information, run the following command from a command prompt.
qostraffic -?
To download the QoS Traffic Generator, visit http://connect.microsoft.com/wndp and then click the Downloads link. The QoS Traffic Generator includes libraries and source code, allowing developers to integrate the capabilities into custom applications.
In this tutorial:
- Configuring Windows Networking
- Usability Improvements
- Network And Sharing Center
- Network Explorer
- How Windows Finds Network Resources
- How Windows Publishes Network Resources
- How Windows Creates the Network Map
- Network Map
- Set Up A Connection Or Network Wizard
- Manageability Improvements
- Network Location Types
- Policy-Based QoS
- Selecting DSCP Values
- Planning Traffic Throttling
- Configuring QoS Policies
- Configuring System-Wide QoS Settings
- Configuring Advanced QoS Settings
- Testing QoS
- Windows Firewall and IPsec
- Windows Connect Now in Windows 7
- Core Networking Improvements
- Networking BranchCache
- How Hosted Cache Works
- How Distributed Cache Works
- Configuring BranchCache
- BranchCache Protocols
- File Sharing Using SMB
- Web Browsing with HTTP (Including HTTPS)
- DNSsec
- GreenIT
- Efficient Networking
- What Causes Latency, How to Measure It, and How to Control It
- TCP Receive Window Scaling
- Scalable Networking
- Improved Reliability
- IPv6 Support
- 802.1X Network Authentication
- Server Message Block (SMB) 2.0
- Strong Host Model
- Wireless Networking
- Improved APIs
- Network Awareness
- Improved Peer Networking
- Services Used by Peer-to-Peer Networking
- Managing Peer-to-Peer Networking
- Peer-to-Peer Name Resolution
- EAP Host Architecture
- Layered Service Provider (LSP)
- Windows Sockets Direct Path for System Area Networks
- How to Configure Wireless Settings
- Configuring Wireless Settings Manually
- Using Group Policy to Configure Wireless Settings
- How to Configure TCP/IP
- DHCP
- Configuring IP Addresses Manually
- Command Line and Scripts
- How to Connect to AD DS Domains
- How to Connect to a Domain When 802.1X Authentication Is Not Enabled
- How to Connect to a Domain When 802.1X Authentication Is Enabled