[ns] Installation warnings - lanRouter::debug_
Hi When I install ns-2.30 on Suse Linux (v. 10.1) ns compile correctly but when I run the validation test some warning like this appears: ../../ns test-suite-lan.tcl lan-routing-flat QUIET warning: no class variable LanRouter::debug_ see tcl-object.tcl in tclcl for info about this warning. and it gives the same error when running any program that contains new Lan or Make Lan Please let me know if any solution exist Foozhan Hosseini
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
[ns] Looking for awk script for calculating energy comsumption, throughput
Hi all, I am looking for awk script to evalutate wireless simulation using directied diffusion for RMST. I would be grateful if any body can provide awk script for calculatiing energy consumption, throughput and delay. Sincerely, Chitra Magar Shanghai, China
Re: [ns] new wireless trace format
Hi List, A small update on this. I've been working today to try and find a more precise set of conditions. It seems I can't produce a new trace format if I use the a mobile node of type Click. As suggested in the nsclick papers, I am using Simulator set node_factory_ Node/MobileNode/ClickNode As soon as I do that, the use-newtrace directive appears to be being ignored. I can't really find out a sensible combination of options to get more precise than this - purely that something about using a ClickNode prohibits traces in the new format. Any thoughts very gratefully received! Best Regards, Dave -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Bath Sent: 25 February 2007 00:02 To: ns-users@ISI.EDU Subject: Re: [ns] new wireless trace format Hi list, Try as I might, I can't get my wireless traces to spit out in new format. I'm using nsclick (compiled with ns2 version 2.3) and it seems to otherwise be performing fine. However, when I try the well-documented: set ns_ [new Simulator] set tracefd [open filename w] $ns_ use-newtrace $ns_ trace-all $tracefd The output resolutely comes out in old format. I've also tried setting: Simulator set WirelessNewTrace_ 1 (as seems to be in the ns-lib.tcl) And Simulator set newTraceFormat_ 1 (as seems to be indicated in http://www.isi.edu/nsnam/ns/doc/node185.html) But no joy. Any suggestions would be very welcome. Best Regards, Dave Bath University of Bristol, UK
[ns] flooding.tcl (hierarchical network)
I have been trying to run the flooding.tcl example but using a hierarchical network (created using sgb2hierns), yet it didn't work. It seems the code does not find the right neighbour nodes, I wonder what I'm missing? The example work perfect on a flat network. Cheers, Z
Re: [ns] new wireless trace format
Hi Shaili, Thanks for reply. However, as you can see from my original post, I have tried that command. It does not produce the results as expected. Indeed, if you read my updated post, you will see that it only seems to not work when I'm using Click mobilenodes. Under this condition it seems to be ignored. Any other thoughts would be much appreciated! Best Regards, Dave From: Shaili Desai [mailto:[EMAIL PROTECTED] Sent: 26 February 2007 05:55 To: David Bath Subject: Re: [ns] new wireless trace format You need the command $ns_ use-newtrace and that will get you new format. Hope this helps! On 2/24/07, David Bath [EMAIL PROTECTED] wrote: Hi list, Try as I might, I can't get my wireless traces to spit out in new format. I'm using nsclick (compiled with ns2 version 2.3) and it seems to otherwise be performing fine. However, when I try the well-documented: set ns_ [new Simulator] set tracefd [open filename w] $ns_ use-newtrace $ns_ trace-all $tracefd The output resolutely comes out in old format. I've also tried setting: Simulator set WirelessNewTrace_ 1 (as seems to be in the ns-lib.tcl) And Simulator set newTraceFormat_ 1 (as seems to be indicated in http://www.isi.edu/nsnam/ns/doc/node185.html) But no joy. Any suggestions would be very welcome. Best Regards, Dave Bath University of Bristol, UK -- Thanx Shaili Desai Master's Candidate Telecommunications and Management University of Maryland,College Park,USA
[ns] help needed
im a new user of ns-2.. im doin my final yr project in ns-2... can anyone pls temme how to perform video transmission using 802.11e WLANs in NS2... can anyone giv the ns2 source codes.for performin tis task... i wud b more thankful to u.. pls send me the details