Re: [LARTC] netem usage example

2004-08-31 Thread Stephen Hemminger
On Tue, 31 Aug 2004 17:49:06 +0200
[EMAIL PROTECTED] wrote:

> I'm trying to setup a netem delay with no luck (using iproute2-2.6.8,
> compilation broke during arpd compile, so I use the
> tc binary in the tc/ subdir, there's also a q_netem.so there).

Just take arpd out of the Makfile if you don't need it.

> kernel is 2.6.8.1, compile with CPU cycle counter as time reference.
> I was using sch_delay of 2.6.7 happily with something like:
> tc qdisc add dev eth0 root 1: delay latency 1ms rate 35M
> now I use:
> tc qdisc add dev eth0 root netem latency 1ms
> and it complain about "unknown qdisc netem"

Netem is built as separate shared library, it expects to
be in /usr/lib/tc/q_netem.so

> 
> do you have usage example with the new netem "scheduler"?

See new website:
http://developer.osdl.org/shemminger/netem
___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


[LARTC] netem usage example

2004-08-31 Thread philippe . strauss
I'm trying to setup a netem delay with no luck (using iproute2-2.6.8,
compilation broke during arpd compile, so I use the
tc binary in the tc/ subdir, there's also a q_netem.so there).
kernel is 2.6.8.1, compile with CPU cycle counter as time reference.
I was using sch_delay of 2.6.7 happily with something like:
tc qdisc add dev eth0 root 1: delay latency 1ms rate 35M
now I use:
tc qdisc add dev eth0 root netem latency 1ms
and it complain about "unknown qdisc netem"

do you have usage example with the new netem "scheduler"?

thanks
___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/