Re: Weighted packet shaping?

Linux Advanced Routing and Traffic Control

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

 



Ok.

My Linux (which is connected to the ADLS modem) box runs HTTP, FTP, etc services and also runs bittorrent, edonkey,
etc.
I have two other PCs (both windows) which connect to the internet via the Linux
box (MASQ).

Now, i want data like SSH, ICMP, DNS from any source to ppp0 to get top priority.
I want the two windows PCs to get 2nd priority.
I want services to get 3rd, and the rest (torrents, etc) to get the lowest
priority.

I have this setup atm using HTB and SFQ.

Now this is what happens:
I have bittorrent going as fast as possible outbound.
I then use my linux box to send FTP data over the same link.

Im finding that packet shaping is splitting the outbound bandwidth (256kbit)
equally between the two.

This is not what im after...  want the windows box to take more bandwidth off
bittorrent than 50% like it is atm.

Does this explain my problem better?

Thanks!

> Mark Williams (MWP) wrote:
> >Hi all,
> >
> >Im new to all this, and am still trying to get my head qround some of the
> >concepts of how this all works.
> >Ive read the howto's, man pages etc.
> >
> >Ive setup packet shaping on my router/server box using HTB and SFQ, but 
> >its not
> >working the way i would like.
> >
> >Im after shaping that has "weights" for classes so that a lower priority 
> >class
> >will slow down when a higher class wants to flow more data.
> >As far as i can see, HTB wont do this...
> 
> As Ed says - I think you probably can do it with rate/ceil/prio - detail 
> depends on you set up and exactly what you want to happen/
> 
> >
> >Ive looked at WRR which i have compiled into my 2.6.8.1 kernel 
> 
> There is a TC options related bug in 2.6.8.1 you'll probably need to 
> update/patch. This fixed it for me.
> 
> http://www.linuxhq.com/kernel/v2.6/9-rc2/net/sched/sch_api.c
> 
> Andy.
> 
> and iproute2, but
> >it seems this really only works with multiple sources (client PCs), rather 
> >than
> >the iptables MARK system i want to use so i can organise local and client 
> >PC
> >traffic.
> >
> >Does anyone know how i can do what im after?
> >
> >Thanks,
> > Mark Williams.
> >_______________________________________________
> >LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
> >http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
> >
> 
> 
_______________________________________________
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