Re: [ns] new wireless trace format

2007-02-26 Thread David Bath
Hey there, Thanks for reply. This is the same sort of conclusion I came to - but I'm not quite sure how to check that, and whether it falls into the Click or ns domain... I've cross-posted to the Click list, so they might have some suggestions. I don't understand well enough the tracing

Re: [ns] new wireless trace format

2007-02-26 Thread David Bath
Thanks once again for the reply. . . Had a read through cmu-trace.cc, and I'm not 100% convinced I can tell where newtrace_ is being set. I may be wrong, but the fact that I /am/ getting node tracing for the lower layers (MAC, AGT etc) when using nsclick (for info: when using nsclick, the

Re: [ns] Tracegraph CANNOT BE TRUSTED in all simulation scenarios

2007-02-26 Thread Samer Bali
Hi all, As I said, it depends on what you want to extract from the trace file. In my case, for example, one parameter that I want to calculate is the average normalized throughput. I defined it as the ratio between the useful throughput or goodput (received data packets without duplication

Re: [ns] new wireless trace format

2007-02-26 Thread David Bath
Hi Matthias, Thanks very much for the reply. I had a look in ns-lib.tcl, and found that use-newtrace sets the variable: Simulator set WirelessNewTrace_ 1 I've tried setting this manually, but it makes no difference. Just to reiterate - either versions works when straight ns is used, but

Re: [ns] new wireless trace format

2007-02-26 Thread David Bath
Hey there, Thanks for all the help. I've put several lines of debug into this function, and can now confirm it's being called, and that argc does indeed == 3. However, crucially (strcmp(argv[1], newtrace) never evaluates to 0, and therefore the newtrace_ variable is never set. Do you (or

Re: [ns] new wireless trace format

2007-02-26 Thread David Bath
For info: when I run the nsclick scripts, argv[1] is always equal to namattach or target if this helps. Cheers, Dave -Original Message- From: ?e Olbert [mailto:[EMAIL PROTECTED] Sent: 26 February 2007 10:05 To: David Bath Subject: Re: [ns] new wireless trace format Hi! its set here

Re: [ns] Multi-interface support howto

2007-02-26 Thread Tim Elschner
hi, i guess there is something wrong on ns-lib.tcl for some reason chan is set as a usual variable. if you follow the modifications of the document correctly, chan is used as an array in case of mutliple interfaces. the problem might hide somewhere in here: if {[info exists

[ns] Stop and resume NS simulation

2007-02-26 Thread Alban X
Hi Does anyone know if there is a method in ns to stop the simulation and resume it later? thnx

Re: [ns] new wireless trace format

2007-02-26 Thread David Bath
Hey Matthias (et al), Many thanks for reply, much appreciated. $ns_ use-newtrace is done very early in my tcl script, and it seems to work assuming I don't use a clicknode. Something is going a little bit wrong with node-config I think... ns-clicknode.tcl is a subclass of ns-mobilenode.tcl

[ns] Help me in creating MPLS network

2007-02-26 Thread jenefa jebarani
Hi, any one kindly please help me in creating MPLS network efficiently in Ns2. Please do tell me the commands like, 1. flow aggrregation 2. LDP setup 3. LDP release etc - Cheap Talk? Check out Yahoo! Messenger's low PC-to-Phone call rates.

Re: [ns] new wireless trace format

2007-02-26 Thread David Bath
Hey Matthias, Further to previous emails, I've also tried forcing Simulator set WirelessNewTrace_ 1 in ns-default.tcl It's definitely being set (debug line), but the output log is still in old format. So, I suppose the problem must be somewhere in the nsclick stuff? It's either resetting

Re: [ns] need help on wireless simulation

2007-02-26 Thread romzyi prasetyo
I want to observe the queue scheduling inside the router node,here is the complete picture: FTP0 | tcp0 | n1 \ sink0 \ / n2 - - - - - - - - - - -n3 / \ /

[ns] help needed to analyse directed diffusion trace format!!!

2007-02-26 Thread Chitra Magar
Hi all, I am using directed diffusion for my simulation. Can anyone help me to analyse directed diffusion trace format? Thanks in advance. s 1.559003000 _2_ AGT --- 7 diffusion 0 [0 0 0 0] --- [2:254 2:255 32 0] s 1.559298000 _2_ MAC --- 8 diffusion 52 [0 2 800] --- [2:255

Re: [ns] new wireless trace format

2007-02-26 Thread David Bath
Perfect. In CMUTrace::CMUTrace(const char *s, char t) : Trace(t) { Changed newtrace_ = 0 to newtrace_ = 1 } And it seems fine - and reporting correct positions in the trace (at least in my very first quick tests). Thanks for the help! Best Regards, Dave -Original

[ns] print the distination address.

2007-02-26 Thread Albalas F \(AT\)
Hi all., I am working on MAODV algorithm, during my program tracing I tried to print out the destination address, the command I did is Printf ( the destination address is %d \n@,ih-daddr()) The program works fine but the output for this command is always 234881024. I think this

[ns] obstacle mobility model

2007-02-26 Thread ibrahim koda
Hi ALL i have simulated (DSR,AODV,DSDV) using Manhattan and Random Waypoint.I want to check the performance of these adhoc protocols in real environment.i looked for added obstacle mobility model for more realistic work. thanks for any suggestion with regards ibrahim khider

[ns] obstacle mobility model in urban area

2007-02-26 Thread ibrahim koda
Hi ALL i have simulated (DSR,AODV,DSDV) using Manhattan and Random Waypoint.I want to check the performance of these adhoc protocols in real environment.i looked for using obstacle mobility model for more realistic work.How i can use obstacle mobility model?. thanks for any

Re: [ns] general question about delay

2007-02-26 Thread ben
Hi, I dont know about DSR protocol. I think delay can be add to your simulation by using this formula. delay = number of bits / link bitrate . For example, if you can find out the number of bits that you want to transmit and the link bitrate. You can simulate the transmission delay. Then, the

Re: [ns] wimax NIST module print statistics option

2007-02-26 Thread ritesh kalle
Hi I am using the NIST libraries for WiMAX from NIST on a Fedora Core 4 machine. Iam successfully able to simulate and obtain results for bandwidth and throughput when I awk and grep on them. But, I know there is a default print statistics option in the ns-wimax.tclfile. Even if I change

[ns] Implementing LAN Switch

2007-02-26 Thread Aditya
Hi, I m working on implementing LAN Switch. Can anyone tell me if we have to follow any specific design philosophy while extending NS2? Do we have to stick to the original implementation or we can make modifications as required (Classes and objects)??? Thanx