User Tools

Site Tools


qos

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
qos [2014/07/01 13:42]
pbix [ACC keeps lowering my link limit]
qos [2017/12/29 01:21] (current)
ispyisail [Router Performance]
Line 19: Line 19:
  
 How about an analogy? I fly a lot and if you do too then you understand that when it’s time to board the airplane we do not just all rush at the door. The gate agent enforces the airline’s quality of service plan for each passenger. She starts by boarding handicapped folks, then we move onto the airline’s diamond members, then gold, silver and finally we arrive at the bulk class. In this analogy the gate agent is the router and the passengers are the packets of data trying to get through to the WAN. The point is that for How about an analogy? I fly a lot and if you do too then you understand that when it’s time to board the airplane we do not just all rush at the door. The gate agent enforces the airline’s quality of service plan for each passenger. She starts by boarding handicapped folks, then we move onto the airline’s diamond members, then gold, silver and finally we arrive at the bulk class. In this analogy the gate agent is the router and the passengers are the packets of data trying to get through to the WAN. The point is that for
-those diamond members to experience high quality the average Joes must wait. One more interesting lesson from this example is that if there is no one else waiting to board the plane when you show up it does not matter what your status is, you get to board next. The lesson here is that if the WAN is not+those diamond members to experience high quality the average Joes must wait. When people are waiting to board we call this the 'saturated' condition because the door cannot accommodate any more people per second. One interesting lesson from this example is that if there is no one else waiting to board the plane when you show up it does not matter what your status is, you get to board next. The lesson here is that if the WAN is not
 saturated your QoS setup will not matter much, all packets get immediately transmitted. saturated your QoS setup will not matter much, all packets get immediately transmitted.
  
Line 212: Line 212:
 ==== Total Bandwidth Field ==== ==== Total Bandwidth Field ====
  
-Below the class table is the total (upload/download) bandwidth field. Proper setting of this fields is +Below the class table is the total (upload/download) bandwidth fields. Proper setting of these fields is important to making QoS function properly.  First determine the speeds your upload/download links can deliver.  One way to do this is by turning QoS off and using http://www.speakeasy.net/speedtest/ with no other computers or applications trying to use your WAN link.  Do it a couple of times and record separately the minimum upload and the minimum and maximum download speeds you obtain If you run it twice for example and once you get 1Mbps and the second time you get 2Mbps then your minimum is 1Mbps and your maximum is 2Mbps.
-critical to making QoS function properly. The value you enter here depends on if you are using the active +
-congestion controller or not and if your WAN connection type (set on the Connection->Basic) page is set +
-to PPPoEAssuming you are using the ACC set as follows:+
  
-When using PPPoE you should consult with your modem’s web page and enter the line speed the modem +Now start with the upload page entering 95% of the minimum upload speed you saw If the minimum changes in time then you may need to further lower your minimum.  This can be tedious but in my experience your upload speeds do not vary much so your first test will likely be sufficient.
-is running atEnter the uplink/downlink speeds on the corresponding QoS page.+
  
-When not using PPPoE you should enter your maximum download speed on the download screen and +On the download page the value you enter depends on if you are using ACC or not.  When using ACC you enter the maximum download speed you saw.  If you enter a value even 10% higher its OK too.  ACC is going to automatically adjust the actual speed QoS between 12% of this number and 100% of this number If you enter a number too high (say 2x your link speedthen you just lost some range because ACC will only adjust between 12% and 50(all the numbers between 50% and 100% are too high) but it will still basically work  
-95% of your measured upload speed on the upload screenThe way I recommend to measure your upload +
-speed is to first turn QoS off, then make sure no one is using the WAN link and then run a speed test such +
-as the one http://www.speakeasy.net/speedtest/ . Finally enter 95of the value you found with this test.+
  
-If you are not using the ACC then you will generally need to reduce your download bandwidth from the +If you are not using ACC then things get more complicated.  You need to enter the minimum value of your downlink speed Since downlink speeds can vary significantly in time, 20%-80% is not unusual, this can be an impossible task.  If the downlink speed is set too high your QoS will simply not work If set to low you will under utilize your link and feel cheated.  For this reason I recommend that you use the ACC if you want your QoS to work.
-values mentioned aboveThe amount to reduce varies from 20-80% depending on what it happening with +
-your ISP. For this reason I recommend that you use the ACC.+
  
 ===== Active Congestion Controller (ACC) ===== ===== Active Congestion Controller (ACC) =====
Line 259: Line 250:
 own this setting can be used to remedy the problem. This value will normally be between 40-90ms and own this setting can be used to remedy the problem. This value will normally be between 40-90ms and
 can be observed when the ACC is in MINRTT mode as the ping time limit. can be observed when the ACC is in MINRTT mode as the ping time limit.
 +
 +===== Router Performance =====
 +
 +Your router has a CPU and that CPU has a limit on how much data is can process per second.  Almost nothing written on this page will be true if you are trying to exceed the limitations of your router.  Quoting Clint Eastwood "A man needs to know his limitations" so know your router's limitations.  When you are exceeding your throughput limitation you will see "CPU Load Averages" on the Status screen approach 1.0 and strange unexplained things happening. 
 +
 +This will happen somewhere between 10Mbps and 500Mbps depending on your router and what Gargoyle features you are using.  To use Gargoyle you must reduce the download/upload link speeds on your QoS pages so that your CPU never gets near the 1.0 limit even under fully saturated conditions.
 +
 +Bandwidth monitoring and QoS are the two features that take the most processing for your router.  If you turn them off you will get more through put but of course you will lose many of the reasons you are trying to use Gargoyle.
 +
 +Don't complain on the forum that your router's native firmware gives you better throughput than Gargoyle firmware does.  With Gargoyle you are getting features and stability which you do not have with your native firmware.  If you cannot achieve the speeds you want get a faster router.
 +
 +----------------
 +
 +All routers have a maximum processing speed for the WAN link. If you lower your total WAN bandwidth (upload plus download) to below this maximum on the Gargoyle QoS screens then Gargoyle will throttle your throughput and all your Gargoyle functions will work properly. This may result in you not being able to utilize the full bandwidth your ISP provides you but you will have stable and predictable performance. 
 +
 +Selecting a router that has enough horsepower to handle your full bandwidth is important if you really want to use all your available bandwidth. Stock firmware which comes with your modem will usually provide higher throughput than Gargoyle. The reason for this is simple. The stock firmware does not have the advanced features of Gargoyle. Especially QoS and Bandwidth monitoring. These are the features that require CPU horsepower. If you turn them off in Gargoyle you will also see a high throughput capability.
 +
 +Like a car top-end speed is not the only desirable feature. The many other features that you use everyday are usually what you should concentrate on and these are what Gargoyle provides.
  
 ===== FAQS ===== ===== FAQS =====
qos.1404222137.txt.gz · Last modified: 2014/07/01 13:42 by pbix