Community discussions

MikroTik App
 
dot-bot
Member Candidate
Member Candidate
Topic Author
Posts: 164
Joined: Tue Oct 11, 2005 7:05 pm

Does Queue processing (QoS, PCQ, HTB, etc.) depend on ISP?!!

Sat Dec 06, 2008 12:45 pm

Hi. I am trying to save myself from the MikroTik paranoia here. I love MikroTik.

This is an important topic for the hardcore old-school all-knowing network pros. They must help here.

Many efforts have been made to prioritize packets. But what if our ISP has MikroTik as well and prioritizes packets as well? How will this affect our results on our end? My guess is - we will see poor/different results and start to think it does not work.

Why is this? What is the IP theory behind this? What can we do to avoid this? What can we do to detect this? What would be the best practice in this case?

Question for MikroTik support: do you have cases when priority was not working as expected for clients? What were the circumstances around these cases? How did you solve it, what were your conclusions?

Thank to all who help save us all from the paranoia. Thank you.
 
User avatar
jwcn
Forum Guru
Forum Guru
Posts: 1495
Joined: Sun Aug 27, 2006 6:49 am
Location: Maryland, USA
Contact:

Re: Does Queue processing (QoS, PCQ, HTB, etc.) depend on ISP?!!

Sat Dec 06, 2008 11:33 pm

I have become increasingly unhappy with the conventional QoS provided by Mikrotik. HOWEVER, I implemented the L7 QoS as given in the Wiki last night and the difference has been incredible.

Encourage your ISP to try out using L7 QoS and do so the same. I think you will be pleasantly surprised.
 
dot-bot
Member Candidate
Member Candidate
Topic Author
Posts: 164
Joined: Tue Oct 11, 2005 7:05 pm

Re: Does Queue processing (QoS, PCQ, HTB, etc.) depend on ISP?!!

Sun Dec 07, 2008 2:36 pm

In case of PCQ: problem is PCQ works when bandwidth (max-limit) is lowered less than what our ISP has to offer. They sell me 20Mbit, p2p downloads at 27Mbit, PCQ max-limit works at 19Mbit.

Any comments on the subject?
 
rarbolay
Frequent Visitor
Frequent Visitor
Posts: 99
Joined: Mon Aug 20, 2007 6:36 pm

Re: Does Queue processing (QoS, PCQ, HTB, etc.) depend on ISP?!!

Mon Dec 08, 2008 1:43 am

Would love to try it but Im having a maalox moment here. Whenever I console or terminal into my router and try to copy and paste the commands from the wiki it fails. As an example:
I type
ip firewall layer-7 protocol

>ip firewall layer=7 protocol
(and I try to paste the commands from the wiki, example:)

>ip firewall layer=7 protocol
add comment:"" name:whatever regexp:"wow"
what I actually get is

>ip firewall layer=7 protocol
add d comment:"" name:whatever regexp:"wow"
invalid entry
It is auto completing. How do I turn this off???? Please
 
User avatar
jwcn
Forum Guru
Forum Guru
Posts: 1495
Joined: Sun Aug 27, 2006 6:49 am
Location: Maryland, USA
Contact:

Re: Does Queue processing (QoS, PCQ, HTB, etc.) depend on ISP?!!

Mon Dec 08, 2008 4:12 am

1. Delete any layer 7 rules that are there now.

2. Paste as following: do not type anything in, just paste:

ip firewall layer7-protocol
add comment="" name=edonkey regexp="^[\C5\D4\E3-\E5].\?.\?.\?.\?([\01\02\05\14\
\15\16\18\19\1A\1B\1C !234568@ABCFGHIJKLMNOPQRSTUVWX[`\81\82\90\91\93\96\
\97\98\99\9A\9B\9C\9E\A0\A1\A2\A3\A4]|Y................\?[ -~]|\96....\$)"
add comment="" name=goboogy regexp="<peerplat>|^get /getfilebyhash\\.cgi\\\?|^\
get /queue_register\\.cgi\\\?|^get /getupdowninfo\\.cgi\\\?"
add comment="" name=soribada regexp="^GETMP3\r\
\nFilename|^\01.\?.\?.\?(Q:\\+|Q2:)|^\10[\14-\16]\10[\15-\17].\?.\?.\?.\?\
\$"
add comment="" name=rdp regexp=rdpdr.*cliprdr.*rdpsnd
add comment="" name=gnutella regexp="^(gnd[\01\02]\?.\?.\?\01|gnutella connect\
/[012]\\.[0-9]\r\
\n|get /uri-res/n2r\\\?urn:sha1:|get /.*user-agent: (gtk-gnutella|bearshar\
e|mactella|gnucleus|gnotella|limewire|imesh)|get /.*content-type: applicat\
ion/x-gnutella-packets|giv [0-9]*:[0-9a-f]*/|queue [0-9a-f]* [1-9][0-9]\?[\
0-9]\?\\.[1-9][0-9]\?[0-9]\?\\.[1-9][0-9]\?[0-9]\?\\.[1-9][0-9]\?[0-9]\?:[\
1-9][0-9]\?[0-9]\?[0-9]\?|gnutella.*content-type: application/x-gnutella|.\
..................\?lime)"
add comment="" name=cvs regexp="^BEGIN (AUTH|VERIFICATION|GSSAPI) REQUEST\
\n"
add comment="" name=nbns regexp="\01\10\01|\\)\10\01\01|0\10\01"
add comment="" name=shoutcast regexp=\
"icy [1-5][0-9][0-9] [\t-\r -~]*(content-type:audio|icy-)"
add comment="" name=dns regexp="^.\?.\?.\?.\?[\01\02].\?.\?.\?.\?.\?.\?[\01-\?\
][a-z0-9][\01-\?a-z]*[\02-\06][a-z][a-z][fglmoprstuvz]\?[aeop]\?(um)\?[\01\
-\10\1C][\01\03\04\FF]"
add comment="" name=quake-halflife regexp="^\FF\FF\FF\FFget(info|challenge)"
add comment="" name=poco regexp="^\80\94\
\n\01....\1F\9E"
add comment="" name=ciscovpn regexp="^\01\F4\01\F4"
add comment="" name=x11 regexp="^[lb].\?\0B"
add comment="" name=xboxlive regexp="^X\80........\F3|^\06XN"
add comment="" name=applejuice regexp="^ajprot\r\
\n"
add comment="" name=zmaap regexp="^\1B\D7;H[\01\02]\01\?\01"
add comment="" name=live365 regexp=membername.*session.*player
add comment="" name=rlogin regexp=\
"^[a-z][a-z0-9][a-z0-9]+/[1-9][0-9]\?[0-9]\?[0-9]\?00"
add comment="" name=http regexp="http/(0\\.9|1\\.0|1\\.1) [1-5][0-9][0-9] [\t-\
\r -~]*(connection:|content-type:|content-length:|date:)|post [\t-\r -~]* \
http/[01]\\.[019]"
add comment="" name=sip regexp=\
"^(invite|register|cancel) sip[\t-\r -~]*sip/[0-2]\\.[0-9]"
add comment="" name=pop3 regexp="^(\\+ok |-err )"
add comment="" name=smb regexp="\FFsmb[r%]"
add comment="" name=quake1 regexp="^\80\0C\01quake\03"
add comment="" name=lpd regexp="^(\01[!-~]+|\02[!-~]+\
\n.[\01\02\03][\01-\
\n -~]*|[\03\04][!-~]+[\t-\r]+[a-z][\t-\r -~]*|\05[!-~]+[\t-\r]+([a-z][!-~\
]*[\t-\r]+[1-9][0-9]\?[0-9]\?|root[\t-\r]+[!-~]+).*)\
\n\$"
add comment="" name=mute regexp=\
"^(Public|AES)Key: [0-9a-f]*\
\nEnd(Public|AES)Key\
\n\$"
add comment="" name=ssh regexp="^ssh-[12]\\.[0-9]"
add comment="" name=jabber regexp=\
"<stream:stream[\t-\r ][ -~]*[\t-\r ]xmlns=['\"]jabber"
add comment="" name=bittorrent regexp="^(\13bittorrent protocol|azver\01\$|get\
/scrape\\\?info_hash=)|d1:ad2:id20:|\08'7P\\)[RP]"
add comment="" name=ncp regexp="^(dmdt.*\01.*(\"\"|\11\11|uu)|tncp.*33)"
add comment="" name=tls regexp=\
"^(.\?.\?\16\03.*\16\03|.\?.\?\01\03\01\?.*\0B)"
add comment="" name=directconnect regexp="^(\\\$mynick |\\\$lock |\\\$key )"
add comment="" name=netbios regexp="\81.\?.\?.[A-P][A-P][A-P][A-P][A-P][A-P][A\
-P][A-P][A-P][A-P][A-P][A-P][A-P][A-P][A-P][A-P][A-P][A-P][A-P][A-P][A-P][\
A-P][A-P][A-P][A-P][A-P][A-P][A-P][A-P][A-P][A-P][A-P][A-P][A-P][A-P][A-P]\
[A-P][A-P][A-P][A-P]"
add comment="" name=tftp regexp="^(\01|\02)[ -~]*(netascii|octet|mail)"
add comment="" name=subspace regexp="^\01....\11\10........\01\$"
add comment="" name=hotline regexp="^....................TRTPHOTL\01\02"
add comment="" name=doom3 regexp="^\FF\FFchallenge"
add comment="" name=ftp regexp="^220[\t-\r -~]*ftp"
add comment="" name=kugoo regexp="^1..\8E"
add comment="" name=tsp regexp=\
"^[\01-\13\16-\$]\01.\?.\?.\?.\?.\?.\?.\?.\?.\?.\?[ -~]+"
add comment="" name=battlefield1942 regexp="^\01\11\10\\|\F8\02\10@\06"
add comment="" name=ssdp regexp="^notify[\t-\r ]\\*[\t-\r ]http/1\\.1[\t-\r -~\
]*ssdp:(alive|byebye)|^m-search[\t-\r ]\\*[\t-\r ]http/1\\.1[\t-\r -~]*ssd\
p:discover"
add comment="" name=imap regexp="^(\\* ok|a[0-9]+ noop)"
add comment="" name=ares regexp="^\03[]Z].\?.\?\05\$"
add comment="" name=fasttrack regexp="^get (/.download/[ -~]*|/.supernode[ -~]\
|/.status[ -~]|/.network[ -~]*|/.files|/.hash=[0-9a-f]*/[ -~]*) http/1.1|u\
ser-agent: kazaa|x-kazaa(-username|-network|-ip|-supernodeip|-xferid|-xfer\
uid|tag)|^give [0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]\?[0-9]\?[0-9]\?"
add comment="" name=qq regexp="^.\?\02.+\03\$"
add comment="" name=100bao regexp="^\01\01\05\
\n"
add comment="" name=aim regexp=\
"^(\\*[\01\02].*\03\0B|\\*\01.\?.\?.\?.\?\01)|flapon|toc_signon.*0x"
add comment="" name=unknown regexp=.
add comment="" name=msn-filetransfer regexp=\
"^(ver [ -~]*msnftp\r\
\nver msnftp\r\
\nusr|method msnmsgr:)"
add comment="" name=yahoo regexp=\
"^(ymsg|ypns|yhoo).\?.\?.\?.\?.\?.\?.\?[lwt].*\C0\80"
add comment="" name=validcertssl regexp="^(.\?.\?\16\03.*\16\03|.\?.\?\01\03\
\01\?.*\0B).*(thawte|equifax secure|rsa data security, inc|verisign, inc|g\
te cybertrust root|entrust\\.net limited)"
add comment="" name=ntp regexp="^([\13\1B#\D3\DB\E3]|[\14\1C\$].......\?.\?.\?\
.\?.\?.\?.\?.\?.\?[\C6-\FF])"
add comment="" name=gnucleuslan regexp=\
"gnuclear connect/[\t-\r -~]*user-agent: gnucleus [\t-\r -~]*lan:"
add comment="" name=vnc regexp="^rfb 00[1-9]\\.00[0-9]\
\n\$"
add comment="" name=bgp regexp=\
"^\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF..\?\01[\03\04]"
add comment="" name=tesla regexp="\03\9A\89\"111\\.00 Beta |\E2<i\1E\1C\E9"
add comment="" name=openft regexp="x-openftalias: [-)(0-9a-z ~.]"
add comment="" name=h323 regexp=\
"^\03..\?\08...\?.\?.\?.\?.\?.\?.\?.\?.\?.\?.\?.\?.\?.\?.\?\05"
add comment="" name=finger regexp=\
"^[a-z][a-z0-9\\-_]+|login: [\t-\r -~]* name: [\t-\r -~]* Directory:"
add comment="" name=ident regexp="^[1-9][0-9]\?[0-9]\?[0-9]\?[0-9]\?[\t-\r]*,[\
\t-\r]*[1-9][0-9]\?[0-9]\?[0-9]\?[0-9]\?(\r\
\n|[\r\
\n])\?\$"
add comment="" name=gkrellm regexp="^gkrellm [23].[0-9].[0-9]\
\n\$"
add comment="" name=hddtemp regexp=\
"^\\|/dev/[a-z][a-z][a-z]\\|[0-9a-z]*\\|[0-9][0-9]\\|[cfk]\\|"
add comment="" name=socks regexp="\05[\01-\08]*\05[\01-\08]\?.*\05[\01-\03][\
\01\03].*\05[\01-\08]\?[\01\03]"
add comment="" name=biff regexp="^[a-z][a-z0-9]+@[1-9][0-9]+\$"
add comment="" name=dhcp regexp="^[\01\02][\01- ]\06.*c\82sc"
add comment="" name=smtp regexp="^220[\t-\r -~]* (e\?smtp|simple mail)"
add comment="" name=ipp regexp=ipp://
add comment="" name=msnmessenger regexp="ver [0-9]+ msnp[1-9][0-9]\? [\t-\r -~\
]*cvr0\r\
\n\$|usr 1 [!-~]+ [0-9. ]+\r\
\n\$|ans 1 [!-~]+ [0-9. ]+\r\
\n\$"
add comment="" name=irc regexp="^(nick[\t-\r -~]*user[\t-\r -~]*:|user[\t-\r -\
~]*:[\02-\r -~]*nick[\t-\r -~]*\r\
\n)"
add comment="" name=gopher regexp="^[\t-\r]*[1-9,+tgi][\t-\r -~]*\t[\t-\r -~]*\
\t[a-z0-9.]*\\.[a-z][a-z].\?.\?\t[1-9]"
add comment="" name=telnet regexp="^\FF[\FB-\FE].\FF[\FB-\FE].\FF[\FB-\FE]"
add comment="" name=snmp regexp="^\02\01\04.+([\A0-\A3]\02[\01-\04].\?.\?.\?.\
\?\02\01.\?\02\01.\?0|\A4\06.+@\04.\?.\?.\?.\?\02\01.\?\02\01.\?C)"
add comment="" name=nntp regexp=\
"^(20[01][\t-\r -~]*AUTHINFO USER|20[01][\t-\r -~]*news)"
add comment="" name=aimwebcontent regexp=user-agent:aim/
add comment="" name=rtsp regexp="rtsp/1.0 200 ok"
add comment="" name=skypeout regexp="^(\01.\?.\?.\?.\?.\?.\?.\?.\?\01|\02.\?.\
\?.\?.\?.\?.\?.\?.\?\02|\03.\?.\?.\?.\?.\?.\?.\?.\?\03|\04.\?.\?.\?.\?.\?.\
\?.\?.\?\04|\05.\?.\?.\?.\?.\?.\?.\?.\?\05|\06.\?.\?.\?.\?.\?.\?.\?.\?\06|\
\07.\?.\?.\?.\?.\?.\?.\?.\?\07|\08.\?.\?.\?.\?.\?.\?.\?.\?\08|\t.\?.\?.\?.\
\?.\?.\?.\?.\?\t|\
\n.\?.\?.\?.\?.\?.\?.\?.\?\
\n|\0B.\?.\?.\?.\?.\?.\?.\?.\?\0B|\0C.\?.\?.\?.\?.\?.\?.\?.\?\0C|\r.\?.\?.\
\?.\?.\?.\?.\?.\?\r|\0E.\?.\?.\?.\?.\?.\?.\?.\?\0E|\0F.\?.\?.\?.\?.\?.\?.\
\?.\?\0F|\10.\?.\?.\?.\?.\?.\?.\?.\?\10|\11.\?.\?.\?.\?.\?.\?.\?.\?\11|\12\
.\?.\?.\?.\?.\?.\?.\?.\?\12|\13.\?.\?.\?.\?.\?.\?.\?.\?\13|\14.\?.\?.\?.\?\
.\?.\?.\?.\?\14|\15.\?.\?.\?.\?.\?.\?.\?.\?\15|\16.\?.\?.\?.\?.\?.\?.\?.\?\
\16|\17.\?.\?.\?.\?.\?.\?.\?.\?\17|\18.\?.\?.\?.\?.\?.\?.\?.\?\18|\19.\?.\
\?.\?.\?.\?.\?.\?.\?\19|\1A.\?.\?.\?.\?.\?.\?.\?.\?\1A|\1B.\?.\?.\?.\?.\?.\
\?.\?.\?\1B|\1C.\?.\?.\?.\?.\?.\?.\?.\?\1C|\1D.\?.\?.\?.\?.\?.\?.\?.\?\1D|\
\1E.\?.\?.\?.\?.\?.\?.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\?.\?.\?.\?.\?.\?.\?\EB|\EC.\?.\?.\?.\?.\?.\?.\?.\?\EC|\ED.\?.\?.\?.\?.\
\?.\?.\?.\?\ED|\EE.\?.\?.\?.\?.\?.\?.\?.\?\EE|\EF.\?.\?.\?.\?.\?.\?.\?.\?\
\EF|\F0.\?.\?.\?.\?.\?.\?.\?.\?\F0|\F1.\?.\?.\?.\?.\?.\?.\?.\?\F1|\F2.\?.\
\?.\?.\?.\?.\?.\?.\?\F2|\F3.\?.\?.\?.\?.\?.\?.\?.\?\F3|\F4.\?.\?.\?.\?.\?.\
\?.\?.\?\F4|\F5.\?.\?.\?.\?.\?.\?.\?.\?\F5|\F6.\?.\?.\?.\?.\?.\?.\?.\?\F6|\
\F7.\?.\?.\?.\?.\?.\?.\?.\?\F7|\F8.\?.\?.\?.\?.\?.\?.\?.\?\F8|\F9.\?.\?.\?\
.\?.\?.\?.\?.\?\F9|\FA.\?.\?.\?.\?.\?.\?.\?.\?\FA|\FB.\?.\?.\?.\?.\?.\?.\?\
.\?\FB|\FC.\?.\?.\?.\?.\?.\?.\?.\?\FC|\FD.\?.\?.\?.\?.\?.\?.\?.\?\FD|\FE.\
\?.\?.\?.\?.\?.\?.\?.\?\FE|\FF.\?.\?.\?.\?.\?.\?.\?.\?\FF)"
add comment="" name=skypetoskype regexp="^..\02............."
add comment="" name=counterstrike-source regexp=\
"^\FF\FF\FF\FF.*cstrikeCounter-Strike"
add comment="" name=halflife2-deathmatch regexp=\
"^\FF\FF\FF\FF.*hl2mpDeathmatch"
add comment="" name=freenet regexp="^\01[\08\t][\03\04]"
add comment="" name=battlefield2 regexp="^(\11 \01...\?\11|\FE\FD.\?.\?.\?.\?.\
\?.\?(\14\01\06|\FF\FF\FF))|[]\01].\?battlefield2"
add comment="" name=napster regexp="^(.[\02\06][!-~]+ [!-~]+ [0-9][0-9]\?[0-9]\
\?[0-9]\?[0-9]\? \"[\t-\r -~]+\" ([0-9]|10)|1(send|get)[!-~]+ \"[\t-\r -~]\
+\")"
add comment="" name=soulseek regexp=\
"^(\05..\?|.\01.[ -~]+\01F..\?.\?.\?.\?.\?.\?.\?)\$"
add comment="" name=xunlei regexp="^[()]...\?.\?.\?(reg|get|query)"
add comment="" name=ssl regexp=\
"^(.\?.\?\16\03.*\16\03|.\?.\?\01\03\01\?.*\0B)"
add comment="" name=citrix regexp="2&\85\92X"
add comment="" name=whois regexp="^[ !-~]+\r\
\n\$"
add comment="" name=dayofdefeat-source regexp=\
"^\FF\FF\FF\FF.*dodDay of Defeat"
add comment="" name=teamspeak regexp="^\F4\BE\03.*teamspeak"
add comment="" name=worldofwarcraft regexp="^\06\EC\01"
add comment="" name=ventrilo regexp="^..\?v\\\$\CF"
add comment="" name=http-rtsp regexp="^(get[\t-\r -~]* Accept: application/x-r\
tsp-tunnelled|http/(0\\.9|1\\.0|1\\.1) [1-5][0-9][0-9] [\t-\r -~]*a=contro\
l:rtsp://)"
add comment="" name=thecircle regexp=\
"^t\03ni.\?[\01-\06]\?t[\01-\05]s[\
\n\0B](glob|who are you\$|query data)"
add comment="" name=uucp regexp="^\10here="
add comment="" name=pcanywhere regexp="^(nq|st)\$"
add comment="" name=subversion regexp="^\\( success \\( 1 2 \\("
add comment="" name=imesh regexp="^(post[\t-\r -~]*<PasswordHash>.............\
...................</PasswordHash><ClientVer>|4\80\?\r\?\FC\FF\04|get[\t-\
\r -~]*Host: imsh\\.download-prod\\.musicnet\\.com|\02(\01|\02)\83.\?.\?.\
\?.\?.\?.\?.\?.\?.\?.\?.\?.\?.\?.\?.\?.\?.\?.\?.\?.\?.\?.\?.\?.\?.\?.\?.\?\
.\?\02(\01|\02)\83)"
add comment="" name=cimd regexp="\02[0-4][0-9]:[0-9]+.*\03\$"
add comment="" name=mohaa regexp="^\FF\FF\FF\FFgetstatus\
\n"
add comment="" name=stun regexp="^[\01\02]................\?\$"
add comment="" name=tor regexp=TOR1.*<identity>
add comment="" name=radmin regexp="^\01\01(\08\08|\1B\1B)\$"
add comment="" name=unset regexp=.
add comment="" name=chikka regexp="^CTPv1.[123] Kamusta.*\r\
\n\$"
add comment="" name=replaytv-ivs regexp="^(get /ivs-IVSGetFileChunk|http/(0\\.\
9|1\\.0|1\\.1) [1-5][0-9][0-9] [\t-\r -~]*#####REPLAY_CHUNK_START#####)"
add comment="" name=armagetron regexp=YCLC_E|CYEL
 
dot-bot
Member Candidate
Member Candidate
Topic Author
Posts: 164
Joined: Tue Oct 11, 2005 7:05 pm

Re: Does Queue processing (QoS, PCQ, HTB, etc.) depend on ISP?!!

Wed Dec 10, 2008 2:29 am

Latest test show that PCQ misbehaving could be due to not enough processor power, and the need to install RouterOS on a better machine. Queue management on upstream routers could be not so important after all. Will test more soon.
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7169
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: Does Queue processing (QoS, PCQ, HTB, etc.) depend on ISP?!!

Wed Dec 10, 2008 8:47 am

It is auto completing. How do I turn this off???? Please
ctrl+v
 
dot-bot
Member Candidate
Member Candidate
Topic Author
Posts: 164
Joined: Tue Oct 11, 2005 7:05 pm

Re: Does Queue processing (QoS, PCQ, HTB, etc.) depend on ISP?!!

Wed Dec 10, 2008 10:02 pm

What I'm talking about have been discussed by other members as well:

from Is (( PRIORITY )) Really working ??? topic:
create main queue with 100% upload or download respectively. then make child queues,
  • * queue for ping, high priority, 1% of traffic
  • * queue for http, high priority -1, say, % depending on speed for example 1MB/s and that is 40%
  • * queue for the rest of traffic
all that for download, upload

that way, if no one uses ICMP and TCP-HTTP you have 100 - 40 -1 % of your BW used = 59%

then, when you have some "hardcore http surfers" you will use 99% of traffic, and then, if someone start using icmp he will get last 1% for ICMP

...

also - parent queue have to have match all the traffic that will go for child queues
This way we waste bandwidth. Download will achieve only 59% of total link speed. We need to show our customers advantage in speeds and quality, not disabilities.

1 :?: What queue type are you talking about? HTB or PCQ? No text clearly explains when one can be used and when other should not be used. 2 :?: Does queue trees need to have queue-type=default for HTB and queue-type=pcq-up/pcq-down for PCQ? 3 :?: Can I use PCQ and set priority=?? kinda giving priority for some packets over others, while equalising bandiwdth (keeping PCQ functionality). Hoping to minimize delay for prioritized packets (with priority=1). ? 4 :?: Can I build a Queue Tree with leafs and parents having different queue-type?
YES we can let the side car to enter the road even if its 100% , a police man can stop the side line making a space for this car ... right ? this police man what i'm searching for ..
yeah, right. but, as I said, this policeman had to be _before_ the side road, i.e. at your provider's devices
5 :?: If this policeman is our bandwidth manager in our MT, when he drops packets, tcp flow should adjust in 2-3 seconds due to TCP window adjusting?
i think if you just do the queue tree and the MAIN QUEUE for upload and the MAIN QUEUE for download for an example 95% of your total down/up bandwitdth the priorities and qos should work better coz they will have some room to work.
6 :?: Maybe QoS should work nevertheless but keeping some spare bandwidth could save us those 2-3 seconds? Allowing for the car to enter the road first, and the policeman dropping another car after he sees there will be no space on the road ahead?
...
Another thing to mention is I've noticed some internet service providers are already doing their own internal QoS I noticed this on my home internet connection. This made it a bit more difficult as I had no idea what they were in fact doing. So if you are using a generic cable/DSL connection to the internet for your backbone to your wireless network it may be worth asking them if they apply any QoS, or if the modem unit they provided you does.

Cheers
This is the question of this topic. 7 :?: How does provider queue processing (a.k.a. QoS, shaping, policing, etc) affect the work of our QoS in our MT?
I shape Inbound Traffic
The key is to set your upper limit about 15% lower than your service can push.
so if I had 10Mbps from my supplier I would set my top to 9Mbps.
It does work perfect, I light user has 10ms ping, the hog user when he uses torrent gets 1000+ms ping.
This is probably the best idea I've seen yet, nowhere near as complicated as shaping outbound pps and makes sense that it allows a margin for any new traffic/connections you can't control straight up. You do however need a connection that has a set limit (eg this wouldn't work as well on an contentioned connection as you aren't guranteed the bandwidth)
Exactly. 8 :?: What about those cases when ISPs give us let's say 100Mbps town speed tops, 20Mbps country speed tops, 10Mbps Europe speed, 1Mbps world speed in one cable? How will MT PCQ handle this type of service? It looks like we will be forced to set max-limit 1Mbps for speed to be fair, loosing the rest of the bandwidth. Another type of service is when our ISP gives us for example 10Mbps but between 16:30-22:00 limits us to let's say 5Mbps. How to s setup PCQ then? 9 :?: If we do not set max-speed at tall, what will happen to PCQ?

I hope everyone understands what is talked about here and if anyone has anything at all useful to share here - please tell us. Thank you.

@MikroTik staff: This is a challenge for MT as well so I anticipate your answers to these questions above. And am thankful as well.
 
dot-bot
Member Candidate
Member Candidate
Topic Author
Posts: 164
Joined: Tue Oct 11, 2005 7:05 pm

Re: Does Queue processing (QoS, PCQ, HTB, etc.) depend on ISP?!!

Fri Dec 12, 2008 12:58 am

Here are some answers hopefully helpful to all:
...But what if our ISP has MikroTik as well and prioritizes packets as well? How will this affect our results on our end? My guess is - we will see poor/different results and start to think it does not work.

Why is this? What is the IP theory behind this? What can we do to avoid this? What can we do to detect this? What would be the best practice in this case?...
They do, with MikroTik or not, properly or not, efficiently or not. It all comes down to some basic IP principles and the TCP Window. All routers queue packets in the same way. There is no MikroTik rival. There is nothing that can truly beat MikroTik. The basics are the same. If I make my config really good, + Layer 7, my router will beat all.

IP Theory behind this is TCP Window and that other protocols do not have such function so I just won't drop them at all for now. I can lower my max-limit to avoid problems. A little waste but there is no other way around this due to IP design and all networks design.

1,2,3 & 4: PCQ is HTB but PCQ is active in the childs while priority and max-limit work in the HTB tree. Queue type is only active in a child queue in a tree. If it is PCQ - all traffic that passes that child queue will be managed according to PCQ rules set there. Above it in the HTB tree may be rules of priority and limit-at and max-limit that will handle the rest of the management. Is this true? My test could be wrong... I need someone to confirm this. more tests done - this is correct Queue type could also be active in a parent in a Queue but as far as PCQ functionality - it's in the child.

5: yes, even less than 3 seconds in fast networks.
i think if you just do the queue tree and the MAIN QUEUE for upload and the MAIN QUEUE for download for an example 95% of your total down/up bandwitdth the priorities and qos should work better coz they will have some room to work.
6: No. But gustkiller' suggestion is correct. Why? IP and network design. In particular? Don't know right now.

7: With correct settings in our router it really does not matter what they are doing unless they are limiting bandwidth per-service. Most don't unless they are misunderstanding QoS or WISPs trying to clear some air-time.

9: HTB will NOT work without max-limit.

8: Set max-limit to 99-98M and compensate per-user service experience and quality with better QoS management in the router. Get address lists from ISP...


If some of this info is incorrect I BARE NO RESPONSIBILITY for anyone's loss. And please post!! Let us know if so.

Thank all.
Last edited by dot-bot on Fri Dec 12, 2008 11:20 am, edited 1 time in total.
 
User avatar
macgaiver
Forum Guru
Forum Guru
Posts: 1768
Joined: Wed May 18, 2005 5:57 pm
Location: Sol III, Sol system, Sector 001, Alpha Quadrant

Re: Does Queue processing (QoS, PCQ, HTB, etc.) depend on ISP?!!

Fri Dec 12, 2008 9:15 am

Someone asked me to stop pasting links to wiki manual, so I won't.

Simple... RTFM. Better half of your concerns will be gone.
 
dot-bot
Member Candidate
Member Candidate
Topic Author
Posts: 164
Joined: Tue Oct 11, 2005 7:05 pm

Re: Does Queue processing (QoS, PCQ, HTB, etc.) depend on ISP?!!

Fri Dec 12, 2008 11:00 am

I am RT FFFF M since 200 FFFF 4 . F. :)

Paste links. Say it with your words. Help here. Not just RT FFFFFFFFFFFFFFFF M. F. :lol:

better - paste quotes and say it with ur words.

P.S. My dear friend. MikroTik manual and related resources on this website have never been designed to be easily understood for a person who knows what's he's doing BUT does not have CCNA yet. Or should I say CCNP. I understood it all last few days and have been tryin HARD to understand QoS and Bandwidth Management since 2004. This is because last few days I found New information, posted by Macgaiver on the forum, as well as by Normis and Janis. As well as NEW posts in the WiKi unavailable before as well as a post or two by Chupaka, all this + two-three PDFs from the MUMs and I finally got it :lol: But all this is new information.

Total lines of text that made me understand all is so little that one's conclusion is: no matter how much one RTFMs the MikroTik resources, one can not understand it, unless being told exactly those words. Most of them are posted in the Is (( PRIORITY )) really working topic.

Here's a question: How to properly adjust pcq-lmit and pcq-total-limit according to one's situation? And what results to expect?
 
User avatar
jwcn
Forum Guru
Forum Guru
Posts: 1495
Joined: Sun Aug 27, 2006 6:49 am
Location: Maryland, USA
Contact:

Re: Does Queue processing (QoS, PCQ, HTB, etc.) depend on ISP?!!

Fri Dec 12, 2008 3:38 pm

Mikrotik was not designed for nor does it cater to the Novice. I don't have any certifications yet four hours after reading the manual, four years ago, I had working QoS and have never looked back.

It's pretty pitiful when a user can't even figure out how to copy and paste rules in to their router without help.

This is my position: If you can't figure it out, stop bitching and pay a consultant to do it. Inability on your part is not a Mikrotik problem, it is a not a software problem, it is not a "Bug" it is operator error.
 
sandman
newbie
Posts: 37
Joined: Sat Apr 07, 2007 2:13 am

Re: Does Queue processing (QoS, PCQ, HTB, etc.) depend on ISP?!!

Fri Dec 12, 2008 4:16 pm

I agree Mikrotik isn't designed for novices, they sure could improve their documentation, and provide more real world examples. Better explanation of features and setting. Some documentation using Winbox for the examples, in addition to command line would help the un-experienced users, I think.

I'm an experienced Cisco admin, but even I struggle sometimes understanding the features and how certain Mikrotik specific things work. Keep in mind, there's nothing like Mikrotik, so having previous networking experience simply gives you a head start on understanding what needs to happen. Making it happen can be the hard part.

Poor documentation and support has been Mikrotiks biggest short coming, IMO....
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8712
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: Does Queue processing (QoS, PCQ, HTB, etc.) depend on ISP?!!

Fri Dec 12, 2008 4:35 pm

Here's a question: How to properly adjust pcq-lmit and pcq-total-limit according to one's situation? And what results to expect?
the quickiest method is to look at 'dropped packets' statistics of queue, I think =)
 
User avatar
samsoft08
Long time Member
Long time Member
Posts: 613
Joined: Sat Nov 26, 2005 10:52 pm

Re: Does Queue processing (QoS, PCQ, HTB, etc.) depend on ISP?!!

Sat Dec 13, 2008 12:48 am

what about dynamic hotspot users ? they will have dynamic simple Q's .. but all equalizing and prioritizing traffic should be in Q tree ..
which one will kill the other ? simple Q or Q tree ??????
or they will work together which i dont think so ..
 
dot-bot
Member Candidate
Member Candidate
Topic Author
Posts: 164
Joined: Tue Oct 11, 2005 7:05 pm

Re: Does Queue processing (QoS, PCQ, HTB, etc.) depend on ISP?!!

Sat Dec 13, 2008 1:26 am

They will work together. Example can be seen here: http://mum.mikrotik.com/presentations/EG07/sunday.pdf Pages 24 & 25.

more:
Each simple queue creates 3 separate queues:
One in global-in (“direct” part)
One in Global-out (“reverse” part)
One in Global-total (“total” part)
Simple queues are ordered - similar to firewall rules
further down = longer packet processing
further down = smaller chance to get traffic
(necessary to reduce number of queues)

Queuing Placement
Limitation for in mangle chain “forward” marked traffic can be placed in the “global-out” or interface queue

If queues will be placed in the interface queues
queues on the public interface will capture only client upload
queues on the local interface will capture only client's download

If queues will be placed in global-out
download and upload will be limited together (separate marks needed)
http://wiki.mikrotik.com/wiki/Queue#Queue_Tree
Queue tree creates a unidirectional queue in one of the HTBs. It is also the only way to add a queue on a separate interface. This way it is possible to ease mangle configuration - you don't need separate marks for download and upload - only upload will get to Public interface and only download will get to Private interface.
Also it is possible to have double queuing (example: prioritization of traffic in global-in or global-out, limitation per client on the outgoing interface). If you have simple queues and queue tree in the same HTB - simple queues will get traffic first.
Queue tree is not ordered - all traffic passes it together (unlike simple queue).
 
User avatar
samsoft08
Long time Member
Long time Member
Posts: 613
Joined: Sat Nov 26, 2005 10:52 pm

Re: Does Queue processing (QoS, PCQ, HTB, etc.) depend on ISP?!!

Sat Dec 13, 2008 2:19 am

BUT , from http://forum.mikrotik.com/viewtopic.php ... mple+queue
You have to avoid configuration, when the same traffic is limited in 'queue simple' and 'queue tree'.
Use 'queue simple' entries only, if you have dynamic PPP queues created.
Add static entries to 'queue simple', when you need advanced QoS scenarios (packet-mark is available there too).
Make sure that static queues for specific services are placed before dynamic queues (that match all traffic), rule order is important.
 
dot-bot
Member Candidate
Member Candidate
Topic Author
Posts: 164
Joined: Tue Oct 11, 2005 7:05 pm

Re: Does Queue processing (QoS, PCQ, HTB, etc.) depend on ISP?!!

Sun Dec 14, 2008 12:17 pm

Try it, if all works fine - leave it that way. Sergej probably meant that it's not Best Practice to do it (in his opinion. probably may have later complications and more CPU and mem usage of router, etc, etc) but if it works - nothing can stop you from using it. May become your Best Practice he he.
 
User avatar
samsoft08
Long time Member
Long time Member
Posts: 613
Joined: Sat Nov 26, 2005 10:52 pm

Re: Does Queue processing (QoS, PCQ, HTB, etc.) depend on ISP?!!

Sun Dec 14, 2008 7:08 pm

Try it, if all works fine - leave it that way. Sergej probably meant that it's not Best Practice to do it (in his opinion. probably may have later complications and more CPU and mem usage of router, etc, etc) but if it works - nothing can stop you from using it. May become your Best Practice he he.
but it shouldnt be like that , there must be a known info , which one will execute first , or one of them will be ignored ..
 
dot-bot
Member Candidate
Member Candidate
Topic Author
Posts: 164
Joined: Tue Oct 11, 2005 7:05 pm

Re: Does Queue processing (QoS, PCQ, HTB, etc.) depend on ISP?!!

Sun Dec 14, 2008 11:05 pm

Upper ones will get traffic first, lower ones will not catch that traffic. This is why your ICMP rule stays ontop of Simple Queues. I currently use only Queue Tree - I've got complete control over what I need there.

If you have queues in Queue Simple - they will catch traffic first and it won't get to Queue Tree. Test and see for yourself.
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6263
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Re: Does Queue processing (QoS, PCQ, HTB, etc.) depend on ISP?!!

Mon Dec 15, 2008 1:44 pm

about using simple queues and queue tree together - you have to know what you are doing in what place or you will brake your queues - that is why sergejs suggested to use only one of possibilities.

While mixed configuration with correct packet marks will work without any problems what so ever, and here is the catch - if configured properly

when you create queue tree, just make queue-tree, that will set priorities, when that is sorted start as new and set up working limitation between users, either simple queue, or queue tree, and then figure out, how to connect these two.

a can tell, that me, myself, was not so found of queues at first time, when tried to implement everything in one step. tested each feature separately. like connection-bytes, time limitation, different queue types, priorities, burst etc.
 
User avatar
gustkiller
Member
Member
Posts: 419
Joined: Sat Jan 07, 2006 5:15 am
Location: Brazil
Contact:

Re: Does Queue processing (QoS, PCQ, HTB, etc.) depend on ISP?!!

Mon Dec 15, 2008 4:44 pm

here i use queue tree to make priority and limit maximum speed per protocols globaly ( p2p, http , email and ...) and simple queues to limit user speeds
 
User avatar
omidkosari
Trainer
Trainer
Posts: 640
Joined: Fri Sep 01, 2006 4:18 pm
Location: Canada, Toronto

Re: Does Queue processing (QoS, PCQ, HTB, etc.) depend on ISP?!!

Tue Dec 16, 2008 11:17 pm

here i use queue tree to make priority and limit maximum speed per protocols globaly ( p2p, http , email and ...) and simple queues to limit user speeds
Can you explain your mangle rules please.
 
User avatar
gustkiller
Member
Member
Posts: 419
Joined: Sat Jan 07, 2006 5:15 am
Location: Brazil
Contact:

Re: Does Queue processing (QoS, PCQ, HTB, etc.) depend on ISP?!!

Tue Dec 16, 2008 11:45 pm

here i use queue tree to make priority and limit maximum speed per protocols globaly ( p2p, http , email and ...) and simple queues to limit user speeds
Can you explain your mangle rules please.
For an example:
add action=mark-packet chain=prerouting comment="pop3" disabled=no in-interface=wan new-packet-mark=pop3_in \
    passthrough=no protocol=tcp src-port=110 
add action=mark-packet chain=postrouting comment="" disabled=no dst-port=110 new-packet-mark=pop3_out out-interface=wan \
    passthrough=no protocol=tcp 


in the example above have made two marks for pop3 protocol, one for incoming traffic from my WAN interface(from isp) and another mark for outcoming traffic from my isp, wich translates to download and upload from my clientes. but when i set these in and out port , and make a queue tree only with these service i can do QoS setting min and max limits for each protocol but it will not be taken over by the simple queues. to make my self more clear ( sorry for my bad english) i can set globaly in queue tree that the pop3 protocol will only be able to use 1mbit from my uptream ( wan ) provider. so even if i have a have a client with 10mbits and another one with 5mbits in simple queue , if both start downloading their's emails they will be sharing only 1mbit for these protocol.

ps: in queue tree the parent queue for download is global-in and for upload global-out, it will work coz in the packet marking i set the in and out interfaces.
 
User avatar
NetworkPro
Forum Guru
Forum Guru
Posts: 1376
Joined: Mon Jan 05, 2009 6:23 pm
Location: bit.ly/the-qos
Contact:

Re: Does Queue processing (QoS, PCQ, HTB, etc.) depend on ISP?!!

Sun Jan 18, 2009 12:42 am

1. Delete any layer 7 rules that are there now.

2. Paste as following: do not type anything in, just paste:

ip firewall layer7-protocol
add comment="" name=edonkey regexp="^[\C5\D4\E3-\E5].\?.\?.\?.\?([\01\02\05\14\
\15\16\18\19\1A\1B\1C !234568@ABCFGHIJKLMNOPQRSTUVWX[`\81\82\90\91\93\96\
\97\98\99\9A\9B\9C\9E\A0\A1\A2\A3\A4]|Y................\?[ -~]|\96....\$)"
add comment="" name=goboogy regexp="<peerplat>|^get /getfilebyhash\\.cgi\\\?|^\
get /queue_register\\.cgi\\\?|^get /getupdowninfo\\.cgi\\\?"
add comment="" name=soribada regexp="^GETMP3\r\
\nFilename|^\01.\?.\?.\?(Q:\\+|Q2:)|^\10[\14-\16]\10[\15-\17].\?.\?.\?.\?\
\$"
add comment="" name=rdp regexp=rdpdr.*cliprdr.*rdpsnd
add comment="" name=gnutella regexp="^(gnd[\01\02]\?.\?.\?\01|gnutella connect\
/[012]\\.[0-9]\r\
\n|get /uri-res/n2r\\\?urn:sha1:|get /.*user-agent: (gtk-gnutella|bearshar\
e|mactella|gnucleus|gnotella|limewire|imesh)|get /.*content-type: applicat\
ion/x-gnutella-packets|giv [0-9]*:[0-9a-f]*/|queue [0-9a-f]* [1-9][0-9]\?[\
0-9]\?\\.[1-9][0-9]\?[0-9]\?\\.[1-9][0-9]\?[0-9]\?\\.[1-9][0-9]\?[0-9]\?:[\
1-9][0-9]\?[0-9]\?[0-9]\?|gnutella.*content-type: application/x-gnutella|.\
..................\?lime)"
add comment="" name=cvs regexp="^BEGIN (AUTH|VERIFICATION|GSSAPI) REQUEST\
\n"
add comment="" name=nbns regexp="\01\10\01|\\)\10\01\01|0\10\01"
add comment="" name=shoutcast regexp=\
"icy [1-5][0-9][0-9] [\t-\r -~]*(content-type:audio|icy-)"
add comment="" name=dns regexp="^.\?.\?.\?.\?[\01\02].\?.\?.\?.\?.\?.\?[\01-\?\
][a-z0-9][\01-\?a-z]*[\02-\06][a-z][a-z][fglmoprstuvz]\?[aeop]\?(um)\?[\01\
-\10\1C][\01\03\04\FF]"
add comment="" name=quake-halflife regexp="^\FF\FF\FF\FFget(info|challenge)"
add comment="" name=poco regexp="^\80\94\
\n\01....\1F\9E"
add comment="" name=ciscovpn regexp="^\01\F4\01\F4"
add comment="" name=x11 regexp="^[lb].\?\0B"
add comment="" name=xboxlive regexp="^X\80........\F3|^\06XN"
add comment="" name=applejuice regexp="^ajprot\r\
\n"
add comment="" name=zmaap regexp="^\1B\D7;H[\01\02]\01\?\01"
add comment="" name=live365 regexp=membername.*session.*player
add comment="" name=rlogin regexp=\
"^[a-z][a-z0-9][a-z0-9]+/[1-9][0-9]\?[0-9]\?[0-9]\?00"
add comment="" name=http regexp="http/(0\\.9|1\\.0|1\\.1) [1-5][0-9][0-9] [\t-\
\r -~]*(connection:|content-type:|content-length:|date:)|post [\t-\r -~]* \
http/[01]\\.[019]"
add comment="" name=sip regexp=\
"^(invite|register|cancel) sip[\t-\r -~]*sip/[0-2]\\.[0-9]"
add comment="" name=pop3 regexp="^(\\+ok |-err )"
add comment="" name=smb regexp="\FFsmb[r%]"
add comment="" name=quake1 regexp="^\80\0C\01quake\03"
add comment="" name=lpd regexp="^(\01[!-~]+|\02[!-~]+\
\n.[\01\02\03][\01-\
\n -~]*|[\03\04][!-~]+[\t-\r]+[a-z][\t-\r -~]*|\05[!-~]+[\t-\r]+([a-z][!-~\
]*[\t-\r]+[1-9][0-9]\?[0-9]\?|root[\t-\r]+[!-~]+).*)\
\n\$"
add comment="" name=mute regexp=\
"^(Public|AES)Key: [0-9a-f]*\
\nEnd(Public|AES)Key\
\n\$"
add comment="" name=ssh regexp="^ssh-[12]\\.[0-9]"
add comment="" name=jabber regexp=\
"<stream:stream[\t-\r ][ -~]*[\t-\r ]xmlns=['\"]jabber"
add comment="" name=bittorrent regexp="^(\13bittorrent protocol|azver\01\$|get\
/scrape\\\?info_hash=)|d1:ad2:id20:|\08'7P\\)[RP]"
add comment="" name=ncp regexp="^(dmdt.*\01.*(\"\"|\11\11|uu)|tncp.*33)"
add comment="" name=tls regexp=\
"^(.\?.\?\16\03.*\16\03|.\?.\?\01\03\01\?.*\0B)"
add comment="" name=directconnect regexp="^(\\\$mynick |\\\$lock |\\\$key )"
add comment="" name=netbios regexp="\81.\?.\?.[A-P][A-P][A-P][A-P][A-P][A-P][A\
-P][A-P][A-P][A-P][A-P][A-P][A-P][A-P][A-P][A-P][A-P][A-P][A-P][A-P][A-P][\
A-P][A-P][A-P][A-P][A-P][A-P][A-P][A-P][A-P][A-P][A-P][A-P][A-P][A-P][A-P]\
[A-P][A-P][A-P][A-P]"
add comment="" name=tftp regexp="^(\01|\02)[ -~]*(netascii|octet|mail)"
add comment="" name=subspace regexp="^\01....\11\10........\01\$"
add comment="" name=hotline regexp="^....................TRTPHOTL\01\02"
add comment="" name=doom3 regexp="^\FF\FFchallenge"
add comment="" name=ftp regexp="^220[\t-\r -~]*ftp"
add comment="" name=kugoo regexp="^1..\8E"
add comment="" name=tsp regexp=\
"^[\01-\13\16-\$]\01.\?.\?.\?.\?.\?.\?.\?.\?.\?.\?[ -~]+"
add comment="" name=battlefield1942 regexp="^\01\11\10\\|\F8\02\10@\06"
add comment="" name=ssdp regexp="^notify[\t-\r ]\\*[\t-\r ]http/1\\.1[\t-\r -~\
]*ssdp:(alive|byebye)|^m-search[\t-\r ]\\*[\t-\r ]http/1\\.1[\t-\r -~]*ssd\
p:discover"
add comment="" name=imap regexp="^(\\* ok|a[0-9]+ noop)"
add comment="" name=ares regexp="^\03[]Z].\?.\?\05\$"
add comment="" name=fasttrack regexp="^get (/.download/[ -~]*|/.supernode[ -~]\
|/.status[ -~]|/.network[ -~]*|/.files|/.hash=[0-9a-f]*/[ -~]*) http/1.1|u\
ser-agent: kazaa|x-kazaa(-username|-network|-ip|-supernodeip|-xferid|-xfer\
uid|tag)|^give [0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]\?[0-9]\?[0-9]\?"
add comment="" name=qq regexp="^.\?\02.+\03\$"
add comment="" name=100bao regexp="^\01\01\05\
\n"
add comment="" name=aim regexp=\
"^(\\*[\01\02].*\03\0B|\\*\01.\?.\?.\?.\?\01)|flapon|toc_signon.*0x"
add comment="" name=unknown regexp=.
add comment="" name=msn-filetransfer regexp=\
"^(ver [ -~]*msnftp\r\
\nver msnftp\r\
\nusr|method msnmsgr:)"
add comment="" name=yahoo regexp=\
"^(ymsg|ypns|yhoo).\?.\?.\?.\?.\?.\?.\?[lwt].*\C0\80"
add comment="" name=validcertssl regexp="^(.\?.\?\16\03.*\16\03|.\?.\?\01\03\
\01\?.*\0B).*(thawte|equifax secure|rsa data security, inc|verisign, inc|g\
te cybertrust root|entrust\\.net limited)"
add comment="" name=ntp regexp="^([\13\1B#\D3\DB\E3]|[\14\1C\$].......\?.\?.\?\
.\?.\?.\?.\?.\?.\?[\C6-\FF])"
add comment="" name=gnucleuslan regexp=\
"gnuclear connect/[\t-\r -~]*user-agent: gnucleus [\t-\r -~]*lan:"
add comment="" name=vnc regexp="^rfb 00[1-9]\\.00[0-9]\
\n\$"
add comment="" name=bgp regexp=\
"^\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF\FF..\?\01[\03\04]"
add comment="" name=tesla regexp="\03\9A\89\"111\\.00 Beta |\E2<i\1E\1C\E9"
add comment="" name=openft regexp="x-openftalias: [-)(0-9a-z ~.]"
add comment="" name=h323 regexp=\
"^\03..\?\08...\?.\?.\?.\?.\?.\?.\?.\?.\?.\?.\?.\?.\?.\?.\?\05"
add comment="" name=finger regexp=\
"^[a-z][a-z0-9\\-_]+|login: [\t-\r -~]* name: [\t-\r -~]* Directory:"
add comment="" name=ident regexp="^[1-9][0-9]\?[0-9]\?[0-9]\?[0-9]\?[\t-\r]*,[\
\t-\r]*[1-9][0-9]\?[0-9]\?[0-9]\?[0-9]\?(\r\
\n|[\r\
\n])\?\$"
add comment="" name=gkrellm regexp="^gkrellm [23].[0-9].[0-9]\
\n\$"
add comment="" name=hddtemp regexp=\
"^\\|/dev/[a-z][a-z][a-z]\\|[0-9a-z]*\\|[0-9][0-9]\\|[cfk]\\|"
add comment="" name=socks regexp="\05[\01-\08]*\05[\01-\08]\?.*\05[\01-\03][\
\01\03].*\05[\01-\08]\?[\01\03]"
add comment="" name=biff regexp="^[a-z][a-z0-9]+@[1-9][0-9]+\$"
add comment="" name=dhcp regexp="^[\01\02][\01- ]\06.*c\82sc"
add comment="" name=smtp regexp="^220[\t-\r -~]* (e\?smtp|simple mail)"
add comment="" name=ipp regexp=ipp://
add comment="" name=msnmessenger regexp="ver [0-9]+ msnp[1-9][0-9]\? [\t-\r -~\
]*cvr0\r\
\n\$|usr 1 [!-~]+ [0-9. ]+\r\
\n\$|ans 1 [!-~]+ [0-9. ]+\r\
\n\$"
add comment="" name=irc regexp="^(nick[\t-\r -~]*user[\t-\r -~]*:|user[\t-\r -\
~]*:[\02-\r -~]*nick[\t-\r -~]*\r\
\n)"
add comment="" name=gopher regexp="^[\t-\r]*[1-9,+tgi][\t-\r -~]*\t[\t-\r -~]*\
\t[a-z0-9.]*\\.[a-z][a-z].\?.\?\t[1-9]"
add comment="" name=telnet regexp="^\FF[\FB-\FE].\FF[\FB-\FE].\FF[\FB-\FE]"
add comment="" name=snmp regexp="^\02\01\04.+([\A0-\A3]\02[\01-\04].\?.\?.\?.\
\?\02\01.\?\02\01.\?0|\A4\06.+@\04.\?.\?.\?.\?\02\01.\?\02\01.\?C)"
add comment="" name=nntp regexp=\
"^(20[01][\t-\r -~]*AUTHINFO USER|20[01][\t-\r -~]*news)"
add comment="" name=aimwebcontent regexp=user-agent:aim/
add comment="" name=rtsp regexp="rtsp/1.0 200 ok"
add comment="" name=skypeout regexp="^(\01.\?.\?.\?.\?.\?.\?.\?.\?\01|\02.\?.\
\?.\?.\?.\?.\?.\?.\?\02|\03.\?.\?.\?.\?.\?.\?.\?.\?\03|\04.\?.\?.\?.\?.\?.\
\?.\?.\?\04|\05.\?.\?.\?.\?.\?.\?.\?.\?\05|\06.\?.\?.\?.\?.\?.\?.\?.\?\06|\
\07.\?.\?.\?.\?.\?.\?.\?.\?\07|\08.\?.\?.\?.\?.\?.\?.\?.\?\08|\t.\?.\?.\?.\
\?.\?.\?.\?.\?\t|\
\n.\?.\?.\?.\?.\?.\?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8.\?.\?.\?.\?.\?.\?.\?.\?\F8|\F9.\?.\?.\?\
.\?.\?.\?.\?.\?\F9|\FA.\?.\?.\?.\?.\?.\?.\?.\?\FA|\FB.\?.\?.\?.\?.\?.\?.\?\
.\?\FB|\FC.\?.\?.\?.\?.\?.\?.\?.\?\FC|\FD.\?.\?.\?.\?.\?.\?.\?.\?\FD|\FE.\
\?.\?.\?.\?.\?.\?.\?.\?\FE|\FF.\?.\?.\?.\?.\?.\?.\?.\?\FF)"
add comment="" name=skypetoskype regexp="^..\02............."
add comment="" name=counterstrike-source regexp=\
"^\FF\FF\FF\FF.*cstrikeCounter-Strike"
add comment="" name=halflife2-deathmatch regexp=\
"^\FF\FF\FF\FF.*hl2mpDeathmatch"
add comment="" name=freenet regexp="^\01[\08\t][\03\04]"
add comment="" name=battlefield2 regexp="^(\11 \01...\?\11|\FE\FD.\?.\?.\?.\?.\
\?.\?(\14\01\06|\FF\FF\FF))|[]\01].\?battlefield2"
add comment="" name=napster regexp="^(.[\02\06][!-~]+ [!-~]+ [0-9][0-9]\?[0-9]\
\?[0-9]\?[0-9]\? \"[\t-\r -~]+\" ([0-9]|10)|1(send|get)[!-~]+ \"[\t-\r -~]\
+\")"
add comment="" name=soulseek regexp=\
"^(\05..\?|.\01.[ -~]+\01F..\?.\?.\?.\?.\?.\?.\?)\$"
add comment="" name=xunlei regexp="^[()]...\?.\?.\?(reg|get|query)"
add comment="" name=ssl regexp=\
"^(.\?.\?\16\03.*\16\03|.\?.\?\01\03\01\?.*\0B)"
add comment="" name=citrix regexp="2&\85\92X"
add comment="" name=whois regexp="^[ !-~]+\r\
\n\$"
add comment="" name=dayofdefeat-source regexp=\
"^\FF\FF\FF\FF.*dodDay of Defeat"
add comment="" name=teamspeak regexp="^\F4\BE\03.*teamspeak"
add comment="" name=worldofwarcraft regexp="^\06\EC\01"
add comment="" name=ventrilo regexp="^..\?v\\\$\CF"
add comment="" name=http-rtsp regexp="^(get[\t-\r -~]* Accept: application/x-r\
tsp-tunnelled|http/(0\\.9|1\\.0|1\\.1) [1-5][0-9][0-9] [\t-\r -~]*a=contro\
l:rtsp://)"
add comment="" name=thecircle regexp=\
"^t\03ni.\?[\01-\06]\?t[\01-\05]s[\
\n\0B](glob|who are you\$|query data)"
add comment="" name=uucp regexp="^\10here="
add comment="" name=pcanywhere regexp="^(nq|st)\$"
add comment="" name=subversion regexp="^\\( success \\( 1 2 \\("
add comment="" name=imesh regexp="^(post[\t-\r -~]*<PasswordHash>.............\
...................</PasswordHash><ClientVer>|4\80\?\r\?\FC\FF\04|get[\t-\
\r -~]*Host: imsh\\.download-prod\\.musicnet\\.com|\02(\01|\02)\83.\?.\?.\
\?.\?.\?.\?.\?.\?.\?.\?.\?.\?.\?.\?.\?.\?.\?.\?.\?.\?.\?.\?.\?.\?.\?.\?.\?\
.\?\02(\01|\02)\83)"
add comment="" name=cimd regexp="\02[0-4][0-9]:[0-9]+.*\03\$"
add comment="" name=mohaa regexp="^\FF\FF\FF\FFgetstatus\
\n"
add comment="" name=stun regexp="^[\01\02]................\?\$"
add comment="" name=tor regexp=TOR1.*<identity>
add comment="" name=radmin regexp="^\01\01(\08\08|\1B\1B)\$"
add comment="" name=unset regexp=.
add comment="" name=chikka regexp="^CTPv1.[123] Kamusta.*\r\
\n\$"
add comment="" name=replaytv-ivs regexp="^(get /ivs-IVSGetFileChunk|http/(0\\.\
9|1\\.0|1\\.1) [1-5][0-9][0-9] [\t-\r -~]*#####REPLAY_CHUNK_START#####)"
add comment="" name=armagetron regexp=YCLC_E|CYEL
Why ? Result is exactly the same as /wiki/Basic_traffic_shaping_based_on_layer-7_protocols

We still have two unneeded rules - unset and unknown, and we still have an imesh rule that will crash RouterOS (and the linux kernel for that matter) and we still have strange characters and the L7 rules are still different from http://l7-filter.sourceforge.net

What's the MikroTik official statement on these problems?
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26820
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Re: Does Queue processing (QoS, PCQ, HTB, etc.) depend on ISP?!!

Mon Jan 19, 2009 2:09 pm

which problems? that you can't get jwcn's rules to work? ask him :) tell me what exactly is not working for you
 
User avatar
NetworkPro
Forum Guru
Forum Guru
Posts: 1376
Joined: Mon Jan 05, 2009 6:23 pm
Location: bit.ly/the-qos
Contact:

Re: Does Queue processing (QoS, PCQ, HTB, etc.) depend on ISP?!!

Mon Jan 19, 2009 2:45 pm

Hah. I thought I am clear. Let's start with biggest problem: imesh rule (and/or others) crashes RouterOS. And I can get the QoS to work that's not the point ;)
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26820
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Re: Does Queue processing (QoS, PCQ, HTB, etc.) depend on ISP?!!

Mon Jan 19, 2009 2:52 pm

Hah. I thought I am clear. Let's start with biggest problem: imesh rule (and/or others) crashes RouterOS. And I can get the QoS to work that's not the point ;)
I though that was a problem with all kinds of operating systems, not just RouterOS? don't use the rule if it doesn't work, the rules are provided by the open source community. we are unable to fix this rule issue before the Kernel developers do it
 
User avatar
NetworkPro
Forum Guru
Forum Guru
Posts: 1376
Joined: Mon Jan 05, 2009 6:23 pm
Location: bit.ly/the-qos
Contact:

Re: Does Queue processing (QoS, PCQ, HTB, etc.) depend on ISP?!!

Mon Jan 19, 2009 3:09 pm

I can't have this argument with you. What I can say is - someone should've warned everybody on the Layer 7 QoS WiKi page "some rules may crash kernel" and "imesh rule may crash kernel" + "don't forget to mark everything else remainig".

And next problem is solved here??: http://forum.mikrotik.com/viewtopic.php ... 50#p141450 I hope mrz is right that we can use the patterns directly from http://l7-filter.sourceforge.net/

Feel free to give further guideance on these issues.
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26820
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Re: Does Queue processing (QoS, PCQ, HTB, etc.) depend on ISP?!!

Mon Jan 19, 2009 3:42 pm

we had no idea about this - this is a free text field, you can enter anything there that you can find on the internet! we didn't invent those rules. You said yourself that this is a kernel problem, so MikroTik can't fix it anyway. This is a wiki, you can add a note next to the mentioned rule that it doesn't work, or remove it completely. The wiki can be edited by any internet user.
 
ijuzba
just joined
Posts: 4
Joined: Tue Nov 04, 2008 10:18 pm

Re: Does Queue processing (QoS, PCQ, HTB, etc.) depend on ISP?!!

Sun Mar 01, 2009 10:26 pm

It is not clear to me!
Image
 
lukkes
Member Candidate
Member Candidate
Posts: 177
Joined: Mon Jun 16, 2008 2:12 am
Location: Venezuela
Contact:

Re: Does Queue processing (QoS, PCQ, HTB, etc.) depend on ISP?!!

Sun Jan 10, 2010 7:56 am

maybe netwokpro is talking about the special caracter that appear when the rules are pasted in the terminal, not when added directly in the "+" butto.. just try this. paste the pattern in te terminal and you will see the error, try to add the battlefiel1942 pattern form terminal console...
 
User avatar
NetworkPro
Forum Guru
Forum Guru
Posts: 1376
Joined: Mon Jan 05, 2009 6:23 pm
Location: bit.ly/the-qos
Contact:

Re: Does Queue processing (QoS, PCQ, HTB, etc.) depend on ISP?!!

Sun Jan 10, 2010 11:16 am

Mate don't worry too much about the 'special characters'. MikroTik have that covered I believe.

This topic is about - can we trust our own QoS bw management, when devices further upstream can screw it up - stick to it if you don't mind. Moderators may CLEAN this topic by deledint .... everything actually. There is no useful information here. Too bad the knowing didn't have time or they just didnt want to share an opinion or two.
 
User avatar
jwcn
Forum Guru
Forum Guru
Posts: 1495
Joined: Sun Aug 27, 2006 6:49 am
Location: Maryland, USA
Contact:

Re: Does Queue processing (QoS, PCQ, HTB, etc.) depend on ISP?!!

Sun Jan 10, 2010 10:22 pm

Actually there is useful information here. Just because you're too stupid to follow it doesn't make it worthless. That being said, this is a dead topic and should be left as such.
 
User avatar
NetworkPro
Forum Guru
Forum Guru
Posts: 1376
Joined: Mon Jan 05, 2009 6:23 pm
Location: bit.ly/the-qos
Contact:

Re: Does Queue processing (QoS, PCQ, HTB, etc.) depend on ISP?!!

Mon Jan 11, 2010 1:55 am

haha :lol: jwcn very funny ;)

This topic has some questions and answers that try to touch packet queueing but ... neither me, nor anyone else who knows them has the desire to actually post an on-topic post, explaining something useful.

And by the way your beloved L7 QoS technique is ... not best practice :lol:

The same way you declare "this topic dead" I declare this tipic reopen with the following answer of the question:

Most "ISPs" dont really care for proper configuration of their devices. Even managed switches that on firsht sight seem completely simple may affect TCP performance and cause misterous bottlenecks. But the major bullsh!t configuration of all is when the dumb ISPs configure each TCP connection to be limited, in some cases to something like 10KBps. Thats when your priority and bandwidth management get severely affected.

A way out of this bullsh!t: be prepared (a certification in Networking maybe? ;) ) and catch your provider (the bastard) and if he refuses to fix it - run mate - there is always Tier 1 for those willing to pay the price ;)
 
User avatar
jwcn
Forum Guru
Forum Guru
Posts: 1495
Joined: Sun Aug 27, 2006 6:49 am
Location: Maryland, USA
Contact:

Re: Does Queue processing (QoS, PCQ, HTB, etc.) depend on ISP?!!

Mon Jan 11, 2010 2:02 am

Which is **why** ISP's as we do, should always use a Tier 1 provider.

We do not limit TCP connection speeds.
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8712
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: Does Queue processing (QoS, PCQ, HTB, etc.) depend on ISP?!!

Mon Jan 11, 2010 9:10 am

 
User avatar
jwcn
Forum Guru
Forum Guru
Posts: 1495
Joined: Sun Aug 27, 2006 6:49 am
Location: Maryland, USA
Contact:

Re: Does Queue processing (QoS, PCQ, HTB, etc.) depend on ISP?!!

Wed Jan 13, 2010 4:38 pm

Tier 1 ISP.
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8712
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: Does Queue processing (QoS, PCQ, HTB, etc.) depend on ISP?!!

Wed Jan 13, 2010 4:50 pm

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot], Google [Bot], mthoward, smirgo and 50 guests