This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

QoS: Does it work with UDP??

I have a COD modern warfare dedicated server running behind Astaro.

I have tried to set QoS for it, but it does not appear to work.

QoS is enable on External with proper Up(3100kbps)/Down(60000kbps) speed,

I created a traffic selector for ANY -> UDP Port 28960 (server port) -> ANY

Added a Bandwidth pool with garentee bandwidth of 1200kbps.

However, I started to upload about 100Mb of picture to a photo finishing website, and it totally lagged the server, everyone had very high ping for the duration of the file upload.

What did I do wrong? Is it supposed to work?

EDIT: I have a different traffic selector for my VOIP phone, and the phone did not had issues during that file transfer.


This thread was automatically locked due to age.
  • I just did another test,

    Changed the reserved bandwidth to 2000kbps, of my total of 3000kbps.

    Then I started a file upload, and it reached 210Kb/s which is 1680kbps. where the maximum allowed should have been 1000kbps...
  • you most likely have the values reversed.  QOS will shape everything.  Also have you created the proper bandwidth pools and service groups as well?  The interface QOS will only do bandwidth limiting in aggregate at the interface.  If you want individual types of traffic to be shaped inside that interfaces limits you need to get into the bandwidth pools..[:)]
  • Hey William,

    I don't quite understand your message, I loose you after "QOS will shape everything." here are the steps I performed:

    QoS is enable on External (WAN) interface  with proper Up(3100kbps)/Down(60000kbps) speed limit.

    I created a traffic selector for ANY -> UDP Port 28960 (server listening port) -> ANY

    Added a Bandwidth pool with garentee bandwidth of 2000kbps.

    Should this be enough to reserve 2000kbps of my 3000kbps for traffic from the server on port 28960?
  • let me give you an example of my setup:
    1.  I have another interface for public wifi users.  I do not want this interface to even exceed 5 megabits into that interface and i do not want them to ever be able to use more than 256 kilobits of bandwidth heading out to the internet.

    2.  I have a mail server that i do NOT want to ever exceed a megabit.  Of course some bandwidth has to be reserved so i have 128 kilobits reserved for this function.

    Here is how i have it setup:

    Under interfaces:
    1.  WAN:  total uplink(from lan to wan) 2048 kilobits.  total Downlink: 30000 kilobits.  Limit uplink is checked.  Upload optimizer is also checked.  The download equalizer causes tons of issues by disconnecting pastors who are using online training streaming videos..so that's off.

    2. Wifi Interface:  Downlink bandwidth(from wifi users to WAN) is 256 kilobits  Uplink bandwidth(from WAN to wifi) 5120 kilobits.  it is confusing as it's backwards form logic but that's the way Astaro sees it.

    3.  Contorlling smtp outgoing:  Created a traffic selector for smtp.  Source: any Service: SMTP  Destination:Any  Selector type: selector  TOS/DSCP: off
    Next to bandwidth pools:  Bind to external interface.  click new bandwidth pool.  name is (whatever you want) for me it is SMTP.  Interface should be external.  Position is wherever you want it.  Lowest numbers are matched first.  Bandwidth..this is the lowest reservation.  I have this set or 128 kilobits.  in traffic selectors select your selector.  hit save.  Then turn it on and try it again.
  • Thanks William, 

    I beleive you've found my problem.... when you said: "Bind to external interface", I was like WTF? You can bind a pool to something else than when you have QoS enable for.... so I looked around, and when creating a pool the interface was grayed out,, and it was Internal Interface (for which I don;t even have QoS enable).

    I finally noticed the dropdown to choose the interface..

    Really.........  I still haven't testedout if it works out, but I re-created all my rules on the External interface pool...

    To me, there is a Interface design problem there.... Something could be done to help making this better.. Like defaulting the dropdown to External, or putting both pool in completly different tabs.. Anyway, I'm pretty sure it must be the problem....

    Will let you know, Thanks!
  • There's some areas of QOS that are backwards either in their execution or labeling....technically QOS is well improved but yes the interface needs some work.
  • Did not work [:(]

    Still wont reserve 2000kbps when there are UDP packet going to my server on 28960.........

    I added another selector and pool for httpserver, and added a reserve of 10kbps, and a MAX of 1000kbps, and that DID work, the server was limited to 1000kbps up...

    But if I disable the rules, (for limiting the http server), and reserve 2000kbps for my game server, then start browsing the server from outside, pages load at full connection upload speed (3000kbps) even if there are people on the server.

    All thoses pool are in the WAN (external), i have nothing left in the internal pool list.

    The game server selector is ANY -> SRC: 1:65536 DST: 28960 -> ANY.....

    Any other ideas? Anyone
  • Its actually the gameserver I am trying to reserve bandwidth for. But I also have voip in there.

    Here is everything: