* [LARTC] Delay packets by 50ms
@ 2004-10-08 22:38 Anshuman Kanwar
2004-10-08 22:54 ` Stephen Hemminger
2004-10-09 3:40 ` Anshuman Kanwar
0 siblings, 2 replies; 3+ messages in thread
From: Anshuman Kanwar @ 2004-10-08 22:38 UTC (permalink / raw)
To: lartc
Hi all,
I am trying to solve a tiny problem that is trivial to
solve using dummynet (FreeBSD).
I just want to add a delay of 50ms to each outgoing
packet from an interface. This is to simulate a large
pool of multiple modem users so I also need to add b/w
limits etc (which seems to be easy to do).
From the mailing list I could fine 2 qdiscs that can
simulate latency : "delay" & "netem". Neither of them is
working on my setup though ( Fedora core2 [2.6.5] or RHEL
3.0 update 2 or gentoo [2.6.8] ). Is something special
needed to enable these qdiscs ?
I tried applying the patch
(http://www.uwsg.iu.edu/hypermail/linux/net/0403.2/0019.h
tml) and recompiled the kernel but the tc command returns
"RTNETLINK answers: Invalid argument".
What am I doing wrong ?
Thanks much,
-ansh
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [LARTC] Delay packets by 50ms
2004-10-08 22:38 [LARTC] Delay packets by 50ms Anshuman Kanwar
@ 2004-10-08 22:54 ` Stephen Hemminger
2004-10-09 3:40 ` Anshuman Kanwar
1 sibling, 0 replies; 3+ messages in thread
From: Stephen Hemminger @ 2004-10-08 22:54 UTC (permalink / raw)
To: lartc
On Fri, 2004-10-08 at 15:38 -0700, Anshuman Kanwar wrote:
> Hi all,
>
> I am trying to solve a tiny problem that is trivial to
> solve using dummynet (FreeBSD).
>
> I just want to add a delay of 50ms to each outgoing
> packet from an interface. This is to simulate a large
> pool of multiple modem users so I also need to add b/w
> limits etc (which seems to be easy to do).
>
> >From the mailing list I could fine 2 qdiscs that can
> simulate latency : "delay" & "netem". Neither of them is
> working on my setup though ( Fedora core2 [2.6.5] or RHEL
> 3.0 update 2 or gentoo [2.6.8] ). Is something special
> needed to enable these qdiscs ?
delay was my earlier name, netem is the current one.
Netem went in to mainline kernel 2.6.8 (also 2.4.27)
> I tried applying the patch
> (http://www.uwsg.iu.edu/hypermail/linux/net/0403.2/0019.h
> tml) and recompiled the kernel but the tc command returns
> "RTNETLINK answers: Invalid argument".
You probably need to build/run newer version of tc
see http://developer.osdl.org/dev/iproute2
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: [LARTC] Delay packets by 50ms
2004-10-08 22:38 [LARTC] Delay packets by 50ms Anshuman Kanwar
2004-10-08 22:54 ` Stephen Hemminger
@ 2004-10-09 3:40 ` Anshuman Kanwar
1 sibling, 0 replies; 3+ messages in thread
From: Anshuman Kanwar @ 2004-10-09 3:40 UTC (permalink / raw)
To: lartc
Hi Stephen,
Getting the latest iproute2 solved my problem.
Thanks!
-----Original Message-----
From: Stephen Hemminger [mailto:shemminger@osdl.org]
Sent: Friday, October 08, 2004 3:55 PM
To: Anshuman Kanwar
Cc: lartc@mailman.ds9a.nl
Subject: Re: [LARTC] Delay packets by 50ms
On Fri, 2004-10-08 at 15:38 -0700, Anshuman Kanwar wrote:
> Hi all,
>
> I am trying to solve a tiny problem that is trivial to
solve using
> dummynet (FreeBSD).
>
> I just want to add a delay of 50ms to each outgoing
packet from an
> interface. This is to simulate a large pool of multiple
modem users so
> I also need to add b/w limits etc (which seems to be
easy to do).
>
> >From the mailing list I could fine 2 qdiscs that can
> simulate latency : "delay" & "netem". Neither of them
is working on my
> setup though ( Fedora core2 [2.6.5] or RHEL 3.0 update
2 or gentoo
> [2.6.8] ). Is something special needed to enable these
qdiscs ?
delay was my earlier name, netem is the current one.
Netem went in to mainline kernel 2.6.8 (also 2.4.27)
> I tried applying the patch
>
(http://www.uwsg.iu.edu/hypermail/linux/net/0403.2/0019.h
> tml) and recompiled the kernel but the tc command
returns "RTNETLINK
> answers: Invalid argument".
You probably need to build/run newer version of tc see
http://developer.osdl.org/dev/iproute2
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-10-09 3:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-08 22:38 [LARTC] Delay packets by 50ms Anshuman Kanwar
2004-10-08 22:54 ` Stephen Hemminger
2004-10-09 3:40 ` Anshuman Kanwar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox