Re: rate shaping with cbq

From: Andy Furniss (firstname.lastname_at_dsl.pipex.com)
Date: 09/01/05


Date: Thu, 01 Sep 2005 15:11:29 +0100

David Schwartz wrote:
> "Damir Galič" <damirg@email.si> wrote in message
> news:fBlRe.29$B9.7894@news.siol.net...
>
>
>>Hi. I would like to shape my adsl connection in a way, so the connections
>>to port 80 would work with no delay and with the highest speeds. So if I
>>have for example bittorrent open with 100+ connections, I'd like to open
>>web pages intantly without delay. I managed to make it work somehow, but
>>web pages with a lot of contents are opening slow - the pictures on it.
>>Pictures are opened instatnly but there is some delay. Now what would be
>>the best way, for example I am using mark and I have ppp0 interface for
>>the internet.
>
>
> Talk to your Internet provider. You only have control over the packets
> you are sending out, and trying to clear space for inbound packets by
> restricting outbound packets doesn't work very well.

Even that wouldn't work for me - UK dsl would need the teleco to do it
on the VC that feeds "my" dslam at the exchange.

>
> The problem is that the packets that contain pieces of those images have
> to fight with all the packets being sent to you from bittorrent peers.
> There's no easy way to make the peers automatically stop sending packets.

Shaping from the wrong end of the bottleneck is not easy or perfect, but
you can still do alot better than doing nothing - at the expense of
sacrificing some of your bandwidth.

>
> Some bittorrent clients have the ability to gradually restrict their
> bandwidth usage if they sense load over the connection, but I doubt this
> will really help you very much. Fundamentally, either your provider supports
> things like QoS or priority queuing, or they don't. Almost always, they
> don't.
>
> DS
>
>



Relevant Pages

  • Re: tcp hostcache and ip fastforward for review
    ... It would probably break or delay many things. ... This is an unlikely case (many small packets sent to a non-interactive ... > for minmss it will reset and drop the connection. ... which is unfortunate. ...
    (freebsd-current)
  • Re: tcp hostcache and ip fastforward for review
    ... It would probably break or delay many things. ... This is an unlikely case (many small packets sent to a non-interactive ... > for minmss it will reset and drop the connection. ... which is unfortunate. ...
    (freebsd-net)
  • Re: rate shaping with cbq
    ... I would like to shape my adsl connection in a way, ... >> to port 80 would work with no delay and with the highest speeds. ... You only have control over the packets ... > to fight with all the packets being sent to you from bittorrent peers. ...
    (comp.os.linux.networking)
  • X & Gnome crashes the system with iptables
    ... kernel 2.4.21, ... I spent a lot of time to write rules for iptables to obtain a good firewall. ... # Support for connection tracking ... packets are denied until ...
    (comp.os.linux.x)
  • X & Gnome crashes the system with iptables
    ... kernel 2.4.21, ... I spent a lot of time to write rules for iptables to obtain a good firewall. ... # Support for connection tracking ... packets are denied until ...
    (comp.os.linux.setup)