MikroTik RouterOS FQ_CoDel How To reduce buffer bloat and SQM queueing with v7

Sdílet
Vložit
  • čas přidán 9. 02. 2021
  • In this come video I'm going to show you how you can apply an FQ_CoDel queue to your MikroTik router easily and quickly to ensure best performance, minimum buffer bloat and a great experience for all.
    Ubiquiti? Who needs their SQM now???
  • Hry

Komentáře • 32

  • @davetaht4989
    @davetaht4989 Před 3 lety +8

    my principal hope is that you can also do link layer compensation.
    But I am totally delighted that finally cake and fq_codel are in mikrotik, thx for documenting it.

  • @techieg33k
    @techieg33k Před 2 lety +1

    Such a simple process to get setup. Thank you for this! Saved me about 20ms-30ms on my downloaded pings under load.

  • @Korzk
    @Korzk Před 2 lety +1

    Keep it up, waiting for the CAKE one

  • @revertonsombra
    @revertonsombra Před rokem +1

    wonderful. my buferbload now is excelent thanks

  • @richbrown1918
    @richbrown1918 Před 2 lety +3

    A good video. It would be perfect if you could show a ping test during a speed test ("latency under load") both with pfifo and with fq_codel in place. Thanks again!

  • @DavidBump
    @DavidBump Před 2 lety +1

    Fantastic info here and on your site. One note: I was following the basic firewall guide on your site and found what appears to be a syntax error in that RSC file. RouterOS threw an error at line 19 position 91, and I think "=dst-nat" should instead be "=dstnat." After making that correction, importing the script ran successfully.

  • @blank85za
    @blank85za Před rokem +1

    Thank you. Bufferbloat rating now A.

    • @portman8909
      @portman8909 Před rokem

      Got the same score with my Eero Mesh SQM enabled was on F previously on the older router. Very easy to setup and does the job.

  • @justmeemee
    @justmeemee Před 2 lety +2

    Nice vid! It seems that the fast tracking firewall rule in the forward chain needs to be disabled (if it's there), otherwise the queue won't actually limit anything.

  • @user-bj9hd1bc4j
    @user-bj9hd1bc4j Před 2 lety

    А FQ_CoDel сам расчитывает лимиты? С этим алгоритмом можно не задавать ограничение MaxLimit, чтобы не попасть в лимит провайдера? И я правильно понимаю для sip нужно всё-равно делать отдельную очередь с высоким приоритетом, или теперь не нужно?

  • @AdriansNetlis
    @AdriansNetlis Před 2 lety +1

    Any tips for setting it up on LTE-based connections (4G)? One thing I am totally lost for is what to put in the max limit bars (since my bandwidth varies anywhere between 150/80 to 2/2 depending on weather, time of day, probably even the mood of ISP :D). But yeah, I have tried doing this setup, but I can't seem to get any change. Tested with no queue, with queue with target as lte1 and also tried ethernet1 (my PC's connection to router, altho not sure if this would make sense). Tried different limit numbers as well. It doesn't seem to make any difference really, I still get absolutely horrendous BufferBloat (dslreports rating C or sometimes D, trying to play games can be hell). I just don't know what to try any more.

    • @AdriansNetlis
      @AdriansNetlis Před 2 lety +1

      Wanted to note the worst part - running two dslreports tests in a row without changing anything can have larger differences in results than, for example, queue and not queue for me. So yeah, I have literally -1 idea if I am improving things or not or if a change exists. But I can tell if there's improvement it's not big enough to solve my issues.

  • @LBUK.
    @LBUK. Před rokem +1

    I’ve been looking at a mikrotik router for a while, I currently have/use the edge router x which is a fantastic piece of kit, can do pretty much everything you want, however it doesn’t support cake SQM which is a shame as a online gamer I need the lowing ping/spikes possible, can you recommend a mikrotik router to go for? Thanks.

    • @SteveoceeCoUk
      @SteveoceeCoUk  Před 2 měsíci

      Hex R3 is a solid performer but depends on your internet speed coming in. TBH The Unifi UCG Ultra is a killer piece of kit atm.

    • @LBUK.
      @LBUK. Před 2 měsíci +1

      @@SteveoceeCoUk I went with the Nanopi R4S with Openwrt Cake and SQM, Very very fast great peice of kit also, I will keep that in mind 😉

  • @btrlandyman
    @btrlandyman Před 2 lety

    I set this up on my Mikrotik, however when a PC starts downloading game updates, it gets the full line capacity, causing ping spikes and packet drops for other devices on the network. Is there a way to stop this from happening, without having then specific queues for that PC?

    • @SteveoceeCoUk
      @SteveoceeCoUk  Před 2 měsíci

      Set the queues at 90% of the available bandwidth. If it still doesn't work then the queue can't be applied correctly.

  • @rasteek
    @rasteek Před 2 lety

    Well i cant get it to work, normal sfq bandwidth limit works normal but fq_codel does nothing.... tried various targets ... so im confused.

    • @blank85za
      @blank85za Před rokem +1

      Go to IP/firewall and disable the fasttrack rule.

  • @m8940sv
    @m8940sv Před 2 lety

    FYI: You praised Unifi. The UDM-Pro doesn´t handle bufferbloat well.

  • @benjaminberger9629
    @benjaminberger9629 Před rokem

    Whats the best queue type for varying bandwidth? From like 80MBit/s to 20MBit/s?

    • @kiyoponnn
      @kiyoponnn Před rokem

      I have same issue: my isp reduces bandwidth at night. i wonder if any of the queues can detect changes in bandwidth and adjust parameters accordingly

    • @Wahinies
      @Wahinies Před rokem

      @@kiyoponnn You could utilize the scheduled task management for different ToD. Aside from that, generally it may be safe to leave downstream at the high end and only target upstream. That's what I have had to do for EdgeRouters anyway.

  • @AdrianMace
    @AdrianMace Před 3 lety +1

    Looks like you've set upload/download in the opposite directions. Is that intentional?

    • @SteveoceeCoUk
      @SteveoceeCoUk  Před 3 lety +1

      Totally. Queues are set from client side view so anything that requires like a ppp or vpn style dial up interface are reversed. Only "real" IP connections done on ether interfaces will be right way around.

    • @adminfebhost
      @adminfebhost Před 3 lety

      ​@@SteveoceeCoUk oooooooooooooooooooooooohhhhhhhhhhhhhhhhhhhh so that might be it

    • @adminfebhost
      @adminfebhost Před 3 lety +1

      ​@@SteveoceeCoUk btw i am interested on how you set up the magle and queue tree, can you make a video or share your rules

  • @melonmusk3976
    @melonmusk3976 Před 2 lety +1

    Why can't you share your config

    • @SteveoceeCoUk
      @SteveoceeCoUk  Před 2 lety

      It would likely be different to yours or what you would need.

  • @BattousaiHBr
    @BattousaiHBr Před 3 lety +2

    9:10 oh it's working alright, we can see because as soon as you hit OK the video gets pixelated as fuck lol

    • @SteveoceeCoUk
      @SteveoceeCoUk  Před 3 lety +1

      Nope that's because I recorded on a janky old laptop. Didn't realise video did this until after rendering and uploading though :-/ Serves me right to sense check but thanks for watching so far in :-)