* [LARTC] Wondershaper stops limiting outbound traffic
@ 2004-04-28 16:37 Richard
2004-04-30 9:07 ` Andy Furniss
0 siblings, 1 reply; 2+ messages in thread
From: Richard @ 2004-04-28 16:37 UTC (permalink / raw
To: lartc
I have wondershaper to limit my upload at 400kilobits (my line is 600kbps).
I do a lot of torrent seeding and I dont want my pings killed when I'm
uploading so I set low prority source ports as follows (by the way, I have
bittornet to only use ports 6881-6910):
NOPRIOPORTSRC="6881 6882 6883 6884 6885 6886 6887 6888 6889 6890 6891 6892
6893 6894 6895 6896 6897 6898 6899 6900 6901 6902 6903 6904 6905 6906 6907
6908 6909 6910"
Problem is, sometimes my upload will be limited to 50kb/s and others it'll be
maxed. This is with wondershaper running too! (verified by ./wshaper
status).
If I stop wondershaper (./wshaper stop) my outbound bandwith does nothing (as
it's already maxed) but if I try to start it again, nothing happens again
(yet ./wshaper status shows that wondershaper is installed). If I comment
out all the SRC ports that I want no priority for, and re-run wshaper, my
outbound is once again limited to 50kb/s, but my pings are horrible because
all bandwith has the same priority.
Some will ask why not use the torrents bandwith limitation....the answer to
that is because it sucks. I have it set to 50kb/s and instead of it sataying
at 50, it fluctuates up and down and AVERAGES 50kb/s.
What could be causing this problem when NOPRIOPORTSRC is set to de-prioritize
torrents?
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [LARTC] Wondershaper stops limiting outbound traffic
2004-04-28 16:37 [LARTC] Wondershaper stops limiting outbound traffic Richard
@ 2004-04-30 9:07 ` Andy Furniss
0 siblings, 0 replies; 2+ messages in thread
From: Andy Furniss @ 2004-04-30 9:07 UTC (permalink / raw
To: lartc
Richard wrote:
> I have wondershaper to limit my upload at 400kilobits (my line is 600kbps).
>
> I do a lot of torrent seeding and I dont want my pings killed when I'm
> uploading so I set low prority source ports as follows (by the way, I have
> bittornet to only use ports 6881-6910):
That means BT will listen on those ports. Even if you just seed, it will
still connect to others - so the src port will be different. The dst
port will usually be a standard BT one - but only as long as the peer
didn't tell BT to listen on different ports. To mark BT properly you
need something that looks at the data like ipp2p - this needs a
netfilter extra POM patch (connmark) to work.
http://rnvs.informatik.uni-leipzig.de/ipp2p/index_en.html
Andy.
>
> NOPRIOPORTSRC="6881 6882 6883 6884 6885 6886 6887 6888 6889 6890 6891 6892
> 6893 6894 6895 6896 6897 6898 6899 6900 6901 6902 6903 6904 6905 6906 6907
> 6908 6909 6910"
>
> Problem is, sometimes my upload will be limited to 50kb/s and others it'll be
> maxed. This is with wondershaper running too! (verified by ./wshaper
> status).
>
> If I stop wondershaper (./wshaper stop) my outbound bandwith does nothing (as
> it's already maxed) but if I try to start it again, nothing happens again
> (yet ./wshaper status shows that wondershaper is installed). If I comment
> out all the SRC ports that I want no priority for, and re-run wshaper, my
> outbound is once again limited to 50kb/s, but my pings are horrible because
> all bandwith has the same priority.
>
> Some will ask why not use the torrents bandwith limitation....the answer to
> that is because it sucks. I have it set to 50kb/s and instead of it sataying
> at 50, it fluctuates up and down and AVERAGES 50kb/s.
>
> What could be causing this problem when NOPRIOPORTSRC is set to de-prioritize
> torrents?
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
>
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-04-30 9:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-28 16:37 [LARTC] Wondershaper stops limiting outbound traffic Richard
2004-04-30 9:07 ` Andy Furniss
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.