[TriLUG] preferential traffic shaping

Warren Myers volcimaster at gmail.com
Mon Oct 3 11:03:06 EDT 2005


Not quite sure if this is what you're looking for, but I've had success
running similar tasks (like FTP) by startign the session with screen, then
detaching the screen. It continues to run, but with a lower priority.

WMM

On 10/3/05, Alan Porter <porter at trilug.org> wrote:
>
>
> I would like to run bittorrent "in the background", so that it
> uses idle bandwidth, but so that it yields whenever anything
> else is going on.
>
> "tc" seems to be the tool to do this, but its notation is very
> complex. I have also played with "tcng", which has an easier
> syntax (it generates tc commands).
>
> I tried a few experiments, but they did not seem to have any
> effect whatsoever. My test went something like this:
>
> - start a "btlaunchmanycurses" session and let its upload
> speed get up to a maximum level
> - start an "scp" file transfer
> - I expected to see the bittorrent upload rate decrease
> while the scp ran at full speed
>
> For the most part, I was trying to assign a lower priority to
> any traffic that has a source port of 6881. My experiments did
> not work.
>
> Has anyone else done this? Is "tc" the right tool? Is this
> something that should be done with "iptables" instead? Or
> perhaps both together?
>
>
> Alan
>
>
> --
> TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug
> TriLUG Organizational FAQ : http://trilug.org/faq/
> TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
>



--
http://warrenmyers.com
"God may not play dice with the universe, but something strange is going on
with the prime numbers." --Paul Erdős


More information about the TriLUG mailing list