Skip to contentSkip to conversation

drawing with gnuplot

LARTC [email protected] 2 participants 2 messages Jul 19, 2002

lore
Share & tools
lore
#0 lore raw

hi,

Is there a way with tcsim to see how different channels got used i.e. say I have three channels

egress {
	class(<$a>) if ip_src = 192.168.0.1;
	class(<$b>) if ip_src = 192.168.0.2;
	class(<$c>) if ip_src = 192.168.0.3;

	htb(...) {
		$a = class { htb(rate X1, ceil Y1 ...) };
		$b = class { htb(rate X2, ceil Y2 ...) };
		$c = class { htb(rate X3, ceil Y3 ...) };
	}
}

now I want to "send" alot of packets in different speeds from these three addreses and see how channels got used when borrowing happens and in what proportions .... as I saw in the examples of the tcsim i see only E,D stuff... in fact the examples are very hard to undersand... I read the whole tcng there is no one full example of say cbq and/or tbf usage (for beginners :") ). :"(

thanx alot

PS. I got errors on "make test", tommorow will save it on fdd and will post them on the list .... There is one good news HTB is included in Mandrake 8.2 :"), so i dont need to patch.
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#1 lore raw
Quoted 2 lines · [email protected] wrote:

Is there a way with tcsim to see how different channels got used i.e. say I have three channels

There's no general way to distinguish classes (*). However, since you select by source IP address, you can let tcsim_filter split flows by that:

tcsim ... | tcsim_filter ... src | tcsim_plot

(*) In principle, I could export skb->tc_index, which is always set
when using the egress or ingress qdiscs, but since skb->tc_index gets assigned some more-or-less arbitrary values, additional information would be needed to make this data useful. Perhaps something to consider after switching from tcsim to umlsim.

Quoted 2 lines

I read the whole tcng there is no one full example of say cbq and/or tbf usage (for beginners :") ). :"(

Not sure if this helps, but there is examples-ng/tbf

In general, the tcng documentation doesn't try to explain how to use the qdiscs (semantics, parameters, etc.), since all that is basically the same as with "tc".

Quoted 2 lines

PS. I got errors on "make test", tommorow will save it on fdd and will post them on the list ....

"make test" errors are always interesting :-)

- Werner

Signature · 6 lines
  _________________________________________________________________________
 / Werner Almesberger, Buenos Aires, Argentina         [email protected] /
/_http://icapeople.epfl.ch/almesber/_____________________________________/
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/