The QoS by Microsoft have a limitation for how many connections that can work?
I'm using the sample of Microsoft on github
What I'm doing here it's to compile. Run the program sending packets to any computer on my network with some bitrate. The define
BURSTS_PER_SECOND
it's setted to 1000 and the DATAGRAM_SIZE
setted to 150 * 150
// Size of the data part of each datagram that is exchanged between the
// client and the server. This does not count the IP and UDP header.
#define DATAGRAM_SIZE 150 * 150
// Number of bursts we are aiming for per second
#define BURSTS_PER_SECOND 1
When I run one program, I can see:
3 | 540000 | N/A | N/A |
3 | 540000 | N/A | N/A |
3 | 540000 | N/A | N/A |
3 | 540000 | N/A | N/A |
3 | 540000 | N/A | N/A |
3 | 540000 | N/A | N/A |
3 | 540000 | N/A | N/A |
3 | 540000 | N/A | N/A |
As you can see, the bitrate it's always constant and the number of packets too. When I open the second instance sending the same data with same parameters, everything works fine.
But when I open one more, I can see:
3 | 540000 | N/A | N/A |
0 | 0 | N/A | N/A |
3 | 540000 | N/A | N/A |
3 | 540000 | N/A | N/A |
3 | 540000 | N/A | N/A |
0 | 0 | N/A | N/A |
3 | 540000 | N/A | N/A |
3 | 540000 | N/A | N/A |
Sometimes I get 3 packets sended in one second and other 0 packets. The burst time it's setted to 1 second but with 3 instances (three different processes) the time grows to 1500ms. And every new instance will make the problem more intensive. And when I close all instances letting just two or one, everything runs well as before.
My issue here is: Windows have some limitation with QoS? Why I can't open 3 instance of QoS? My network it's not busy (i'm sending small data).
I'm doing something wrong?