Is (( PRIORITY )) Really working ???

Please anyone has a success story with PRIORITY let us know ..
it’s very important for QoS , only if its WORKING !!!

for me , it’s not ..
the point is to make a good QoS , giving browsing a higher priority than the downloading traffic ..
by using examples written here at this foeum and wiki , which gives the ( small size ) connections the highest priority , its not working !!!

example :

giving a Max 512k download , when downloading files which get all the 512k and try to browse , priority MUST let the new browsing ( small size ) connection process first , so browsing must not be effected , download traffic ( large size ) connection should be effected and let the new connection process ..that is what should happened , as many ISP’s do , but with MT priority its not !!!

did you read, what ‘PRIORITY’ is? =) see documentation

Well , if you have a new definition to the word ( Priority ) please let us know ..

in MT doc. :
Priority - the order of importance in what traffic will be processed. You can give priority to
some traffic in order it to be handeled before some other traffic

let us take some of Priority definitions here :

Wikipedia: priority
Priority level, the priority of emergency communications
Priority signs, a traffic sign that specifies which route has the right of way
Priority date, a concept of establishing waiting times in the immigration process by United States Department of State … lol

Computer Desktop Encyclopedia: priority
A particular order, or sequence, in which things take place (items processed, users served, etc.). A priority is based on a predetermined assignment of value, or importance, to different types of events and people.

Translations: Translations for: Priority
Dansk (Danish)
n. - fortrinsret, prioritet
Nederlands (Dutch)
prioriteit, voorrang
Français (French)
n. - priorité
Deutsch (German)
n. - Priorität, Vorrang, vordringliche Angelegenheit
Ελληνική (Greek)
n. - προτεραιότητα
Italiano (Italian)
precedenza, priorità
Português (Portuguese)
n. - prioridade (f)
Русский (Russian)
приоритет
Español (Spanish)
n. - prioridad, anterioridad
Svenska (Swedish)
n. - prioritet, företräde(srätt)
中文(简体) (Chinese (Simplified))
先, 优先, 前
中文(繁體) (Chinese (Traditional))
n. - 先, 優先, 前
한국어 (Korean)
n. - 앞[먼저] 임

Quotes About: Priorities
“It is the mark of great people to treat trifles as trifles and important matters as important.” - Doris Lessing

these are enough examples that let us believe that priority in router means that higher priority traffics go / process / run FIRST , the lower will come later …and that what i dont see in MT …

did you tried to read whole page, not just the beginning? =)

priority > - order in which classes are served > at the same level

and lower:

Priorities
When there is a possibility to send out a packet, HTB queries all its self slots in order of priority, starting with highest priority on the lowest level, till lowest priority on highest level. Each leaf class (packets are stored and enqueued only within qdiscs attached to each leaf class) is ultimately connected to a certain self slot, either directly or through a chain of parent classes:

As you can see from the picture, leaf-classes that are in the green state will always have a higher effective priority than those that are yellow (and, thus, borrowing their rate from parent classes), because their priority is at a lower level (level 0). In this picture, > Leaf1 > will be served only after > Leaf2> , although it has a higher priority (priority 7) than > Leaf1 > (priority > :sunglasses:> .

In case of equal priorities and equal states, HTB serves these classes, using round robin algorithm.

Ok , any REAL WORLD successfull running stories using Router OS done by the theoritical words above ?

cause nothing i tried is giving a real QoS , in fact any QoS that letting new connection handeled before the old connections of a continues downloading ..
all kind of Q sfq , pcq , …
marking the small connection size and the large ones …Priority…

nothing shows any successful result ..

I need to let the same client ( same IP ) has a QoS , so if he is downloading and reaching his MAX download rate and start a browsing at the same time then browse wont be effected by his max download , the Q should lower his running download connection letting the new connection to be processed ..

hehe, that’s sad but it’s true.

Can we atleast see a configuration? I have no problems with QoS in mikrotik

So at this point it looks like “Problem exists between keyboard and chair” :slight_smile: (no offense)

macgaiver , are you really doing a real QoS ?
maybe you dont have a problem cause you are just putting rules without seeing the results !!!
can you give us a single example of your successfull QoS ?

I made a thread asking the same thing, and I didn’t get any answer, seems and this is for sure that there is no priority on the Mikrotik for incoming packets and ports if you want to use the whole incoming bandwidth.

People should warn other people that if you need the qos you should avoid Mikrotik.

For now we know that Mikrotik could work in quasi qos environment only if you put hard limit for the max transfer rate on child’s which is lower than parent max transfer rate , but that’s the pure waste of the bandwidth.

If you want to download with the max speed and if you dont want to waste any transfer than mikrotik has no solution for you and me.

Maybe there are some scripts or ways which are in some heads, but for the now, there is no manual, stories or ways for that> Everyone who could said “it can shape incoming bandwidth” is liar, because if that’s the truth and if that’s the thing that you know in your head, we dont have any value for, and by pure math its a lie. Till someone state the operative qos with operative priorities which could use max bandwidth and which could give ultra fast response and transfer for high priority ports
I could say ITS a lie.


Mikrotik is bad for the qos.
Its not match for the master shaper or some other free shapers.

Maybe in the early days of the Internet qos on the far end wasn’t the priority for customers, but this days outgoing qos is not important as a incoming qos and seems that Mikrotik cant compete with the trends.

Its a same story like multilink over two pppoe adsl, and on the end we found that that’s in fact not possible on mikrotik, but 2 years we were lied, ok Mikrotik seems fixed that, and seems now its possible.

qos isn’t supposed to be done on the inbound packets! if you are routing them, then qos them on the interface they are leaving your router from. think about it, how are you going to reorder packets / queue packets on the way in when you have no control over who’s sending them to you.

Ok now we getting something, that in fact inbound qos doesn’t exist on mikrotik and that talking about it is just the marketing trick.

Listen just this second I’m thinking about 10 ways, lets just spoke about few.
For example we have 10mbit incoming link, we want to prioritized the incoming traffic, and we want to give the port 80 and 443 the ultra high priority and for the other ports we want to set lower priorities. Like for example some passive ports for ftp or 119 for nntp we want to give them the ultra low priority.

We want that we could have ultra fast browsing same like we dont use any other data transfer beside port 80 , but in fact we should have inbound on lower priorities as much as its needed for the ultra low ping and reply’s for the ultra high priorities.
As I see Dlink is doing that and Linksys on the newest devices, Cisco is doing that, and god knows who else.

  1. If you have full transfer on low ports and you request first high priority packet from port 80, lower the speed of low priority port in steps each second more, till you get the lowest ping time.
    Setting the steps will be god idea, like step one lower 10%, step two lower 20%, step 3 lower 30% and so on, the moment the high demand on the high priority port stops, the script could step up the speed back to normal for the lower priority ports.
    Its same like making the max limit for the ports just in more steps. One max level for the child is stupid and its a waste of bandwidth, this is the old fashion and should be banned.
    It was used for oversellers.

  2. Second example could drop packets on the lower priority ports till the higher priority ports doesn’t get low ping and we dont get the good transfer response for the high priority ports. Drop the packets and request the same again till the high ports demands are over.
    … …

There are ways someone just needs to think clever way.

Even Windows have the tool which could fight with this issue, its cfosspeed, and it will do just what I explained, it monitors the ping with their main site, and based on ping, reply’s it will lower the speed on the inbound lower ports, to give higher priority ports better response and transfer rate.

And when I’m seeing that Mikrotik doesn’t have solution for this issue my eyes got full of blood.

ping (icmp) is a simple test. You could be seeing 1000ms ping times or timeouts and it doesn’t always mean the path is slow. For a router to generate packets it is way more overhead that simply routing them.

With that solution it is still based on changing outbound packets, not inbound. Why not just give your specific (voip?) outbound traffic higher priority all the time?

I think macgaiver was onto something … post your rules.

From your first few posts it sounds like you want a way to give less priority to longer running connections. Since downloading and browsing is the same thing you need a way to determine what you really want to give less priority to. Maybe based on bursts, or mime types, or something else.

cfosspeed is doing the perfect shaping on the windows, they found the solution.

Yes but based on outbound it knows when to react.
I get terrible surfing speed when I got the full download (when I say download I mean other port than port 80, like Usenet download, ftp download, or similar ) I get way better surfing speed with ultra cheap routers like TP link, or Planet or us Robotics, or Netgear.

Yes of course the lower priority download is 24/7 which means all the time, full bandwidth used, or like 99,8% average usage of the bandwidth.
And yes its longer running connections and its 10 bots each taking one connection which means that even one http connection on port 80 has to fight with 10 or 100 lower priority port which were the “longer running connections”.
And idea is that if that one http connection needs 1kb/s or 100kb/s or even 500kb/s that it must have the full amount as ever it needs with ultra fast ping.

And I’m getting the worst possible surfing with full download on the lower priority ports on the full download, which isn’t normal. I would say its a criminal results but I’m too angry and I would like to sustain my words.

Maybe the problem is because the uplink is just 192kbit/s and Mikrotik cant work with such low speed with the good results, I have good downlink but low uplink.
But with cheap routers I get solid results.

Sorry on typos I’m to tired from reading the forum and I’m too angry, I need to sleep, sorry again.

there is no difference in port between browsing , latge file download and a small file download , they all are using port 80 ( of course i’m talking about http download )!!! and this is what i was talking about ..
if we have 10Mbps total download speed , and its all filled with downloading large files by different users , when a user tried to browse a small size site , then the user will not find the available bandwidth to browse , ((( page cannot be displayed ))) will shine infront of his eyes , or in the BEST conditions he will take a nap before the page will be downloaded !!!
how can MT recognize this ? how can it tell this is a user , he needs just to browse this small page let those giants traffic to slow down a little bit .. WHAT IS MT PRIORITY DOING ??
some falks in this forum ( previous topics ) tried to differintiate between these two types of traffics by thier connection size , which i found it not working good most of the time , may be there is somthing is missing here which is the connection time , so we may consider not only the size of connection , but the active duration of the connection too .. the longest duration large size connection should be slower than the new connections ..

its somthing like burst , but would the burst work if the total download has been filled ?

In my case I’m downloading the big files from the port 119 and from some passive ports from the range 51000-55000.
Port 80 is used for surfing the small packages, but sometimes I have some big file from the port 80.

Priority is RouterOS is a customizable solution, its not geared to any one scenario. I use priority alot espically for things like VOIP, gaming, and streaming traffic.

For simplicity any time I mention HTTP traffic I am referring to port 80 traffic.

I don’t attempt to differeniate between Website HTTP traffic and download HTTP traffic as I have no need to at this time. I can however see how this could be useful.

As a few contributors mentioned above basing the Web HTTP traffic on packet size will be unreliable. I have not tested the following theory and don’t have time to but maybe others can try and feed back their findings.

I believe that if you make a couple mangle rules for HTTP traffic you may be able to do what you want. When a customer goes to a website many new TCP connections are created, you could prioritize the new connections differently from established connections. I will admit that its not perfect as the web site data doesn’t come till after the TCP is in an established state but on a stressed link I believe that you should see fairly resonable increases in website load times. Once the TCP connections are in an established state ideally you would see all established connections sharing the available bandwidth. If you don’t do this you may get page cannot be found becuase it was never even able to reach that state.

Don’t forget that prioritizing outbound requests is also just as important, if not more.

Cheers

so , giving the new connection higher priority will not help at all ..
there is no solution yet ..

for all we know you havent even configured it right. Mikrotik QoS works as it should, its up to you to customize it for what you need. Post your configs if you want help.