netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 2.6.16.19 0/2] LARTC: trace control for netem
@ 2006-08-02 17:21 Rainer Baumann
  2006-08-02 18:19 ` Stephen Hemminger
  0 siblings, 1 reply; 6+ messages in thread
From: Rainer Baumann @ 2006-08-02 17:21 UTC (permalink / raw)
  To: Stephen Hemminger, netdev

Hi,

We developed an extension to the network emulator netem, that provides
emulation of long term network properties such as long-range dependence
and self-similarity of cross-traffic. It is not possible to emulate
these properties with the  statistical tables for the packet delay
values used by the original netem.

We read the values for the packet delay, drop, loss and corruption from
a pre-generated trace file. This trace file is obtained by monitoring
network traffic and writing all actions to a trace file. During the
emulation the packets get processed according the values in such a trace
file. Detailed information are available on our
Webseitehttp://tcn.hypert.net

A new option (trace) has been added to the netem command. If the trace
option is used, the values for packet delay etc. are read from a trace
file, afterwards the packets are processed by the normal netem functions.
The packet action values are readout from the trace file in user space
and sent to kernel space via procfs.

The evaluation results show similar behavior for our enhancement and the
original netem with respect to packet delay precision and packet loss at
high load (e.g. 80'000 packets per second).
It is possible to add, change or delete multiple netem qdiscs on-the-fly
(original netem qdiscs and trace qdiscs mixed).

We are looking forward for any comments, feedback and suggestions!

Thanks,
Rainer




^ permalink raw reply	[flat|nested] 6+ messages in thread
* [PATCH 2.6.16.19 0/2] LARTC: trace control for netem
@ 2006-08-22 14:32 Rainer Baumann
  2006-08-22 21:37 ` Stephen Hemminger
  0 siblings, 1 reply; 6+ messages in thread
From: Rainer Baumann @ 2006-08-22 14:32 UTC (permalink / raw)
  To: Stephen Hemminger, netdev, netem

This is the revised trace extension to the network emulator netem.
This extension provides emulation control based on pregenerated traces.

We first submitted this patch on 2nd of August, in the mean time 
we integrated the comments from Stephen and fixed the listed things.

Cheers,
Rainer


-------- Original Message --------
Subject: 	Re: [PATCH 2.6.16.19 0/2] LARTC: trace control for netem
Date: 	Wed, 2 Aug 2006 11:19:21 -0700
From: 	Stephen Hemminger <shemminger@osdl.org>
To: 	Rainer Baumann <baumann@tik.ee.ethz.ch>
CC: 	netdev@VGER.KERNEL.ORG, netem@osdl.org
References: 	<44D0DF17.6060809@tik.ee.ethz.ch>

> On Wed, 02 Aug 2006 19:21:27 +0200
> > Rainer Baumann <baumann@tik.ee.ethz.ch> wrote:
> >
> >   
>> >> Hi,
>> >>
>> >> We developed an extension to the network emulator netem, that provides
>> >> emulation of long term network properties such as long-range dependence
>> >> and self-similarity of cross-traffic. It is not possible to emulate
>> >> these properties with the  statistical tables for the packet delay
>> >> values used by the original netem.
>> >>
>> >> We read the values for the packet delay, drop, loss and corruption from
>> >> a pre-generated trace file. This trace file is obtained by monitoring
>> >> network traffic and writing all actions to a trace file. During the
>> >> emulation the packets get processed according the values in such a trace
>> >> file. Detailed information are available on our
>> >> Webseitehttp://tcn.hypert.net
>> >>
>> >> A new option (trace) has been added to the netem command. If the trace
>> >> option is used, the values for packet delay etc. are read from a trace
>> >> file, afterwards the packets are processed by the normal netem functions.
>> >> The packet action values are readout from the trace file in user space
>> >> and sent to kernel space via procfs.
>> >>
>> >> The evaluation results show similar behavior for our enhancement and the
>> >> original netem with respect to packet delay precision and packet loss at
>> >> high load (e.g. 80'000 packets per second).
>> >> It is possible to add, change or delete multiple netem qdiscs on-the-fly
>> >> (original netem qdiscs and trace qdiscs mixed).
>> >>
>> >> We are looking forward for any comments, feedback and suggestions!
>> >>
>> >> Thanks,
>> >> Rainer
>> >>     
> >
> > I like the idea and want to get it incorporated.
> >
> > Major things that need fixing:
> > * Don't extend size of tc_netem_qopt instead use a new netlink
> >   payload.
> >     + add type to TCA_NETEM_ enum
> >     + new structure containing the payload
> >   This allows for binary compatiablity.
> >
> > * Don't use proc for a interface to netem features. Use netlink.
> >   Either add a new command (or option) to the iproute2 commands
> >   to handle flow table, or add a new payload.
> >
> >
> > Minor stuff:
> > * the bzero macro in netem is a BSDism, just use memset
> > * bad indentation and style issues.
> > * minor whitespace damage in several places in patch
> >
> > -
> > To unsubscribe from this list: send the line "unsubscribe netdev" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at  http://vger.kernel.org/majordomo-info.html
> >   



^ permalink raw reply	[flat|nested] 6+ messages in thread
* [PATCH 2.6.16.19 0/2] LARTC: trace control for netem
@ 2006-09-22  6:12 Rainer Baumann
  0 siblings, 0 replies; 6+ messages in thread
From: Rainer Baumann @ 2006-09-22  6:12 UTC (permalink / raw)
  To: Stephen Hemminger, netdev, netem

Trace Control for Netem: Emulate network properties such as long range dependency and self-similarity of cross-traffic.

A new option (trace) has been added to the netem command. If the trace option is used, the values for packet delay etc. are read from a pregenerated trace file, afterwards the packets are processed by the normal netem functions. The packet action values are readout from the trace file in user space and sent to kernel space via configfs.

After our patches from 2nd and 22th of August we have integrated the comments from Stephen and hope we are on the right way now.

We are looking forward for any comments, feedback and suggestions!




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

end of thread, other threads:[~2006-09-22  6:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-02 17:21 [PATCH 2.6.16.19 0/2] LARTC: trace control for netem Rainer Baumann
2006-08-02 18:19 ` Stephen Hemminger
2006-08-02 19:02   ` Rainer Baumann
  -- strict thread matches above, loose matches on Subject: below --
2006-08-22 14:32 Rainer Baumann
2006-08-22 21:37 ` Stephen Hemminger
2006-09-22  6:12 Rainer Baumann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).