Wondershaper stops limiting outbound traffic

Linux Advanced Routing and Traffic Control

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

 



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@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

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