Skip to contentSkip to conversation

jitter generation

LARTC ciprian niculescu 5 participants 5 messages Oct 21, 2005 – Oct 22, 2005

lore
Share & tools
lore
#1 lore raw

Using nth or random from iptables set a mark then set the tc filter for different BW's based on different marks.

You could drop the packets but that is not really jitter more compensation testing.

Also play around with burst in HTB but you will need more than one call for this to be useful.

Quoted 7 lines · ciprian niculescu

Hi,

in a project i must degrade the voip/video, i know to do latency (tbf), but i don't know how to create jitter. I want to do it on a router/bridge and not the generating equipment. Any have a idea, or know a piece of code that do it?

Quoted 7 lines

Thanks

Ciprian
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

#2 lore raw
In reply to ciprian niculescu
Quoted 7 lines · ciprian niculescu

Hi,

in a project i must degrade the voip/video, i know to do latency (tbf), but i don't know how to create jitter. I want to do it on a router/bridge and not the generating equipment. Any have a idea, or know a piece of code that do it?

Use netem -

http://linux-net.osdl.org/index.php/Netem

Andy.
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

#3 lore raw
In reply to ciprian niculescu
Quoted 4 lines · On Fri, 21 Oct 2005 11:57:22 +0200 ciprian niculescu <[email protected]>…

in a project i must degrade the voip/video, i know to do latency (tbf), but i don't know how to create jitter. I want to do it on a router/bridge and not the generating equipment. Any have a idea, or know a piece of code that do it?

Hello,

I've never tried, but the "Network emulator" (CONFIG_NET_SCH_NETEM) from the kernel QoS code does the very same thing (according its configure help section).

Let us know if (and how:-) it works, please. (I'm very interested.)

norbi

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

#4 lore raw
In reply to ciprian niculescu
Quoted 6 lines · BUCHMULLER Norbert

I've never tried, but the "Network emulator" (CONFIG_NET_SCH_NETEM) from
the kernel QoS code does the very same thing (according its configure help section).

Let us know if (and how:-) it works, please. (I'm very interested.)

I just tried it the other day. It's surprisingly easy to use and you can simulate a lot of conditions.

Documentation is lacking, but this wiki page helps a lot:

http://linux-net.osdl.org/index.php/Netem

You may need a pretty modern kernel. I hit a crash bug in one of RedHat's customized 2.6.9 kernels. The people on the netdev list mentioned a chance since then that may have fixed it. Haven't tried it yet, but the same operation worked fine for them.

Signature · 6 lines
Scott Lamb <http://www.slamb.org/>

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc