I'm trying to configure QoS policy on test plateform. I have two FTP clients doing file transfert on the same server. I would like to have a different treatment between this two client. One of them would be a gold service whereas the second would have a silver service. The first client would have a better service than the other in case of congestion. So, I used drop precedence : packet from the gold client have a AF11 marking and the silver client have a AF12 marking.
I used CBWFQ as scheduling algorithme and, I allocate 45 percent of the total bandwidth for the AF1 class.
Then, I configure WRED algorithm in order to drop silver_packet before gold packet in case of congestion.
So, I put the max_threshold to 4096 and I put the indivual threshold to AF11 and AF12.
Here is the configuration :
bandwidth percent 45
random-detect dscp 10 2500 4096 5000
random-detect dscp 12 5 20 5000
Then, I performed test. My first test was in optimal use of the network (non-congestion). In this case , each FTP client have the same bandwidth (half of the maximal bandwith)
I do the same test in congestion state, but I obtained the same result, the two FTP client share equally the AF1 allocated bandwidth (45% of the total bandwidth). The two client have the same download speed. So, I can't succeed to offer better service to the gold_user.
The simpliest solution would be to separate the AF11 and AF12 classes and offer more bandwith to the AF11 classes.
But in this case , I don't use WRED algorithm. The DSCP-based WRED haven't been created for this use??!!
Is something can help me about use of WRED