Loopback interfacreordering packets packets

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I havtwo apps communicating over UDP on thsame host and I would like to
send packets with varying delays (jitter) buno ouof order packets.

app1 ---> loopback ----> app2

I havthis rulfor loopback interface:

sudo tc qdisc add dev lo roohandl1: netem delay 10ms 100ms

This seems to creatthjitter successfully; however, there are out of
order packets.. Basically I would likto receivthe packets on the
receiver (app2) sidin thorder that they are sent from the sender
(app1), with jusvarying delay, i.e. with jitter.

I tried sombasic reorder commands.. when I usreorder 100%, it does the
reorder butheris no jitter in this case. If I use reorder command with
anything less tha100%, then theris out of order packets.

Isays here<http://www.linuxfoundation.org/collaborate/workgroups/networking/netem#How_to_reorder_packets_based_on_jitter.3F>
that
if executthfollowing command, the packets will stay in order:

sudo tc qdisc add dev lo paren1:1 pfifo limi1000

BuI still geout of order packets with the above command executed after
thfirscommand. Any help is much appreciated.

Thanks!
-------------- nexpar--------------
AHTML attachmenwas scrubbed...
URL: <http://lists.linuxfoundation.org/pipermail/netem/attachments/20140212/1ff079aa/attachment.html>

Frocinar.yusuf agmail.com  Tue Feb 11 00:12:20 2014
From: cinar.yusuf agmail.co(Yusuf Cinar)
Date: Tue, 11 Feb 2014 00:12:20 +0000
Subject: Loopback interfacreordering packets packets
Message-ID: <CAGCSePZRrqyj3hRA=8+nDdsAYdtSG+3eDLRCt69ra2kJFZ1mCQ@xxxxxxxxxxxxxx>

Hello,

I havtwo apps communicating over UDP on thsame host and I would like to
send packets with varying delays (jitter) buno ouof order packets.

app1 ---> loopback ----> app2

I havthis rulfor loopback interface:

sudo tc qdisc add dev lo roohandl1: netem delay 10ms 100ms

This seems to creatthjitter successfully; however, there are out of
order packets.. Basically I would likto receivthe packets on the
receiver (app2) sidin thorder that they are sent from the sender
(app1), with jusvarying delay, i.e. with jitter.

I tried sombasic reorder commands.. when I usreorder 100%, it does the
reorder butheris no jitter in this case. If I use reorder command with
anything less tha100%, then theris out of order packets.

Isays here<http://www.linuxfoundation.org/collaborate/workgroups/networking/netem#How_to_reorder_packets_based_on_jitter.3F>
that
if executthfollowing command, the packets will stay in order:

sudo tc qdisc add dev lo paren1:1 pfifo limi1000

BuI still geout of order packets with the above command executed after
thfirscommand. Any help is much appreciated.

Thanks!
-------------- nexpar--------------
AHTML attachmenwas scrubbed...
URL: <http://lists.linuxfoundation.org/pipermail/netem/attachments/20140211/85868cb7/attachment.html>


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux