From: "Steinar Pedersen" Date: Sun, 26 Feb 2006 20:39:03 +0000 Subject: [LARTC] Delay before shaping kicks in Message-Id: <1d273d050602261239t116ba896m47c686eacc97672a@mail.gmail.com> MIME-Version: 1 Content-Type: multipart/mixed; boundary="===============1715921866==" List-Id: To: lartc@vger.kernel.org --===============1715921866== Content-Type: multipart/alternative; boundary="----=_Part_3873_1039392.1140986343989" ------=_Part_3873_1039392.1140986343989 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I am shaping traffic very sucessfully, but I still have one problem that I just can't figure out the solution to. When my backbone becomes saturated with traffic, I use prio to diffreciate between users, so that those who need it most, actually gets their service. BUT... when using prio, it actually takes a few seconds before the service they need is given to them. An example: One user downloads with 10mbit (full speed of the link) Another user with higher priority starts downloading, and for the first few seconds only get a fraction of what he really needs, but then suddenly, the speed increases, and the low-prio user looses his speed. Is there a way to make this "kick in" start faster? I checked the net/sched/sch_htb.c and found: #define HTB_EWMAC 2 /* rate average over HTB_EWMAC*HTB_HSIZE sec */ Could decreasing this to like 1 second fix the issue? Steinar Pedersen ------=_Part_3873_1039392.1140986343989 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
I am shaping traffic very sucessfully, but I still have one problem th= at I just can't figure out the solution to.
When my backbone becomes saturated with traffic, I use prio to diffrec= iate between users, so that those who
need it most, actually gets their service. BUT... when using prio, it = actually takes a few seconds before the service they
need is given to them.
 
An example:
 
One user downloads with 10mbit (full speed of the link)
Another user with higher priority starts downloading, and for the firs= t few seconds only get a fraction of what he really needs, but then suddenl= y, the speed increases, and the low-prio user looses his speed.
 
Is there a way to make this "kick in" start faster?
 
I checked the net/sched/sch_htb.c and found:
#define HTB_EWMAC 2     /* rate average over HTB_E= WMAC*HTB_HSIZE sec */
 
Could decreasing this to like 1 second fix the issue?
 
 
Steinar Pedersen
------=_Part_3873_1039392.1140986343989-- --===============1715921866== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc --===============1715921866==--