LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-25-2017, 07:39 AM   #31
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2017 CentOS6.9 CentOS7.4 + 50+ other Linux OS, for test only.
Posts: 16,755

Rep: Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329

Re #30.

More examples ? I guess you already have access to all ~2000 ns2 examples ?
https://drive.google.com/drive/folde...Ws?usp=sharing

? What do you mean by a third protocol ?

Other available protocols :
1. The Aqua-Sim addition slotted-fama, SFAMA : Mac/UnderwaterMac/SFAMA
2. DESERT_Underwater : http://nautilus.dei.unipd.it/desert-underwater
Underwater-Desert-ex.tar.gz
https://drive.google.com/file/d/0B7S...ew?usp=sharing
64bits application is available for Ubuntu 14.04 - amd64.
3. UWALOHA. Included in the aquasim. Mac/UnderwaterMac/UWALOHA
Example, sample-aloha.tcl https://drive.google.com/file/d/0B7S...ew?usp=sharing
4. NS2_UWSN, NS2 simulator for underwater sensor network, based on aquasim
https://github.com/albus2012/NS2_UWSN ( Buggy? ).

-
 
Old 06-25-2017, 01:04 PM   #32
Shaveta Kamra
Member
 
Registered: Jun 2017
Posts: 39

Original Poster
Rep: Reputation: Disabled
Hii Sir,

What do you mean by a third protocol ?

Means i want tcl files of QELAR protocol i.e another protocol of aqausim.Kindly provide me tcl of this.I am unable to find it from your previous links.

Thanks!
 
Old 06-25-2017, 01:49 PM   #33
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2017 CentOS6.9 CentOS7.4 + 50+ other Linux OS, for test only.
Posts: 16,755

Rep: Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329
Re #32.

What is QELAR protocol ? A link, please.
... and how would you install the application using QELAR ?




-

Last edited by knudfl; 06-25-2017 at 01:51 PM.
 
Old 06-28-2017, 03:33 AM   #34
Shaveta Kamra
Member
 
Registered: Jun 2017
Posts: 39

Original Poster
Rep: Reputation: Disabled
QELAR is just another protocol for UWSN like VBF and DBR..

Link:
http://ieeexplore.ieee.org/abstract/document/5422081/
https://www.computer.org/csdl/trans/...60796-abs.html
http://nueess.coe.neu.edu/nueess/ind...ensor_Networks

Last edited by Shaveta Kamra; 06-28-2017 at 04:26 AM.
 
Old 06-28-2017, 06:12 AM   #35
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2017 CentOS6.9 CentOS7.4 + 50+ other Linux OS, for test only.
Posts: 16,755

Rep: Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329
Re #33, #34.

I found no code for adding the QELAR protocol to Aqua-Sim.
 
Old 06-29-2017, 02:56 AM   #36
Shaveta Kamra
Member
 
Registered: Jun 2017
Posts: 39

Original Poster
Rep: Reputation: Disabled
Ok Sir..Thanks for help
 
Old 07-21-2017, 12:10 AM   #37
Shaveta Kamra
Member
 
Registered: Jun 2017
Posts: 39

Original Poster
Rep: Reputation: Disabled
Hello Sir,

I want to know which protocol consume more energy i.e Energy consumption and residual energy out of VBF, VBVA and DBR ?

Thanks in advance!

Last edited by Shaveta Kamra; 07-21-2017 at 12:12 AM.
 
Old 07-21-2017, 04:06 AM   #38
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2017 CentOS6.9 CentOS7.4 + 50+ other Linux OS, for test only.
Posts: 16,755

Rep: Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329
Re #37.

A) Example, vbf_example_3.tcl
Consumed energy : Read the text ...
1) The terminal output : "god: the energy consumped is 163.219638"
2) vbf_example_3.data : God : consumped_energy = 163.******

Residual energy : $ awk -f rd_nd_en.awk vbf_example_3.tr
→ Residual energy of node 0 is : 9978.152776

-----------------------

B) vbva_example.tcl : "god: the energy consumped is 27.814259"
$ ns-aqua-64 vbva_example.tcl >> vbva.txt
vbva.txt → "god: the energy consumped is 27.814259"

$ awk -f rd_nd_en.awk vbva_example.tr
Residual energy of node 0 is : 9998.700480

-----------------------

C) DBR1.tcl → DBR1.data → "God : consumped_energy = 39.411600"

----
The "top 20" awk scripts https://drive.google.com/file/d/0B7S...ew?usp=sharing


-

Last edited by knudfl; 07-21-2017 at 04:11 AM.
 
1 members found this post helpful.
Old 07-21-2017, 04:44 AM   #39
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2017 CentOS6.9 CentOS7.4 + 50+ other Linux OS, for test only.
Posts: 16,755

Rep: Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329
Re #38.

Add C) → CentOS 6.9 - i386 →
$ awk -f rd_nd_en.awk a.tr
Residual energy of node 0 is : 9992.916000
 
Old 07-22-2017, 04:18 AM   #40
Shaveta Kamra
Member
 
Registered: Jun 2017
Posts: 39

Original Poster
Rep: Reputation: Disabled
Re #37

Can Energy consumption and residual energy increases with the increase of number of nodes for each protocol?
 
Old 07-22-2017, 09:57 AM   #41
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2017 CentOS6.9 CentOS7.4 + 50+ other Linux OS, for test only.
Posts: 16,755

Rep: Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329
Re #40.

I don't know. Please make your own conclusions ....

Example, many nodes : vbf_example_6.tcl

Four runīs, four different results ...
$ ns-aqua vbf_example_6.tcl
god: the energy consumped is 116.551282
god: the energy consumped is 88.733548
god: the energy consumped is 101.351839
god: the energy consumped is 118.012511

And a random trace file for "residual"
$ awk -f rd_nd_en.awk vbf_example_6.tr
Residual energy of node 0 is : 9999.094960

-
 
  


Reply

Tags
aquasim, ns2


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Aqua-Sim in NS2 Shaveta Kamra Linux - Newbie 4 06-13-2017 02:35 AM
Aqua-Sim in NS2 Shaveta Kamra Linux - Newbie 3 06-07-2017 12:01 PM
Aqua-Sim in NS2 Shaveta Kamra Linux - Wireless Networking 1 06-07-2017 07:02 AM
aqua sim in ns2 - DBR protocol saye_s Linux - Software 71 03-04-2017 10:19 AM
NS2 and Aqua-sim Faiza Al-Salti Linux - Networking 3 06-12-2014 01:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration