Is QoS and BW Limiter single threaded?

Discussion in 'Tomato Firmware' started by monoton, Sep 5, 2018.

  1. monoton

    monoton Serious Server Member

    Trying out QoS on a 250/100 line and CPU will not go over 50%, the same with sirq.
    Is QoS single threaded?

    The same happens with the BW Limiter. Top out at 160/100 with CPU and sirq at 50%.

    Linksys EA6900 with xvortex CFE.
    FreshTomato Firmware 2018.3 K26ARM USB VPN-64K
    Last edited: Sep 6, 2018
  2. koitsu

    koitsu Network Guru Member

    Yes, almost certainly. I do not believe anything can be done about this given the nature of the Linux kernel of said age. SMP-ising parts of networking stacks (incl. firewall) is a very tricky process.
    monoton likes this.
  3. cloneman

    cloneman LI Guru Member

    One idea that's come up recently is creating an OpenWRT transparent bridge + Cake/fq_codel to use as a "QoS" instead of enabling in Tomato. Since the bridge will not be handling any "NAT" work, you can get pretty good performance.

    I got 450mbit on a DI-825 680Mhz MIPS processor.

    Then you'd use CTF/fastnat whatever Tomato optimizations are available to you without using QoS
    monoton likes this.
  4. monoton

    monoton Serious Server Member

    This I might give a try someday.
  5. monoton

    monoton Serious Server Member

    For now I just Limit the bandwidth on the guest network to max 20Mbps wich gives a sirq at about 18% at full load on that network.
    Then enable CTF.
    This somehow gives me the full 250Mbps on the primary network while at the same time limiting the guest network to max 20Mbps with a sirq below 50%.

    Didn't think this was going to work, but CTF works on the primary network even though BWL is enabled on guest network.
    Last edited: Sep 6, 2018
    cloneman likes this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice