must cut the line down too much for shaping to work

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, my situation: One internet connection 256 kbps uplink/downlink,
pretty stable speed, a Linux router with three NICs (one to ISP, one to
DMZ and one with VLANs enabled to our LAN). Each of three VLANs (1, 10,
11) is a region for me; id 1 gets guaranteed 128 kbps, id 10 and 11 both
get guaranteed 64 kbps (both uplink and downlink).

Simple configuration. After I read relevant parts of lartc (GREAT
READING by the way, thanks!) and dozen other docs I was able to set this
thing up: I mark packets in the iptables mangle FORWARD chain according
to from where the packet comes and where it wants to go. It does work,
but...

On many places there is a warning that the shaping box must stay a
bottleneck of the route so the queue can start to fill inside it and be
shaped. Somethere they say a few percent of the upstream rate must be
sacrificed, some say 25%...

Okay, I tried to set a full 256kbit on a root HTB class, just for fun.
No shaping. I set 230kbit then. Still nothing. The beast started to work
as expected when I cut my line to 220 kb/s! It means effectively fall of
the download speed from some 29-30 KB/s to about 26 KB/s as I measured it.

I consider it to be serious, given our internet connection is VERY
expensive (because of the unfortunate location of the company building,
but we are working on the cost problem). I do not know whether I can
afford such resource loss presently...

Is it possible I got something not tuned well or is fall from 256 to 220
kb/s normal for usual shaping?

Thanks in advance.

-- 
\//\/\
(Sometimes credited as 1494 F8DD 6379 4CD7 E7E3 1FC9 D750 4243 1F05 9424.)

_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux