Silly Computer Engineer.
Lin~Jing~Sen
Something as small as the flutter of the butterfly's wing
can ultimately cause a typoon half way around the world
Group Blog
มุม@สาธารณะ
มุม@thesis
มุม@network
Joomla
All Blogs
Memory Leak (2) : DMALLOC ตอนที่ 1
*** glibc detected *** free(): invalid next size (fast): 0x092d77f8 ***
ns: scheduler going backwards in time from
Memory Leak (0) : How can I make my Perl program take less memory?
stimulate = กระตุ้น
22 กุมภา สอบโครงร่าง
หรือว่าถึงเวลา
ก้อคงดี
สิ่งแรกที่ควรสนใจ
C++ Error:: redefinition of
ต่อๆกัน
Connect Object with TCL
Design and Implementation
เริ่มนับ 1 ใหม่
Turn off radio feature + ทำไมต้อง 3 วินาที
3 nodes in line เล็กลง ก็เห็นชัดขึ้น
SMAC bug fixed and Configuration
NS2 - SMAC bug and GDB
NS2 SMAC - Validation test
NS2 Validation Test ไม่เห็นโลงศพไม่หลั่งน้ำตา
Master Simulation V1.0 and Proposal
Thai Latex บน Windows
ผิดแล้วผิดอีก
NS2 ภาค 2 in 1
NS2 ภาค วิธีการ simulate 200 scenarios
NS2 ตอน Energy Log และ Initial Energy ให้กับโหนด
NS2 ภาค version 1.0 release 1.1 เสร็จสมบูรณ์
NS2 ภาค ลงมือทำ ตอน หัดเดิน
Advisor coming soon ....yes!
NS2 ภาค ทะลวง souce code ด้วย Understand for C++
THESIS ตอน Dictionary
PAPER ตอน CONFIDANT
NS2 ภาค Energy Model ตอน เปิด source code (work around)
NS2 ภาค Energy Model ตอน ความสัมพันธ์กับปริมาณข้อมูลที่จะส่ง (work around)
NS2 ภาค Wireless ตอน TCP (มีปัญหา)
NS2 ภาค trace file
NS2 ภาค shadowing ตอน ถามเพื่อนถึงความแปลกๆ
NS2 ภาค Energy Model
NS2 ภาค shadowing propagation model
NS2 ภาค ก่อนปรับ scenario ใหม่ ตอน Propagation Model
NS2 ภาค โหนดไหน พลังงานจะหมดก่อน ใน 3 Nodes
NS2 ภาค DSR + Energy
NS2 ภาค testsuit / trace format
NS2 ภาค Class Hierachy มันเยอะจนรวบรวมไม่ไหวแระ
NS2 ภาค C++ (cont2) ตอน C++ มันช่างล้ำลึก
Thesis -- แนวคิด 1 -- พระพุทธเจ้า
NS2 ภาค C++ (cont)
สรุปแผนการ หลัง 1 เทอมผ่านไป
NS2 ภาค C++
NS2 ภาค 2 - C++/OTcl Split Objects
NS2 ภาค 1.1
NS2 ภาค 1
งงตัวแปร local globol บน tcl หวะ
V 1.1 in progress and NS2 on cygwin
resource-oriented V1.0 - sample test
node-oriented VS resource-oriented
อะไรคือปัญหา
หลังจากกลับมาจากพัทยา
NS2 ภาค โหนดไหน พลังงานจะหมดก่อน ใน 3 Nodes
ไฟล์ 00_wireless_tor_3_nodes_energy.tcl
scenario นี้ เราวางโหนดไว้เฉย 3 โหนด เรียงกัน แล้วให้โหนดซ้ายสุด(n0) ส่งข้อมูลแบบ cbr ไปโหนด ขวาสุด(n2) โดยผ่านโหนดกลาง (n1) เพื่อดูว่าโหนดใดพลังงานจะหมดก่อนกัน
ใช้ DSR เป็น routing protocol
พลังงานเริ่มต้น 0.500000 Joules ทุกโหนด
n0 เริ่มส่งเมื่อเวลา 0.5 s
ดังรูป
เวลา 1.22
โหนดกลาง(n1) เริ่มพลังงานต่ำลงจนกลายเป็นสีเหลือง
trace :
r 1.225738249
_1_
MAC --- 161 cbr 70 [13a 1 0 800] [
energy 0.249270
] ------- [0:0 2:0 32 1] [140] 1 0
s 1.225748249
_1_
MAC --- 0 ACK 38 [0 0 0 0] [
energy 0.249270
]
เวลา 1.31
โหนดที่ส่ง(n0) พลังงานเริ่มหมด
trace file :
s 1.310000000 _0_ RTR --- 183 cbr 70 [0 0 0 0] [
energy 0.247664
] ------- [0:0 2:0 32 1] [162] 0 0
ในที่สุด
เวลา 1.63
โหนดกลาง(n1) ก็กลายเป็นสีแดง และไม่เหลือพลังงานพอที่จะสามารถ forward packet ไปให้ n2 ได้อีกต่อไป
เมื่อ
เวลา 1.92
trace file:
r 1.637738190 _1_ MAC --- 0 RTS 44 [64e 1 0 0] [
energy 0.097733
]
s 1.637748190 _1_ MAC --- 0 CTS 38 [514 0 0 0] [
energy 0.097733
]
...
...
...
r 1.916423708 _1_ MAC --- 0 RTS 44 [64e 1 0 0] [
energy 0.000158
]
s 1.916433708 _1_ MAC --- 0 CTS 38 [514 0 0 0] [
energy 0.000158
]
สาเหตุ
จาก config ของโหนด ที่ให้
transmission power 0.6
receive power 0.3
-rxPower 0.3 \\\\ # watt
-txPower 0.6 \\\\ #watt
# watts = joules/seconds.
1.โหนดกลาง,n1, พลังงานหมดก่อนเนื่องจากใช้พลังงานทั้งรับและส่ง
2.โหนดส่ง,n0,พลังงานหมดก่อนโหนดรับ,n2,เพราะพลังงานที่ใช้ส่งสูงกว่า
Next step
ต่อไปก็จะปรับเปลี่ยนอะไรๆให้ตรงกับความเป็นจริงมากขึ้นเช่น propagation model , communication rage เป็นต้น
Create Date : 15 พฤษภาคม 2548
Last Update : 16 พฤษภาคม 2548 2:31:06 น.
3 comments
Counter : 658 Pageviews.
Share
Tweet
อยากได้โปรรแกม NS-2 แต่ไม่รู้จะติดตั้งยังไงช่วยหน่อยครับ ช่วยส่งวิธีติดตั้งมาให้ผมหน่อยครับทางเมลล์ chanin_99@hotmail.com
โดย: เอก IP: 161.246.1.32 วันที่: 7 ตุลาคม 2550 เวลา:13:46:34 น.
อยากได้โปรแกรมมาทำวิจัย เรื่อง MANET ครับ ท่านใด มีs/w รบกวนส่งให้หน่อยนะครับ ยิ่งได้คูมือการติดต้งและการ Config ด้วยยิ่งดีเลยครับ ส่วมาที่ pairot@northbkk.ac.th
โดย: HS9SPU IP: 203.155.46.52 วันที่: 2 สิงหาคม 2551 เวลา:17:25:10 น.
พี่ๆครับ ค่า RSSI ใน NS-2 มันหาได้จากไหนอ่ะคับ
ถ้าใครทราบช่วยตอบกลับด้วยน่ะคับ
โดย: Nick IP: 202.12.74.254 วันที่: 5 มีนาคม 2553 เวลา:21:51:01 น.
ชื่อ :
Comment :
*ใช้ code html ตกแต่งข้อความได้เฉพาะสมาชิก
nmapxp
Location :
กรุงเทพ Thailand
[Profile ทั้งหมด]
ฝากข้อความหลังไมค์
Rss Feed
ผู้ติดตามบล็อก : 1 คน [
?
]
Friends' blogs
โขมงโฉงเฉง
แ ม ง ป อ
BlogGang.com
Luckpong
Webmaster - BlogGang
[Add nmapxp's blog to your web]
Links
googig
Wikipedia
WebOpedia
NS2
Google -Scholar
ikkyonline
packetstormsecurity
CVE
Chula - Webmail
Ple Blog
ACM-SIGCOMM
ACM-Mobicom
IEEE-INFOCOM
IEEE-ICDCS
IEEE-ICNP
Chaai space
one1wan
NS2 FAQ1
How to measure packet loss rate, jitter, and end-to-end delay for UDP-based applications?
BlogGang.com
Pantip.com
|
PantipMarket.com
|
Pantown.com
| © 2004
BlogGang.com
allrights reserved.