From: "Mark Williams (MWP)" <mwp@internode.on.net>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Weighted packet shaping?
Date: Wed, 29 Dec 2004 06:52:34 +0000 [thread overview]
Message-ID: <20041229065042.GA29441@linux.comp> (raw)
In-Reply-To: <20041221034303.GB27656@linux.comp>
> >Ok...
> >Using your script gave the following (from 17:30 onwards):
> >
> >http://www.overclockers.com.au/~mwp/temp/tc-1hour-yours.png
>
> This is strange I just tested again and it works for me.
>
> http://www.jessingale.dsl.pipex.com/tc-speed-1.png
>
> Blue is lowest with rate 20kbit green next low with 40kbit Red highest.
The result your getting is exactly what im after.
So whats different with what im doing... hrm.
> It may be worth trying with ceils even lower - just incase you get radsl
> adaption and don't really have the bandwidth.
Nah, i have firm 256kbit up.
> I suppose you should also use tc from new iproute2 that matches your kernel.
Ok, where is the correct place to get it from?
I havnt been able to find the official "release site" for iproute2.
> rrdtool seems complicated - I suppose it could be averaging strangely, I
> used -
>
> #set -x
> /usr/local/rrdtool-1.0.49/bin/rrdtool create tcstats1.rrd --step 10 \
> DS:cls21:COUNTER:30:U:U \
> DS:cls22:COUNTER:30:U:U \
> DS:cls23:COUNTER:30:U:U \
> RRA:AVERAGE:0.5:1:100
>
> while [ 1 ]
> do
> C21=`tc -s qdisc ls dev ppp0 | grep "21:" -A 1 | grep Sent |
> awk '{print $2}'`
> C22=`tc -s qdisc ls dev ppp0 | grep "22:" -A 1 | grep Sent |
> awk '{print $2}'`
> C23=`tc -s qdisc ls dev ppp0 | grep "23:" -A 1 | grep Sent |
> awk '{print $2}'`
> /usr/local/rrdtool-1.0.49/bin/rrdtool update tcstats1.rrd
> N:$C21:$C22:$C23
> sleep 10
> done
Thats very similar to what im doing, nothing too complex about it.
I also know the graph is correct as the estimated rates from TC are the same as
shown on the graph.
So this is becoming an unknown problem?
Thanks.
Mark Williams.
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
next prev parent reply other threads:[~2004-12-29 6:52 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-21 3:55 [LARTC] Weighted packet shaping? Mark Williams (MWP)
2004-12-22 4:53 ` Mark Williams (MWP)
2004-12-22 9:07 ` Ed Wildgoose
2004-12-22 13:49 ` Andy Furniss
2004-12-22 15:48 ` Mark Williams (MWP)
2004-12-22 22:54 ` Andy Furniss
2004-12-23 10:56 ` Mark Williams (MWP)
2004-12-24 14:08 ` Andy Furniss
2004-12-24 15:19 ` Mark Williams (MWP)
2004-12-24 16:36 ` Andy Furniss
2004-12-26 4:38 ` Mark Williams (MWP)
2004-12-26 13:09 ` Andy Furniss
2004-12-28 9:35 ` Mark Williams (MWP)
2004-12-29 2:46 ` Andy Furniss
2004-12-29 6:52 ` Mark Williams (MWP) [this message]
2004-12-29 13:26 ` Francisco Pereira
2004-12-30 0:05 ` Andy Furniss
2005-01-03 11:22 ` marco ghidinelli
2005-01-04 13:57 ` 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=20041229065042.GA29441@linux.comp \
--to=mwp@internode.on.net \
--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 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.