omnetpp.vec and omnetpp.sca. you will find in the code that I ask OMNeT++ to record the progression of queue lengths and statistics on number of generated and received packets in each host, end-to-end packet delays, packet sizes and hop counts. When the simulation ends, in the working directory there should be two files created:
omnetpp.vec the queue size progression data, and
omnetpp.sca the collected statistics on various network data, such as average end-to-end delays, number of generated and received packets etc.
perl, awk, sed or similar tools to extract and/or combine data. You can also use OMNeT++'s own scalars and plove tools (as introduced in the TicToc tutorials). Let's first investigate the contents of the scalars.sca file by issuing this command: scalars omnetpp.sca. You will see that there are lots of things we can check. Let's say we are particularly interested in the number of packets generated by each host. We choose #received as the scalar name of interest, then "apply filter" to reduce the list. Afterwards, if click on the "bar chart" icon at the top, we get the following graph:
app_gen module of each host. As one can expect, the number of generated packets for each host is pretty close.
In the next tutorial we will use this network to run a series of simulations to generate a graph of offered traffic Vs average end-to-end delay.
| Topic ANetworkOf4HostsAnd2PacketSwitches . { Edit | Attach | Ref-By | Printable | Diffs | r1.16 | > | r1.15 | > | r1.14 | More } |
|
Revision r1.16 - 06 Nov 2008 - 00:48 GMT - AhmetSekercioglu Parents: WebHome > Tutorials |
Copyright © 1999-2003 by the contributing authors.
All material on this collaboration platform is the property of the contributing authors. Ideas, requests, problems regarding TWiki? Send feedback. |