[ns] Modeling nodes as bottlenecks (CPU time)

2007-06-14 Thread Joachim Fabini
Hi all, Searching the NS archives did not shed much light on this topic: is there a recommended procedure to model available computational resources (CPU time) within NS nodes? I'm just wondering how one could model the following scenario in NS: a node runs several distinct Agents. All Agents mu

[ns] NS validate tests - replace compress by gzip?

2007-03-12 Thread Joachim Fabini
Hi, just a (maybe heretic) proposal: is it feasible and possible to replace the utility with for test result compression in one of the future NS-2.x releases? The use of compression/decompression tools within test-all-template1 is currently rather inconsistent: it uses for test compression

Re: [ns] how to compile a cc file???

2007-01-19 Thread Joachim Fabini
> I change something in > ns-allinone-2.28\ns-2.28\mac\mac-802_11.cc file and after > saving it, I run the command make clean; make (I am using > cygwin). The change is just a print statement that should > appear in the simulation result. > After that, I run the tcl simulation code again, but

Re: [ns] 'recv' function under Agent/Ping class

2007-01-19 Thread Joachim Fabini
> In the ping program 'ping.tcl', a 'recv' function has been > defined under the class 'Agent/Ping'. > Please tell me where this 'recv' function has been called > from, as i could not find any place in ' ping.tcl' where it > has been called. See the PingAgent::recv() member function (apps/ping

Re: [ns] NS tutorial update proposal

2007-01-12 Thread Joachim Fabini
Hi Pedro, > You are, of course, 100% correct - the tutorial is outdated > and its very confusing to first time users. > > One problem is that, in general, NS2 users ask much, but > contribute little when they have their questions solved - > either by the help of somebody, or by their own.

[ns] NS tutorial update proposal

2007-01-11 Thread Joachim Fabini
Hi all, I noticed that section VII of Marc Greis' tutorial is seriously out of sync with the NS 2.30 sources. First, the ping example is now included in the apps directory of the ns distribution (this is worth mentioning in the tutorial text), Second, some functionality has been added to the