MikroTik RouterOS Gaming SFQ Minimising Buffer Bloat, Smart Queue, FQ_CODEL alternative

Sdílet
Vložit
  • čas přidán 24. 07. 2024
  • MikroTik Wiki page wiki.mikrotik.com/wiki/Manual...
    MikroTik Wiki page SFQ wiki.mikrotik.com/wiki/Manual...
  • Hry

Komentáře • 42

  • @KaldekBoch
    @KaldekBoch Před 4 lety +2

    Excellent video mate. Setting up a simple fairness queue is something I had meant to do for ages but had no time to dig into it.

  • @mikegleasonjr
    @mikegleasonjr Před 4 lety +2

    Thanks nice video, one quick remark is that you can put your desktop in 1080p and record winbox in full screen so we can see better :P thanks again

  • @geogmz8277
    @geogmz8277 Před 5 lety +1

    Keep them coming man..

  • @bobe843
    @bobe843 Před 5 lety +5

    May i suggest using pcq instead of sfq. SFQ ensures fairness between tcp connections, PCQ ensures fairness between classifier(ie. ip adress).

    • @SteveoceeCoUk
      @SteveoceeCoUk  Před 5 lety +6

      Good point however I chose not to use PCQ for that purpose. PCQ classifies by either source IP or destination IP so if a certain client on your network has 2 "prime" activities then those applications would only get half of the allowance each. Using SFQ the traffic is round robin so you end up getting an aggregated service across all connections regardless or client.

  • @gpligor
    @gpligor Před 2 lety

    Great video. Do you have a tutorial showing how the bandwidth is divided to 3 or more machines and the fairness is achieved ? Meaning if one machine is hugely downloading while other are simply browsing

  • @juliocalheiros8034
    @juliocalheiros8034 Před rokem +1

    Tranks, deu certo aqui.

  • @edss
    @edss Před 4 lety +1

    Hey Steveocee, thanks for the tutorial!
    I want to ask what the queue target should be - like you said I don't want to put it on the bridge, because I have a second bridge and I don't want traffic to be throttled between the two bridges, but if I put that on ether1 (going to my Virgin router in modem mode) the queue doesn't seem to do anything. Can you advice what the best config would be?

    • @edss
      @edss Před 4 lety

      Just realised it doesn't work with fasttrack turned on.
      Bummer because if I switch off fasttrack and turn on sfp queue, my RB3011 can handle only about 200Mbps, and come nowhere close to my Virgin's throughput of ~380Mbps...

    • @SteveoceeCoUk
      @SteveoceeCoUk  Před 4 lety

      Hey Edmond, 200Mb? An RB2011 could push that, the RB3011 should be able to push at least 500Mb unless you are doing some serious packet inspection. Happy to help out if you feel you want some input? Drop me a line from here www.steveocee.co.uk/contact-me/ it'll likely be firewall related and we should be able to get you running without FT.

  • @tomekmak5441
    @tomekmak5441 Před 4 lety +2

    Hi there, awesome video. I have question. Im using MT as PPPoE terminator. All users (over 2k) are terminating using radius and queues are created automatically. How do You think which type of queue will be the best for this setup ?

    • @SteveoceeCoUk
      @SteveoceeCoUk  Před 4 lety +2

      Been here and suffered from that. Definitely set the standard queue as SFQ, using default-small will work but if your are A-synchronous then it promotes a more balanced upload for the end user. If you stay default-small and end user bandwidth is low then you'll have a rough time with saturation.

    • @tomekmak5441
      @tomekmak5441 Před 3 lety

      @@SteveoceeCoUk Is there any way to contact you by e-mail ?

    • @kiwiscanwifi
      @kiwiscanwifi Před 3 lety

      Hi thank you for the video. If the SFQ is on the customer router isnt it going to be dropping data from internet to router that has already been transfer to customer. What am i missing please. Should this be replicated on the mt pppoe server as well. If so should each sfq simple queue created to under a common parent or can each pppoe simple queue be its own master. Thanks if you can reply.. Ps be great to see a full video on pppoe server and client sfq. Having both fibre and wireless network and the different sfq settings for these fixed and variable bandwidth streams.

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

    we need more of your tutorials :D please o please

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

      I have an FQ_CoDel one coming! (A real FQ_CoDel one as well!)

    • @junnel2608
      @junnel2608 Před 3 lety

      @@SteveoceeCoUk yup i am also waiting it to be on the stable release 👍

  • @darthtomas_admin2494
    @darthtomas_admin2494 Před 4 lety +1

    Hi, just came across this great tutorial, currently using edgerouter x. Installed 300/50 FTTH and it only does 180/50 with SQM enabled. What would be max through output on MikroTik hEX S ?

    • @SteveoceeCoUk
      @SteveoceeCoUk  Před 4 lety

      EdgeRouterX would be crippled by SQM. Even USG Pro4 struggles to push 250Mb with SQM. Hex S should be able to handle 300/50 with an SFQ as it does not inspect packets. Full specs of Hex S are linked here mikrotik.com/product/hex_s#fndtn-testresults

    • @darthtomas_admin2494
      @darthtomas_admin2494 Před 4 lety

      @@SteveoceeCoUk Thank you very much for info. I have seen a thread somewhere comparing edgerouter and MikroTik hEX S as 250/390, so I was assuming that MikroTik hEX S would do around 280/45, what really is my speed, plusMikroTik hEX S has sfp port as a bonus. Is packet inspecting baked in fq_codel, or can it be disabled and at the same time increase the through output ? Also planning on getting edgerouter 8pro, as it effectively doubles X's performance and has two sfp ports.

    • @SteveoceeCoUk
      @SteveoceeCoUk  Před 4 lety

      @@darthtomas_admin2494 SQM has to inspect and manage packets, turn it off and then throughput improves dramatically. Edgerouter 8 Pro should only be considered if you want/need the SFP capability as the ER4 (and 6PoE) outperforms it as they are newer generation.

    • @SteveoceeCoUk
      @SteveoceeCoUk  Před 4 lety

      @@tecgeminis9926 The ac2 is a brilliant router in general but made better by it's low price point and strong WiFi.

  • @comandernell
    @comandernell Před 10 měsíci +1

    Hello, thanks for the video, I have a question, how do I do it for my clients with a PPoE connection?

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

      When you allow them connection, assuming you are using queues to limit speed, apply a custom queue (default-fqcodel for example). Will do the job nicely.

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

    SFQ and PCQ combined to avoid other clients from saturating the bandwidth, is it possible?

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

      Why? One or the other is fine. You don't need both. You can't round robin a fixed bucket amount. FQ_CoDel coming soon! Please sub and you'll see it when I drop it.

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

      @@SteveoceeCoUk Done! And yes, I am waiting for that FQ_CoDel.

  • @nahventure3873
    @nahventure3873 Před 4 lety +1

    hey recommendation, I've had to watch your videos on mobile data on 480p and it's very difficult to see, and I have also tried 720 or 1080p but on mobile it's very difficult to see since it's very small . Cheers

    • @SteveoceeCoUk
      @SteveoceeCoUk  Před 4 lety

      Thank you, when recorded these were shot at 1440p, in my mind at the time that gave best possible experience, only post publishing has it emerged actually a lower desktop resolution would have been better. Thanks for the watch though.

    • @nahventure3873
      @nahventure3873 Před 4 lety

      @@SteveoceeCoUk ;) My main PC is also 1440p, although I tend to find myself configuring the main router without internet access and data is at a premium here where I live thus I have to try my best to do 720p at most.

  • @Neekk_Oh
    @Neekk_Oh Před 5 lety +1

    I have 100/10 speeds from my ISP. What do I put in the Max Limit boxes if it only goes to 10M?

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

      You can type in any custom entry you want, make sure to put a capital M after to get Mbit 👍

    • @Neekk_Oh
      @Neekk_Oh Před 5 lety +1

      ​@@SteveoceeCoUk Thank you. Do you recommend to limit 80% of the speed or 90%?

    • @SteveoceeCoUk
      @SteveoceeCoUk  Před 5 lety

      @@Neekk_Oh download do as much as you can. Maybe 99%. Upload I usually do about 90% so the router does limit within the links capabilities.

    • @BattousaiHBr
      @BattousaiHBr Před 5 lety

      since your ISP is also limiting your traffic somewhere around those speeds, you'll need to limit traffic on your end slightly lower than that so that you're the one doing the queuing rather than your ISP.
      start with values a bit lower than that and increase them a bit at a time until you see the traffic fairness is no longer working well.
      for instance, my ISP sells me 70m/30m speeds but in practice they actually give me around 74m/32m, so i found that using my SFQ with 73m/31m worked pretty good. going lower than that had even better results but i'm fine with a little bit of bufferbloat.

  • @aPollO2k1337
    @aPollO2k1337 Před 4 lety

    If i enable the Queue my WAN traffic stops working. How can i debug these problem?

    • @aPollO2k1337
      @aPollO2k1337 Před 4 lety

      If i let max. limits blank it works. as soon as i tip in a limit my internet is broken.

    • @SteveoceeCoUk
      @SteveoceeCoUk  Před 4 lety

      SFQ queue doesn't touch any routing. You must have "something else" going on in your router which this is picking up on, some mangle rule or similar.

  • @dopamyth
    @dopamyth Před 4 lety

    hello steve is what your script function for the ps4 i have rb750gr3, thanks for the advance, i play to call of duty and battlefield and i have vdsl2 70 dl and 19 up .

    • @SteveoceeCoUk
      @SteveoceeCoUk  Před 4 lety

      Hi Julien, The SFQ ensures a "fair" service for all connected devices, what you are wanting is really more of a real QoS implementation to prioritise your PS4 above all else (and then I imagine provide a fair service to the remainder as well). Feel free to contact me through my website (www.steveocee.co.uk) and we'll try and have a dig through what you have to do this.

  • @brunogm
    @brunogm Před 5 lety +1

    Do you know what version of kernel runs in RouterOS?