[ns] R: Re: Ask Google is not a polished answer, isn't it?

2008-04-28 Thread Marco Fiore


Dear Sidney and Hagen,

actually there's a way to include real 
application-level data in an ns-2 packet.
The manual has one section on 
this: http://www.isi.edu/nsnam/ns/doc/node516.html
Basically, it's all 
about defining an Application Data Unit (ADU) containing all the
desired data, to be attached to the basic packet.

bye,

Marco




[ns] about node energy

2008-04-28 Thread st04120348

can somebody tell me how can ı give different initial energy to nodes in
a simple wireless simulation






[ns] Avoid traces during simulations

2008-04-28 Thread Jamal Toutouh

Hello,

I want to simulate without using the standard trace file, because 
it spends a lot of time writing in the trace file.

Is there some trick to avoid the standard trace file?

Thank you...

 
Jamal Toutouh El Alamin
NEO Group - Networking and Emerging Optimization
University of Malaga

Phone: (+34) 952 13 33 03

Addres:
E.T.S Ingenieria Informatica
Complejo Tecnologico, Lab. 3.3.4b
Campus de Teatinos
29071 Malaga, Spain
-



  __ 
Enviado desde Correo Yahoo! La bandeja de entrada más inteligente.

Re: [ns] R: Re: Ask Google is not a polished ans wer, isn't it?

2008-04-28 Thread Hagen Paul Pfeifer


On Mon, 28 Apr 2008 09:31:50 +0100 (GMT+01:00), Marco Fiore
[EMAIL PROTECTED] wrote:

 Basically, it's all
 about defining an Application Data Unit (ADU) containing all the
 desired data, to be attached to the basic packet.

Mhh, looks like my advice to extend the Packet structure, enriched with
some
method wrappers to access the data, except the TCP handling.

HGN




Re: [ns] important: TCP packet size

2008-04-28 Thread Francesco Zampognaro

Packets coming from sink are ACKs, so 40 bytes in size (minimum TCP
packet size). If you want balanced transmission probably you need
tcp-full. Anyway I'm not familiar with that.

Bye

FZ

On Thu, 2008-04-24 at 18:29 +, cheki imane wrote:
 
 Hi all,i have a question which seems stupid but, i'had vreated a simple 
 network (2 nodes) tcp and tcp sink and i'd like to set the packets size =1000 
 bytes so i have used 'Agent/TCP set packetSize_ 1000'   'Agent/TCPSink set 
 packetSize_ 1000' '$tcp set packetSize_ 1000'   '$tcpsink set packetSize_ 
 1000' but in the trace file it is always 40 so i realy do not know what to do 
 i realy need your helpthank you
 _
 Sur Windows Live Ideas, découvrez en exclusivité de nouveaux services en 
 ligne... si nouveaux qu'ils ne sont pas encore sortis officiellement sur le 
 marché !
 http://ideas.live.com
-- 
Francesco Zampognaro 



[ns] Random function

2008-04-28 Thread jazia jaballah

hi,
i want to generate a random number of mobile nodes, if there is a function
already integrated in ns2 please let me know?
thanks!


[ns] OLSR simulation in ns2 and trace MPR

2008-04-28 Thread rauchy

Hi
Does any body use UM-OLSR or other to simulate a OLSR routing?
Thank for help



Re: [ns] Random function

2008-04-28 Thread Hagen Paul Pfeifer

* jazia jaballah | 2008-04-28 17:34:34 [+0200]:

i want to generate a random number of mobile nodes, if there is a function
already integrated in ns2 please let me know?

http://isi.edu/nsnam/ns/doc-stable/node208.html should be the answer. On the
other hand you can generate a pseudo-random number via the shell $((RANDOM))
and pass the number as an argument to the TCL script.

ns your-scenario.tcl $((RANDOM))

and in you tcl script (your-scenario.tcl) you can get the argument via

set rand_number [lindex $argv 0]

thanks!

You are welcome!

Hagen


-- 
Hagen Paul Pfeifer [EMAIL PROTECTED]  ||  http://jauu.net/
Key Id: 0x98350C22
Key Fingerprint: 490F 557B 6C48 6D7E 5706 2EA2 4A22 8D45 9835 0C22
Always in motion, the future is. 



[ns] Trace converter 1.01 source code is available to download for free

2008-04-28 Thread Jaroslaw Malek

Hello,
Trace converter 1.01 source code (.pas files to compile with Free Pascal) 
version is available to download for free at 
http://www.tracegraph.com/traceconverter.html.
This full version of Trace converter can convert ns-2 trace files of any size
to Trace graph format hundreds times faster than Trace graph 2.05.

Best regards,
Jaroslaw Malek



[ns] scenario for wimax

2008-04-28 Thread jazia jaballah

Hello,
I want to do the following scenario.i use  the  NIST  model for simulating
wimax networks.
the scenario consists of an evaluation of a wimax network :a three base
stations covering a certain region and a random number of subscribers
generated in random positions.
i want to define a fixed rate for three base stations for example 30Mbps and
offer the choice for mobile stations between  1Mbps and 2Mbps. i want to see
the change in parameters (throughput, budget link, bandwidth,...) for a
mobile station as it moves from one BTS to another.
i use xgraph for plotting.
is this scenario that I just described feasible under NS2 or not?
thank you


[ns] need hepl in calculating throughput, average access delay, access energy cost.

2008-04-28 Thread Divya G


hi all,
 I have implemented a two stage contention resolution protocol by making
changes in files ns-2.31/mac/mac-802_11.cc and ns-2.31/mac/mac-timers.I have
compiled changes in ns.I am not able to interprete the trace file...I have
turned MAC trace ON.
Can anybody help me out to calculate
throughput,average access delay,access energy cost for simple 802.11
MAC...so that I can calculate for my protocol...
 Thanks and regards...
   Divya
-- 
View this message in context: 
http://www.nabble.com/need-hepl-in-calculating-throughput%2Caverage-access-delay%2Caccess-energy-cost.-tp16825034p16825034.html
Sent from the ns-users mailing list archive at Nabble.com.