[ns] Having Trouble printing Aggregate Packet Loss

2010-06-24 Thread Yida Gao
Hi Everyone, I have a code that monitors the packet loss every couple of seconds. However, I am trying to also, at the end of my simulation, have ns2 print the total packets dropped by each sink. But I get an error message when I run the simulation. I think the problem has to do with the

[ns] Monitoring Packet Loss of TCP connection

2010-06-23 Thread Yida Gao
Hi, I am simulating a TCP/FTP to TCP/FTP network and trying to monitor the packet loss. I am able to monitor and graph data regarding the TCPSinks' bytes received, but I can't monitor packet loss. Why is it that the TCPSink Agent has a variable for bytes (bytes_) but not one for monitoring

[ns] How to Monitor Queue in NS2

2010-06-23 Thread Yida Gao
I need some quick help on monitoring packet loss. How do I use the drop-trace command in NS2 to create a trace file of all of the packets dropped over the course of a simulation? If drop-trace is the wrong command to use, which command should I use to monitor the number of packets dropped at a

[ns] Existing Application Models

2010-06-21 Thread Yida Gao
Dear ns2 Users, I am an undergraduate student doing some work in Cambridge, MA on NS2. As my project/paper relates to simulating different types of applications like FTP, RTP, and SIP, which relate to commercial products (VoIP, Skype, email, bittorrent, http, etc) and congestion, I was wondering

[ns] NS-2 Workbench

2010-06-21 Thread Yida Gao
Hi All, Has anyone tried NS-2 Workbench (nsBench)? If so, what do you think? I discovered it recently and would be happy to hear feedback about it. It seems like a great tool for beginners and experts alike for modeling with ns2. link: http://www.mnlab.cs.depaul.edu/projects/nsbench/ -Yida

[ns] Does NS2 have support for Multi-Core Processors?

2010-06-18 Thread Yida Gao
Hi Everyone, I am running a Quad Core (AMD Phenom II X4 965) on Ubuntu 10.04, and I was wondering if NS2 supported multi-core processing. Thanks for the help.

[ns] Trouble running simple-rtp.tcl

2010-06-17 Thread Yida Gao
Hi All, I get the error message below. I know that I need to change dst_ to dst_ addr_, however, I do not know what files contain the dst_ that I must change. Any help is much appreciated. I am running ns2 allinone 2.34 and Ubuntu 10.04 LTS. warning: no class variable Session/RTP::debug_