Community discussions

MikroTik App
 
bside
just joined
Topic Author
Posts: 13
Joined: Tue Sep 19, 2006 2:56 pm

QOS for Upload

Tue Sep 19, 2006 4:33 pm

Recently i started using RouterOS 2.9.6, everything is nice, i like the system. Before it i used m0n0wall and smoothwall, they are great, but i needed more functionality.
So, i installed the system and tried to prioritize upload traffic. I have a cable connection with 1000 kbits donwstream and 400 kbits upstream. There was a need to make ICMP traffic first, HTTP second, and p2p the last one.
The rules i made are shown on the picture from WinBox:

Image

But my problem is that UPLOAD traffic shaping rules don't work exactly as i want. I don't need to shape or limit the bandwidth for anyone, i just want to prioritize the traffic. But when i set priority "1" to ICMP and priority "8" to HTTP and start some downloads, i get pings for over 500 ms. Without any downloads i get a normal 10-15 ms ping. The QOS is working, cause when i set http speed to 10 bits, for example, the HTTP download stop and ICMP pings work as they should (10-15 ms).
I don't want to touch the download traffic, cause with other systems i just had to shape upload and everything worked well. And to mention, i'm using WebProxy.

So, what am i doing wrong?
 
cibernet
Long time Member
Long time Member
Posts: 610
Joined: Fri Jan 28, 2005 7:22 pm
Location: Marcos Juárez, Córdoba, Argentina
Contact:

Re: QOS for Upload

Wed Sep 20, 2006 2:33 am

Recently i started using RouterOS 2.9.6, everything is nice, i like the system. Before it i used m0n0wall and smoothwall, they are great, but i needed more functionality.
So, i installed the system and tried to prioritize upload traffic. I have a cable connection with 1000 kbits donwstream and 400 kbits upstream. There was a need to make ICMP traffic first, HTTP second, and p2p the last one.
The rules i made are shown on the picture from WinBox:

Image

But my problem is that UPLOAD traffic shaping rules don't work exactly as i want. I don't need to shape or limit the bandwidth for anyone, i just want to prioritize the traffic. But when i set priority "1" to ICMP and priority "8" to HTTP and start some downloads, i get pings for over 500 ms. Without any downloads i get a normal 10-15 ms ping. The QOS is working, cause when i set http speed to 10 bits, for example, the HTTP download stop and ICMP pings work as they should (10-15 ms).
I don't want to touch the download traffic, cause with other systems i just had to shape upload and everything worked well. And to mention, i'm using WebProxy.

So, what am i doing wrong?
1) Upgrade to the last version of MT 2.9.30.
2) Search: forums, it has been discused before.

Best regards
 
bside
just joined
Topic Author
Posts: 13
Joined: Tue Sep 19, 2006 2:56 pm

Wed Sep 20, 2006 9:45 am

I searched all the forum, but everywhere is discussed a download AND upload limit. I need only upload queue.
The queue works if i set the max-limit for about 1 Kbits. In another way, that packet priority is just being ignored. But the p2p priority works ok, when i start DC++ and see a large amount of upload there (200-300 kbits) the ICMP has a higher priority, so the pings go without any latency (~ 20 ms). And with http downloads (with or without proxy) that take only 20-30 kbits of outgoing bandwidth i can't get normal pings.
Why? What am i doing wrong?

p.s. the new version didn't help
 
bside
just joined
Topic Author
Posts: 13
Joined: Tue Sep 19, 2006 2:56 pm

Thu Sep 21, 2006 12:55 pm

And 1 more addition:
If i change the mangle chains to prerouting, the prioritization starts to work a bit, with http download i get 100 ms pings. But when the http transparent proxy is working, no matter what chain i use, prerouting, postrouting, forward, etc - the traffic gets unprioritized and i get 500+ ms pings.
 
yancho
Member Candidate
Member Candidate
Posts: 207
Joined: Tue Jun 01, 2004 3:04 pm
Location: LV

Thu Sep 21, 2006 1:31 pm

From version 2.8 manual:
Troubleshooting:

The priority setting does not work!

In order to take the priority setting in account, you have to specify limit-at parameter. Otherwise This setting will be ignored or will not work correctly
So try to set limit-at value for all queues.
 
bside
just joined
Topic Author
Posts: 13
Joined: Tue Sep 19, 2006 2:56 pm

Thu Sep 21, 2006 4:40 pm

I changed the chain in firewall mangle to "output" and it started catching proxy packets. I made limit-at values for all my ques.
But still i have 100 ms pings while downloading 1 file and 500 ms with 2 files. It's awful. With m0n0wall i had normal pings always, even if i had 100 downloads at a time, ICMP packets got their prioritization.

Who is online

Users browsing this forum: dschnur, Google [Bot], Maajed, sebus46 and 101 guests