[ns] Is there a data rate limitation for ns emulate?

2007-08-15 Thread jerry zhao

Hello,
I want to build a scenrio to emulate video streaming.
my real network topology is:

 A- - - - B- - - - -C
The NS was installed on Computer B.
The data rate is relative big(more than 30Mb/s). There is always
warnings  RealTimeScheduler:
warning:slop ... exceed limit 
And some packets are lost, but the bandwith is enough to transmit the video
data.
Could anyone tell me if there is a data rate limitation for ns emulate? Any
advice would be appreciated.
Thanks.

Jerry


[ns] scheduling error in eurane

2007-08-15 Thread ritesh srivastava


hello,
will somebody pls tell me how to simulate multi-user in eurane using
DCH channel.(eg 6 UE using DCH).

whenever i try to simulate with multi-users i get an error saying
scheduler going backwards in time from 15.0014 to 15.0012

i removed abort(); from (t  clock _) statement in scheduler.cc but then i get 
error segmentation fault; core dumped.

thanks in advance
ritesh

   
 
   
-
Pinpoint customers who are looking for what you sell. 


Re: [ns] Is there a data rate limitation for ns emulate?

2007-08-15 Thread Daniel Mahrenholz

jerry zhao schrieb:
 I want to build a scenrio to emulate video streaming.
 my real network topology is:

  A- - - - B- - - - -C
 The NS was installed on Computer B.
 The data rate is relative big(more than 30Mb/s). There is always
 warnings  RealTimeScheduler:
 warning:slop ... exceed limit 
 And some packets are lost, but the bandwith is enough to transmit the video
 data.
 Could anyone tell me if there is a data rate limitation for ns emulate? Any
 advice would be appreciated
ns-2 defines no limitation. However, ns-2 needs to process data packets 
almost in real-time and hence is limited by the speed of your hardware / 
operating system. If you emulate a wired network ns-2 will perform quite 
well. But for a wireless network performance requirements are much 
stronger (standard ns-2 will not be able to work at all for wireless 
networks in most cases).
But even if your CPU is fast enough, the operating system can introduce 
short but significant delays. To avoid them you should try the following:
- set ns-2 to run with real-time priority
- disable tracing
- use a multi-core / CPU system and pin ns-2 to one CPU / core
- disable other applications that write to the disk
- if you need tracing, buffer output in memory (ram disk)

For high-throughput emulations of wired networks you should consider a 
different emulator like NIST Net.

This should improve your results.

Daniel.

-- 
Dr.-Ing. Daniel Mahrenholz
rt-solutions.de GmbH
Oberländer Ufer 190a
D-50968 Köln

Web: www.rt-solutions.de

rt-solutions.de
networks you can trust.



[ns] validation results failed...

2007-08-15 Thread sushee g

Hello everyone,

   I have  installed successfully all the necessary packages but
when iam validating it shows that some tests failed like
./test-all-simultaneous ./test-all-xcp . I tried to re-run both the
tests but it again shows that some tests failed.It would be really
great if you can help me how to fix this problem.

Thanking you,
Susheela Gadi


-- 
Susheela Gadi
E-mail:[EMAIL PROTECTED]
Cell:610-570-3440



[ns] Problems running NS2 Emulation

2007-08-15 Thread Rodrigo Coelho

Dear Ping,

I was searching the whole day, and finally I got it  working in my system.
The first thing you have to do is to compile the nse (the emulator). It was 
quite tricky in my case. I had to install the libpcap packet before, and 
change some files. There is a good guide (in german) at 
http://www.welzl.at/research/projects/testbedeval/Bakkalaureatsarbeit_Klotz-Sigl.doc.
These are the steps I took:

1) try to compile the nse from /ns-x.xx folder: make nse
2) in my case it didnt work, I had then to download the libpcap from adept  
manager (I am using kubuntu) or from http://www.tcpdump.org/
3) I still got some errors and I had to alter the Makefile.in (NOT the 
Makefile!). Since we dont know which .o files are needed, all object files 
you find in your libcap folder must be included here:

$NSE):  $(OBJ) ...
(LINK) $(LDFLAGS) $(LDOUT)$@ \
/usr/libcap-0.7.2/bpf_dump.o \
/usr/libcap-0.7.2/bpf_filter.o \
/usr/libcap-0.7.2/bpf_image.o \
/usr/libcap-0.7.2/etherent.o \
/usr/libcap-0.7.2/gencode.o \
/usr/libcap-0.7.2/... .o \
...
common/tclAppInit.o $(OBJ) \
(OBJ_EMULATE_CC) $(OBJ_EMULATE_C) $(LIB)

4) ./configure
5) make nse

After that, you can use the emulator calling nse .tcl

Hope it solves your problem.
Best reagards,
Rodrigo



[ns] tcp.cc/tcp-sink.cc with varying packet size

2007-08-15 Thread Bartosz Biskupski

Hi all,

I was just wondering whether someone has a version of one-way TCP that
supports sending and receiving packets of different size (the ns
implementation always rounds up to packetSize_ bytes). I know there is
FullTCP, but I need one-way TCP in order to be able to use new
CUBIC/BIC/etc. congestion control protocols (available from:
http://www.cs.caltech.edu/~weixl/technical/ns2linux/index.html). Or
maybe anyone knows how to use these new protocols with FullTCP ?

Cheers,
Bartek



Re: [ns] please help me to install IEEE 802.11e HCCA.

2007-08-15 Thread jorbustos1


Hi BJ

To make the number 4 of process you should make the following:

you should save the patch in a file archive for example into the  /home and
then you go to the terminal and executing the following command:

cd /home/ns-allinone-2.29/ns-2.29

when you make this, you enter to working directory of ns-2.29, then, from
this working directory you should search the patch that you saved in /home
and apply it by executing the following command:

gzip -dc /home/ns2hcca-2.29-060823.patch.gz | patch -Np1

then, from the working directory of ns-2.29  you should execute the
following commands:
./configue
make clean
make


best regards

Jorge Bustos



   




ByungJoon Oh wrote:
 
 
 
 Dear All NS-users,
 
 I try to install ns2hcca source code decribed with website:
 http://info.iet.unipi.it/~cng/ns2hcca/
 However, I can't install about that.
 As described this website, I have followed the precedure of installation.
 But, I can't make sense of Number 4 of process. (attached by pic file).
 please advice me to get a clue.
 
 Thank you in advance.
 
 Best regards,
 BJ,
 

-- 
View this message in context: 
http://www.nabble.com/please-help-me-to-install-IEEE-802.11e-HCCA.-tf4250733.html#a12171329
Sent from the ns-users mailing list archive at Nabble.com.



[ns] node transmission range in ns2

2007-08-15 Thread Chris Yao

hi,
   
  I am using ns-allinone-2.31, 802.15.4.
   
  how do I set the transmssion range of one node?
   
  Thanks for reply,
   
  chris
   
   

   
-
Ready for the edge of your seat? Check out tonight's top picks on Yahoo! TV. 


[ns] request for tcl script

2007-08-15 Thread murugesh


hi
   i am murugesh.i planned to implement priority scheduler in
IEEE802.11B(MAC LAYER)using fuzzy logic .for that i need some parameter such
as expiry time,queue length,data rate from each packet.if any one know send
it in the form of tcl script or related idea. thanks in advance
 
regards
murugesh 
-- 
View this message in context: 
http://www.nabble.com/request-for-tcl-script-tf4240915.html#a12067372
Sent from the ns-users mailing list archive at Nabble.com.



[ns] need of ideas

2007-08-15 Thread aarthy kirupa

i have my problem in scheduling ie using interframe space technique.. this 
involves calculating of finished tag value for each packet,and in accordance 
with the finish tag value ie mapped to IFS. ie smaller finish tag is mapped to 
smaller ifs and is transmitted first.. whether this concept can be 
implemented.. waiting for any suggestions and ideas.. tcl script is also in 
need..
   
-
 Unlimited freedom, unlimited storage. Get it now