[ns] energy model

2011-01-20 Thread Subha Uthayaraj

Hi all,

I am using energy model in my Tcl code. And my trace file contents are like
this.

N -t 0.001920 -n 333 -e 999.83

How to analyze trace file in such case?

How to identify sent received dropped packets?

Thank you.

-- 
Regards,
Subha


Re: [ns] energy model

2011-01-20 Thread Manoj_Kumar



Subha Uthayaraj wrote:
 
 N -t 0.001920 -n 333 -e 999.83
 How to analyze trace file in such case?
 How to identify sent received dropped packets?
 

I googled on this topic for 15 minutes and I ended up with the following
solutions:

[1] Energy model update in ns2 
   http://goo.gl/Bm1T1

[2] Extensions to ns2 documentation(read page number 9 onwards)   
   http://goo.gl/hE5ic

-
---
ManojKumar.A
---
Blog: http://getch.wordpress,com
Mailing list guidelines: http://goo.gl/xC874
-- 
View this message in context: 
http://old.nabble.com/energy-model-tp30717007p30717234.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] how to calculate throughput from a trace file

2011-01-20 Thread Manoj_Kumar



Teena Sha wrote:
 
 i have created a tcl file for a wireless network. and i am using booth TCP
 and UDP transmission . plese help me how to calculate throughput of this
 network. which filed i have to use to calculate throughput.
 

A simple google search could give you the solution. You havent taken an
effort to do so. A mailing list should be the ultimate place to post your
queries when you haven't got the solution from other means.

Regarding your problem, you need to analyze the trace file generated to
calculate the throughtput.
Perl scripts to calculate throughput and other such tasks could be found
here: goo.gl/poQYs

-
---
ManojKumar.A
---
Blog: http://getch.wordpress,com
Mailing list guidelines: http://goo.gl/xC874
-- 
View this message in context: 
http://old.nabble.com/how-to-calculate-throughput-from-a-trace-file-tp30716247p30717284.html
Sent from the ns-users mailing list archive at Nabble.com.



[ns] delaying when processing a packet in a node

2011-01-20 Thread Akbar Hosseinkhani

Dear all,

Can anyone suggest a way to delay packet processing in a node(not in a
link)?

Thanks in advance.


[ns] [bug] No Policy Table entry found for Source 29360129-Destination 4194306

2011-01-20 Thread nforh larry

[Bug Report]

-
Category:  Other
Package:   ns ns.2.29
OS:Ubuntu
Environment Variables:
LD_LIBRARY_PATH=_o318 
TCL_LIBRARY=
TK_LIBRARY=


-
Description:

 No Policy Table entry found for Source 29360129-Destination 4194306



[ns] [bug] Policer Table: srTCM policer code point 9 is policed to yellow code point 12 and

2011-01-20 Thread nforh larry

[Bug Report]

-
Category:  Other
Package:   ns ns.2.29
OS:Ubuntu
Environment Variables:
LD_LIBRARY_PATH=_o501
TCL_LIBRARY=
TK_LIBRARY=


-
Description:

My output read as follows:
Flow (9 to 15): srTCM policer, initial code point 10, CIR 100.0 bps, CBS 
2000.0 bytes, EBS 3000.0 bytes.
Flow (12 to 15): srTCM policer, initial code point 10, CIR 100.0 bps, CBS 
2000.0 bytes, EBS 6000.0 bytes.

I add that policy to policy table and phb table and this is what I got instead:
ns: [Simulator instance] get-link-head 14 8: can't read link_(14:8): no such 
element in array
while executing
$link_($n1:$n2) head
(procedure _o3 line 3)
(Simulator get-link-head line 3)
invoked from within
[Simulator instance] get-link-head 14 8

I will appreciate your kind help on how to fix this
Tobby