On Thu, Feb 01, 2001 at 07:07:19PM +0100, Joakim Recht wrote: > Hi > > I was wondering how a Linuxbox running iproute2 and tc to do bandwidth > control on a 20 mbit internet connection compares? A Packeteer > PacketShaper 4500 costs about $20,000, and a Linuxbox can be set up for > much less, but can it be used for a network with some 1000 users without > too much trouble? Number of users is not that big an issue. We've filtered 90mbit/s of traffic with Linux, but we currently only shape up to 5mbit/s. However, the sites we filter have >100 http connections per second, which each take a few seconds to complete, so I'd guess that at any one time we have ~300 tcp/ip sessions running. I bet a 1000 users would not come near to that amount of sessions. > Following that question, how is the latency affected by a Linux router? > The PacketShaper should add no more than 50 msec pr packet, how does > Linux compare to this? Well, AFAIK, Packeteers, which used to be quite evil wrt to corrupting IP options by the way!, 'shape' by fooling around with TCP Window options. That does not induce a lot of latency. Regular shaping might induce more, but it hasn't been a problem for us so far. As long as you are not actively shaping (ie, remain below your bandwidth ceiling), we don't see *any* additional latency. > Now, I realize that the Packeteer thing is much easier to configure, and > also provides some pretty extensive statistical information, but that is > not necessary for me. We've only configured our shaping solution once, using the excellent CBQ.init script. Takes little time, and then runs on without any problems. Regards, bert hubert -- PowerDNS Versatile DNS Services Trilab The Technology People 'SYN! .. SYN|ACK! .. ACK!' - the mating call of the internet