Re: [ns] ns2 post-analysis of the trace files
Hi Samer, I agree that Tracegraph could not provide us with the output we desire. But anyways, how can i base that my scripts were correct. As for that matter, could you share how you perform your post-analysis for new wireless format. Your help will be much appreciated. Thanks On 2/24/07, Samer Bali [EMAIL PROTECTED] wrote: hi all, I used Tracegraph to analyse trace file of ns-2. I found that it works good when there is no frequent packet drops and retransmission. In a simulation where a large packet drops and retransmission exist (for example in my case I used the shadowing model in the PHY layer and used a multihop scenario with up to 4 hops) Tracegraph fails to give a correct analysis results. I think that Tracegraph CANNOT BE TRUSTED in all simulation scenarios. One should check his results using another tool (do some sample checks with awk or perl or grep command). Yours, Samer - Original Message - From: Old Maven [EMAIL PROTECTED] To: ns-users@ISI.EDU Sent: Saturday, February 24, 2007 7:29 PM Subject: Re: [ns] ns2 post-analysis of the trace files I used ns2 simulator to create trace files in two formats from tdma simulation. 1) old wireless format 2) new wireless format I usually feed this to tracegraph to get my results and plot them. I have been looking for custom AWK/PERL scripts to write those analysis myself. In the old wireless format , with some simple counts and pattern matching, i can find the generated packets, dropped packets and bytes, forwarded packets and bytes. But sent packets: i couldnt find anyway that matches with the output from the tracegraph file. And when i run the same scripts for the new wireless format .. [ i mean the idea same with counts ] , most of the parameters differ. Basically, i have to come up with scripts to calculate average delay, variation in delays (or jitter), throughput in bits per seconds, packets generated/sent/forwarded/dropped. Is there any available scripts already, or any documentation that can lead me to find the exact definition of how to calculate these.[ in the new wireless format ]. I tried this link http://mailman.isi.edu/pipermail/ns-users/2004-September/044669.htmlfrom the archives, but no luck. Thanks
Re: [ns] ns2 post-analysis of the trace files
I used ns2 simulator to create trace files in two formats from tdma simulation. 1) old wireless format 2) new wireless format I usually feed this to tracegraph to get my results and plot them. I have been looking for custom AWK/PERL scripts to write those analysis myself. In the old wireless format , with some simple counts and pattern matching, i can find the generated packets, dropped packets and bytes, forwarded packets and bytes. But sent packets: i couldnt find anyway that matches with the output from the tracegraph file. And when i run the same scripts for the new wireless format .. [ i mean the idea same with counts ] , most of the parameters differ. Basically, i have to come up with scripts to calculate average delay, variation in delays (or jitter), throughput in bits per seconds, packets generated/sent/forwarded/dropped. Is there any available scripts already, or any documentation that can lead me to find the exact definition of how to calculate these.[ in the new wireless format ]. I tried this link http://mailman.isi.edu/pipermail/ns-users/2004-September/044669.html from the archives, but no luck. Thanks
Re: [ns] ns2 post-analysis of the trace files
hi all, I used Tracegraph to analyse trace file of ns-2. I found that it works good when there is no frequent packet drops and retransmission. In a simulation where a large packet drops and retransmission exist (for example in my case I used the shadowing model in the PHY layer and used a multihop scenario with up to 4 hops) Tracegraph fails to give a correct analysis results. I think that Tracegraph CANNOT BE TRUSTED in all simulation scenarios. One should check his results using another tool (do some sample checks with awk or perl or grep command). Yours, Samer - Original Message - From: Old Maven [EMAIL PROTECTED] To: ns-users@ISI.EDU Sent: Saturday, February 24, 2007 7:29 PM Subject: Re: [ns] ns2 post-analysis of the trace files I used ns2 simulator to create trace files in two formats from tdma simulation. 1) old wireless format 2) new wireless format I usually feed this to tracegraph to get my results and plot them. I have been looking for custom AWK/PERL scripts to write those analysis myself. In the old wireless format , with some simple counts and pattern matching, i can find the generated packets, dropped packets and bytes, forwarded packets and bytes. But sent packets: i couldnt find anyway that matches with the output from the tracegraph file. And when i run the same scripts for the new wireless format .. [ i mean the idea same with counts ] , most of the parameters differ. Basically, i have to come up with scripts to calculate average delay, variation in delays (or jitter), throughput in bits per seconds, packets generated/sent/forwarded/dropped. Is there any available scripts already, or any documentation that can lead me to find the exact definition of how to calculate these.[ in the new wireless format ]. I tried this link http://mailman.isi.edu/pipermail/ns-users/2004-September/044669.html from the archives, but no luck. Thanks