1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

QoS Questions

Discussion in 'HyperWRT Firmware' started by TerminatorHTK, May 7, 2006.

  1. TerminatorHTK

    TerminatorHTK LI Guru Member

    First, thanks for the great firmware. I do have some QoS questions I'm hoping someone can answer.

    1) With the upstream bandwidth set to auto, I see 12287 Kbps. I know that my upload is 768 Kbps, so I've set this manually. Anyone have any ideas why the auto would detect such a large upload bandwidth?

    2) If I'm using QoS to prioritize Ethernet port 1 high, and then set certain TCP ports to low, will the TCP ports set to low take precedence over the Ethernet port set to high? Is there an order of precedence for the QoS?

    3) Version 15 no longer includes the server and client QoS selection. I understand that the QoS is for upload bandwidth. However, I can have a connection to my PC (high port remote to local; server mode(Shareaza)), or a connection from my PC (high port local to remote (TeamSpeak)). Since I'm no longer able to select this, can someone tell me whether the port I select refers to the local port on my PC, or the remote PC?

    Thanks much for any info.
     
  2. Toxic

    Toxic Administrator Staff Member

    High has priority over low.

    qos controls outgoing bandwitdh on hyperwrt so anything outgoing via th WAN is going to be controlled i guess
     
  3. Thibor

    Thibor Super Moderator Staff Member Member

    1. qos works by pinging your dns servers with small and large packets, i assume you're using dnsmasq or you have a local dns server.
    2. high=higher priority than low, need i say more?
    3. you can use the Gnutella application preset for Shareza, then you don't have to worry about port settings
     
  4. TerminatorHTK

    TerminatorHTK LI Guru Member

    Thanks for the information; very helpful. Does anyone know why the server/client option for the QoS is no longer there though?
     
  5. Thibor

    Thibor Super Moderator Staff Member Member

    i know why it's not there :)
    coz i didn't write it. do YOU see anywhere for it to go?
     
  6. Toxic

    Toxic Administrator Staff Member

    he had updated to a new QoS feature which didn't have that feature.
    it may or maynot be added again in the future
     
  7. der_Kief

    der_Kief Super Moderator Staff Member Member

    Whats with other direction ? Ethernet port on "low" and TCP ports on "high" !? Does a "low" on Ethernet port overwrite a "high" service port ?

    Kief
     
  8. TerminatorHTK

    TerminatorHTK LI Guru Member

    It sounds like if ANY QoS is set to high for a particular traffic, be it ethernet port, MAC, or TCP port, that particular traffic is always high. So setting an ethernet port or MAC to high, ensures that all traffic to that machine will be at high, regardless of TCP port settings.

    Also, in version 14, did the QoS role which is no longer present simply refer to whether the specified port was on the client (local PC) or server end?
     
  9. der_Kief

    der_Kief Super Moderator Staff Member Member

    OK. Then for example, when i give an computer "high" priority on MAC and another rule exist that give "highest" priority to game-Port (e.g BF2) on L7 then the traffic get "highest" (TCP/L7) priority and not "high" (MAC) priority !(i'm specially interessted in this way). Right ? Maybe Thibor can clarify !?

    Kief
     
  10. der_Kief

    der_Kief Super Moderator Staff Member Member

    Is this the answer !? :D
     
  11. Thibor

    Thibor Super Moderator Staff Member Member

    answer to what? the meaning of life? (42, by the way)
    seriously, how can changing the background colour of a menu choice have any affect on a function?
     
  12. der_Kief

    der_Kief Super Moderator Staff Member Member

    OK. misunderstanding :)

    Whats about the function (question) ?
    -->
     
  13. Thibor

    Thibor Super Moderator Staff Member Member

    how about you go away and try it for yourself, then you can put the rest of us out of our misery. i know i'm not going to be able to sleep until i know the answer to this burning question
     
  14. Toxic

    Toxic Administrator Staff Member

    surely trying it yourself may be an idea?
     
  15. der_Kief

    der_Kief Super Moderator Staff Member Member

    You are the developer, and so i think you should know your code and so its about 1/2 second to give an answer to my question

    MfG
    Kief
     
  16. Toxic

    Toxic Administrator Staff Member

    he did give an answer. try it...
     
  17. Thibor

    Thibor Super Moderator Staff Member Member

    iirc, mac address takes precedence over application port, so Ethernet Port>MAC Address>Port......High<----->Low
     
  18. der_Kief

    der_Kief Super Moderator Staff Member Member

    Thanks for clarification.
    So its not possible to "mix" priority between MAC-adress and Port ?
    Its useless to give e.g MAC->high and Port->highest, it'll ever stay at high !? It's a pitty :sad:
     
  19. Thibor

    Thibor Super Moderator Staff Member Member

    it's not a pity at all, if you want certain traffic to a certain machine to be a higher priority than the machine, don't prioritise by MAC. mac priority is mainly used for VOIP, servers, etc. i don't use mac priority at all, only application/port based, it's more than adequate.
     
  20. der_Kief

    der_Kief Super Moderator Staff Member Member

    Another question :)
    Does it make sense to give gaming applications the "highest" priority ?
    Because i have the feeling (maybe an illusion) gameplay is smoother with "high" than with "highest" priority.
    Maybe the L7 iss not accurate !? Or is "highest" only for the VOIP thing ?

    Kief
     
  21. Thibor

    Thibor Super Moderator Staff Member Member

    it is an illusion, highest is uncapped and can use ALL your bandwidth, high can use 80% at most
     
  22. der_Kief

    der_Kief Super Moderator Staff Member Member

    Thanks.
    Maybe i should drink one beer less :grin:
    Does "highest" priority has impact on latency (ping) ? Or does it make no difference between "high" and "highest" ?

    Kief
     
  23. Thibor

    Thibor Super Moderator Staff Member Member

    try it and see
     
  24. der_Kief

    der_Kief Super Moderator Staff Member Member

    One more question :)
    Is there a way / command where i can check the status of QoS ?

    Kief

    BTW: Thibor 15C *rocks* :thumbup:
     
  25. LadFromWales85

    LadFromWales85 Network Guru Member

    Rather than creating yet another QoS thread, I thought it best to post my question here :)

    I have an adsl connection, 8192/832, and am having problems with my downstream rate while uploading data.

    I set the upstream rate to 80% of my actual rate, 90*8*0.8=576kbps, started uploading a file, and get just shy of 75kBps. If I download while uploading, my downstream speed achieves less than 400kBps, but the throughput is all over the place. Upstream speed stays steady. While I was connecting to the FTP I used to test download, it took about 10 seconds to log in, usually instant. When I stop the upload, downstream speed jumps up to over 700kBps, but it isn't steady, wobbling all over the place, but generally higher than when uploading.

    When I disable QoS, speed jumps to over 800kBps, and stays there.

    Is this expected behavior? With my old 2048/256 connection, I set my upstream bandwidth to 208kbps, and could download at full rate while uploading.

    I tried lowering the upstream rate to 400kbps, which did nothing to speed up my downstream, nore did it speed up connecting to the FTP while uploading.

    Any ideas?
     

Share This Page