All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] [tcng] drawing with gnuplot
@ 2002-07-19 17:48 raptor
  2002-07-19 21:58 ` Werner Almesberger
  0 siblings, 1 reply; 2+ messages in thread
From: raptor @ 2002-07-19 17:48 UTC (permalink / raw)
  To: lartc




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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [LARTC] [tcng] drawing with gnuplot
  2002-07-19 17:48 [LARTC] [tcng] drawing with gnuplot raptor
@ 2002-07-19 21:58 ` Werner Almesberger
  0 siblings, 0 replies; 2+ messages in thread
From: Werner Almesberger @ 2002-07-19 21:58 UTC (permalink / raw)
  To: lartc

raptor@unacs.bg 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.

> 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".

> 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

-- 
  _________________________________________________________________________
 / Werner Almesberger, Buenos Aires, Argentina         wa@almesberger.net /
/_http://icapeople.epfl.ch/almesber/_____________________________________/
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-07-19 21:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-19 17:48 [LARTC] [tcng] drawing with gnuplot raptor
2002-07-19 21:58 ` Werner Almesberger

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.