LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 06:39 AM   #31
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641

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, 12: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, 12:49 PM   #33
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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 12:51 PM.
 
Old 06-28-2017, 02: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 03:26 AM.
 
Old 06-28-2017, 05:12 AM   #35
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

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

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

Original Poster
Rep: Reputation: Disabled
Ok Sir..Thanks for help
 
Old 07-20-2017, 11:10 PM   #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-20-2017 at 11:12 PM.
 
Old 07-21-2017, 03:06 AM   #38
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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 03:11 AM.
 
1 members found this post helpful.
Old 07-21-2017, 03:44 AM   #39
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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, 03: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, 08:57 AM   #41
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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

-
 
Old 04-24-2018, 02:11 PM   #42
DeepakJustone
LQ Newbie
 
Registered: Feb 2018
Posts: 9

Rep: Reputation: Disabled
Red face for DBR , VBF , VBVA deployed 60 nodes

hi sir,,,,

i am working in ns-aqua-el6 .....

established three file of DBR , VBF , VBVA deployed 60 nodes as shown given below:


https://drive.google.com/open?id=1Zv...ekTasu6ZzgULrm

i want to get parameters results of awk file download from your link ie "top 20 awk"

https://drive.google.com/file/d/0B7S...hMdFNyQU0/view

but many of them are not working.

I want to get parameters files for thease below...


throughput
PDR
E2E delay
residual energy
packet drop

above are not working giving errors please help me to resolve this problem.......
 
Old 04-24-2018, 04:55 PM   #43
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Re #42.

When using new files which create new trace files :
Sometimes you will have to test ~200 scripts to find "usable".

Scripts tested OK with your three trace files ...

`throughput : Avg_Tput.awk
`residual energy : rd_nd_en.awk
`packet drop : packet-drop.pl, drop.awk, packets-dropped-received.awk
`PDR : PDR_zhibinwu.awk
`Delay : Avg_Del.awk, tess-delay.awk, End-to-End-Delay##.pl

All ~250 scripts, and overview.txt
https://drive.google.com/drive/folde...7T?usp=sharing

Plot graphs : ns2 APP-Tool (throughput, residual energy, avg. delay)
http://mohittahiliani.blogspot.dk/20...-tool-for.html
https://github.com/WiNG-NITK/APP-Tool

-

Last edited by knudfl; 04-24-2018 at 05:04 PM.
 
1 members found this post helpful.
Old 04-25-2018, 03:10 AM   #44
DeepakJustone
LQ Newbie
 
Registered: Feb 2018
Posts: 9

Rep: Reputation: Disabled
Red face how to use pearl executions

for packet drop how can i use packet-drop.pl,

and for end to end delay how can i use End-to-End-Delay##.pl


please explain in detail.

i am unable to find packet drop and End-to-End-Delay.

no result found.

awk -f packets-dropped-received.awk DBR60.tr
The no.of packets dropped : 0
The no.of packets recieved : 6246


awk -f drop1.awk DBR60.tr
0 0
..please resolve
 
Old 04-25-2018, 03:36 AM   #45
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Re #43.

Well, you could just search how to use "perl".
The perl command is an interpreter like wish, ns, python, etc.
Code:
$ perl packet-drop.pl DBR60.tr
$ perl End-to-End-Delay##.pl DBR60.tr
 
1 members found this post helpful.
  


Reply

Tags
aquasim, ns2



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 01:35 AM
Aqua-Sim in NS2 Shaveta Kamra Linux - Newbie 3 06-07-2017 11:01 AM
Aqua-Sim in NS2 Shaveta Kamra Linux - Wireless Networking 1 06-07-2017 06:02 AM
aqua sim in ns2 - DBR protocol saye_s Linux - Software 71 03-04-2017 09:19 AM
NS2 and Aqua-sim Faiza Al-Salti Linux - Networking 3 06-12-2014 12:46 AM

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

All times are GMT -5. The time now is 07:44 PM.

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
Open Source Consulting | Domain Registration