All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] jitter generation
@ 2005-10-21  9:57 ciprian niculescu
  2005-10-21 10:09 ` Oscar Mechanic
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: ciprian niculescu @ 2005-10-21  9:57 UTC (permalink / raw)
  To: lartc

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?

Thanks

Ciprian
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

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

* Re: [LARTC] jitter generation
  2005-10-21  9:57 [LARTC] jitter generation ciprian niculescu
@ 2005-10-21 10:09 ` Oscar Mechanic
  2005-10-21 15:15 ` Andy Furniss
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Oscar Mechanic @ 2005-10-21 10:09 UTC (permalink / raw)
  To: lartc


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.
 
On Fri, 2005-10-21 at 11:57 +0200, ciprian niculescu wrote:
> 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?
> 
> Thanks
> 
> Ciprian
> _______________________________________________
> LARTC mailing list
> LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

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

* Re: [LARTC] jitter generation
  2005-10-21  9:57 [LARTC] jitter generation ciprian niculescu
  2005-10-21 10:09 ` Oscar Mechanic
@ 2005-10-21 15:15 ` Andy Furniss
  2005-10-22 15:35 ` BUCHMULLER Norbert
  2005-10-22 17:06 ` Scott Lamb
  3 siblings, 0 replies; 5+ messages in thread
From: Andy Furniss @ 2005-10-21 15:15 UTC (permalink / raw)
  To: lartc

ciprian niculescu wrote:
> 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
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

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

* Re: [LARTC] jitter generation
  2005-10-21  9:57 [LARTC] jitter generation ciprian niculescu
  2005-10-21 10:09 ` Oscar Mechanic
  2005-10-21 15:15 ` Andy Furniss
@ 2005-10-22 15:35 ` BUCHMULLER Norbert
  2005-10-22 17:06 ` Scott Lamb
  3 siblings, 0 replies; 5+ messages in thread
From: BUCHMULLER Norbert @ 2005-10-22 15:35 UTC (permalink / raw)
  To: lartc

On Fri, 21 Oct 2005 11:57:22 +0200
ciprian niculescu <cnicules@4email.net> wrote:

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

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

* Re: [LARTC] jitter generation
  2005-10-21  9:57 [LARTC] jitter generation ciprian niculescu
                   ` (2 preceding siblings ...)
  2005-10-22 15:35 ` BUCHMULLER Norbert
@ 2005-10-22 17:06 ` Scott Lamb
  3 siblings, 0 replies; 5+ messages in thread
From: Scott Lamb @ 2005-10-22 17:06 UTC (permalink / raw)
  To: lartc

On 22 Oct 2005, at 08:35, BUCHMULLER Norbert wrote:
> 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.

-- 
Scott Lamb <http://www.slamb.org/>

_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

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

end of thread, other threads:[~2005-10-22 17:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-21  9:57 [LARTC] jitter generation ciprian niculescu
2005-10-21 10:09 ` Oscar Mechanic
2005-10-21 15:15 ` Andy Furniss
2005-10-22 15:35 ` BUCHMULLER Norbert
2005-10-22 17:06 ` Scott Lamb

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.