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

Setting up QOS for my web server

I read the doco but I am still not all that clear on the best way to setup QOS for my web server.

What I want to do is relatively straight forward. I want to ensure that my web server has priority on my network.
Currently, when I do any file downloads it hogs all of my available bandwidth, making the serving of pages on the web server very slow. I am happy that the file download speeds are restricted whenever there is http access to the web server. As stated, I want the web sever to have priority.
Will the ASG allow me to configure this?

Scenario:
ASG 7.306
DSL connection 1.5Mb/256Kb
3 interfaces: internal external and dmz

I am pretty comfortable with configuring the rest of the ASG but I have never played with QOS.
What I would like is some advice from those of your with skills in this area, before I screw things up royally...  [;)]


This thread was automatically locked due to age.
  • Bob, was there any QOS set on any interface at the time of the problem?

    My (limited) understanding is that if one sets the speeds on the external interface, that bandwidth should be evenly shared between connections.
    Is that right?

    Also, the idea of putting QOS on the internal NICs is confusing for me if there is a DMZ and a LAN; I don't think the 2 will 'cooperate'.
    I know that Astaro used to recommend not doing QOS on internal interfaces, but things have obviously changed now.

    Barry
  • Thanks, Barry.

    No DMZ at this client site, but if there were, I'm guessing (I promised not to gripe about documentation) that the QoS on any one interface has no effect on any other.

    There was a QoS setting on the Internal interface that guaranteed bandwidth to the webserver.  After reading Gert's suggestions, I believe that it was useless as all it did was guarantee bandwidth towards the server instead of towards the shoppers.  In any case, it had no effect.

    Cheers - Bob
  • So if I need to make the surfing services like HTTP have the priority over p2p and IM traffic and I have LAN interface and an interface that is connected to DSL modem which interface should I configure the QoS on?
  • It's tricky.  The idea of QoS isn't really to prioritze one type of traffic over another; it's really more of a guaranteed minimum of bandwidth regardless of the competition.  WIth web surfing, there are two reasons it can be slowed down: competition for download bandwidth and competition with uploads for sending surf requests to external servers.

    As I understand it, the accepted solution deals directly with the surf requests, but also often handles the first problem.  You set a minimum bandwidth for uplink (outbound) web surfing traffic on the External (DSL) interface, and that takes care of getting your requests out to public web servers.  The inbound traffic on the External interface is then managed by "various techniques such as Stochastic Fairness Queuing (SFQ) or Random Early Detection (RED)."

    This is the solution recommended by Gert on the first page of this thread.

    Cheers - Bob