Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: Andy Furniss <andy.furniss@dsl.pipex.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] HTB weird problem ....
Date: Fri, 08 Oct 2004 12:36:11 +0000	[thread overview]
Message-ID: <416689BB.6070506@dsl.pipex.com> (raw)
In-Reply-To: <20041008014007.4421.qmail@web50305.mail.yahoo.com>

Drink Linux wrote:
> Hello good day to all ... this is my setup
> 1 Linux Wireless Access Point, connected are 4
> wireless gateway in which i needed to apply shaping
> ...
> ok here is the weird part... clients on each gateway
> download files from the Acess Point ... a 500 mb file
> through ftp
> 
> on gateway 1 which is up to 64 kbps ... the result is
> from 60-64 kbps speed which is fine ...
> 
> on gateway 2 which is 128 kbps ... the result is
> varying from 130 - 132 kbps (why does it exceed)? but
> it is acceptable nevertheless
> 
> on gateway 3 which is up to 256 kbps ... the result is
> the lowest rate clients can get is up to 285-286 above
> limit ?!?!! why did that happen...
> 
> on gateway 4 .. which is up to 512 kbps ... the rate
> of the client is up to 600+ kbps ... why is that so ?!
> 
> anyway here is my script for anyone who can help
> ...thanks
> 
> one thing is when i ftp 2 files ... the speed is
> higher than the ceiling limit ....
> 
> kernel is 2.4.22 ... with QoS enabled ....
> 
> 
> 
> 
> tc qdisc add dev wlan0 root handle 1:0 htb
> 
> tc class add dev wlan0 parent 1:0 classid 1:1 htb rate
> 1024kbps ceil 1024kbps 
> 
> tc class add dev wlan0 parent 1:1 classid 1:10 htb
> rate 1kbps ceil 64kbps  
> tc class add dev wlan0 parent 1:1 classid 1:20 htb
> rate 1kbps ceil 128kbps
> tc class add dev wlan0 parent 1:1 classid 1:30 htb
> rate 1kbps ceil 256kbps
> tc class add dev wlan0 parent 1:1 classid 1:40 htb
> rate 1kbps ceil 512kbps
> 
> 
> tc filter add dev wlan0 parent 1:0 protocol ip u32
> match ip dst 10.40.40.245 flowid 1:10
> tc filter add dev wlan0 parent 1:0 protocol ip u32
> match ip dst 10.40.40.246 flowid 1:20
> tc filter add dev wlan0 parent 1:0 protocol ip u32
> match ip dst 10.40.40.247 flowid 1:30
> tc filter add dev wlan0 parent 1:0 protocol ip u32
> match ip dst 10.40.40.248 flowid 1:40

kbps = k bytes/sec maybe you mean kbit for the rates.

Andy.


_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

  reply	other threads:[~2004-10-08 12:36 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-08  1:40 [LARTC] HTB weird problem Drink Linux
2004-10-08 12:36 ` Andy Furniss [this message]
2004-10-08 13:04 ` Drink Linux
2004-10-08 14:58 ` Andy Furniss
2004-10-08 15:06 ` Jason Boxman
2004-10-09  8:50 ` Drink Linux
2004-10-09 13:04 ` Andy Furniss

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=416689BB.6070506@dsl.pipex.com \
    --to=andy.furniss@dsl.pipex.com \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox