2010-02-12

WIMAX RTG TTG




Transition Gap
Transmit/receive transition gap (TTG)

- A gap between the downlink burst and the subsequent
uplink burst in a TDD transceiver
- During TTG, BS switches from transmit to receive mode
and SSs switch from receive to transmit mode ( TDD switching timing: ( 13µs < TTG < 55µs ) with SOFDMA modulation

Receive/Transmit transition gap (RTG)

- A gap between the uplink burst and the subsequent
downlink burst in a TDD transceiver
- During RTG, BS switches from receive to transmit mode
and SSs switch from transmit to receive mode ( TDD switching timing 13µs < RTG < 55µs ) with SOFDMA modulation
- The gap is an integer number of PS durations and
starts on a PS boundary

2010-02-11

NS2 IFQ

d -t 3.797866667 -Hs 0 -Hd -2 -Ni 0 -Nx 15.00 -Ny 15.00 -Nz 0.00 -Ne -1.000000 -Nl RTR -Nw IFQ -Ma 0 -Md 0 -Ms 0 -Mt 0 -Is 0.2 -Id 3.0 -It cbr -Il 220 -If 0 -Ii 19844 -Iv 30 -Pn cbr -Pi 3307 -Pf 0 -Po 0

發生IFQ時候

封包會被丟棄

是因為queue滿了

2010-02-07

ns2-debug-tool

在撰寫NS2的過程中,compiler一定會遇到大大小小的錯誤,最令我厭惡的不外乎就是Segmentation fault (core dumped) 與 Floating point exceptionns, 特別是Segmentation fault 這種錯誤,要是不用tool根本很難找出它錯誤的地方. 為了解決這種錯誤, 就要請 "Valgrind" 出馬嚕(之前有試過gdb但是他回報的錯誤訊息太模糊了囧a,有時根本找不出錯誤真正的地方) !! 但是有個缺點~就是利用Valgrind來debug時會很花時間, 事事無完美嚕~只要找得出bug,就是好tool!!

Debug 指令: valgrind --tool=memcheck --leak-check=full --db-attach=yes ns ***.tcl > *** (valgrind 還有其他的option可以參考下列網址).

reference :
http://kaku26.blogspot.com/2008/06/blog-post_2013.html
 blog it