Midterm Reminder and Seating Arrangement

Date: March 10, 2014
Time: 2:00pm to 3:30pm
Venue: MPSH 2 Section A

Coverage: Lecture 1-5, Problem 1-4, DIY Exercise 1-2

One sheet of single-layer, double-sided, A4 crib sheet allowed.

A ruler and a calculator would be useful.

Seating Arrangement:

  1. A YUSUF SHAMIR
  2. AASHVI BANA
  3. ABUZAR S/O YAKARAM
  4. ADINDA AYU SAVITRI
  5. AI YUE GUO
  6. ALFATHI ARZAINI
  7. ALICIA YEO KAI NING
  8. ALTRON LEE FU GUANG
  9. ANDRIANTO LIE
  10. ANG HUI LOON
  11. ANG RUI SHAN
  12. ASHISH TAYAL
  13. ATUL NANDAKUMAR
  14. BACH NGOC THANH CONG
  15. BAI XUEFENG
  16. CAO SHUWEI
  17. CAO YUBO
  18. CHAN JUN WEI
  19. CHANG YAN QIAN
  20. CHEAH KIT WENG
  21. CHEN CHI
  22. CHEN FANG
  23. CHEN TONGTONG
  24. CHENG WEN ZHAO
  25. CHEU WEE LOON
  26. CHIA WEI MENG ALEXANDER
  27. CHIAM ZHIJIE JONATHAN
  28. CHNG YUAN ZHANG MAURICE
  29. CHOO XIN MIN
  30. CHRISTOPHER MARSHALL LAIRD
  31. CHU BING HAN BRYAN
  32. CHUA CHIN SIANG
  33. CHUA RUI JUN
  34. CHUA WEI LIANG
  35. CHUA YI JING
  36. DAO THAI DUY
  37. DU ZHIYUAN
  38. ENG TENG CHUAN
  39. FAN YUXIN
  40. FLORENCE WAI TZE YUN
  41. GAN JIA HUI
  42. GANGADEVI D/O BALAKRISHNAN
  43. GAO RISHENG
  44. GARY GUO
  45. GE WEIXUN
  46. GOH HIM LING
  47. GOH JIAQUAN
  48. GOH JINWEI WINSTON
  49. GOH XUE LI
  50. GUNESS VARSHA
  51. GUO YUEHENG
  52. GUPTA ARPIT BRIJ
  53. HAN LE
  54. HAN WOAN NI
  55. HAN XIANGYU
  56. HE LINGFEI
  57. HO CHEK SEEN
  58. HO TUAN DUONG
  59. HU YI FEI
  60. HUANG QINGHUI, NICOLAS
  61. HUANG YUE
  62. HUANG ZHANXIANG
  63. IAN LEOW TZE WEI
  64. IPSITA MOHAPATRA
  65. IVAN TJAHJONO
  66. JACOB TAN JIA WEN
  67. JAYARAMAN ARCHANA
  68. JIANG YUMIN
  69. JOANNE MAH JIA WEN
  70. JOEY HOK WAI YI
  71. JOSEPH GOH SEOW MENG
  72. KELVIN HO WEN BIN
  73. KHAN SAIM SAEED
  74. KHOO WEI LIP
  75. KHUSHNAZ R KARAI
  76. KHYATHI NIRMAL KUMAR
  77. KIM JEONGKYU
  78. KIM JOO YEON
  79. KIN FUNG ANTONY TSE
  80. KO CHUAN YAO GLEN
  81. KOH JUN XIANG
  82. KOH JUN YANG
  83. KUEK SHAO NING
  84. LAI YIT HANN
  85. LANG FAN
  86. LAW TAO RUI JERROLD
  87. LEE HUI SHAN
  88. LEE LI HUI
  89. LEE YIU HEI
  90. LEOW WEI XIANG
  91. LEWIS HARIS NATA
  92. LI ANNA
  93. LI HO YEUNG
  94. LI YUANDA
  95. LIM CHIN WEE
  96. LIM HONG HUI EUGENE
  97. LIM WEI CHENG
  98. LIM WEI KE
  99. LIM WEI ZHONG
  100. LIM YU DE
  101. LIN BAOYU
  102. LIN ZHENGDA
  103. LIU JIALE
  104. LIU LE
  105. LIU LONGYIN
  106. LIU PEIYU
  107. LOH YIANG MENG
  108. LOKMAN HAKIM BIN ABDUL MALIK
  109. LOW KIT YEE
  110. LOW YEE HENG
  111. LOW YUE XIU RACHEL
  112. LU XI
  113. MARILYN CHUA MIN XUAN
  114. MARTIN WIDJAJA
  115. MELVIN LEE ZHONG WEI
  116. MICHELLE SINN SHWE YE OO
  117. MUHAMMAD NURUDDIN BIN MAZLAN
  118. NEO DING YUE
  119. NG HENG WEI, DENNIS
  120. NG YEOW KENG
  121. NGUYEN HONG DUNG
  122. NGUYEN VAN THE
  123. NUR SYAFIQAH BINTE SAMAN
  124. NURWIDYA UTAMI JATI
  125. OH SHUNHAO
  126. ONG CHEE CHIN
  127. ONG ZHENG CHAO
  128. OON ZI GUI
  129. PEI ZIANG
  130. QUAH PERN JIE
  131. QUAH ZHENG HAO
  132. QUEK JUN JIE
  133. SAN WENYIN
  134. SAW HAN QIANG, MATTHEW
  135. SEAH SHAO CHENG
  136. SENGUPTA DEBOPAM
  137. SHARMA YATHARTH
  138. SHIWANI AGARWAL
  139. SITI NORFAEQAH BINTE POWZAN
  140. SOH YOU JUN
  141. SONG YI
  142. STACEY GEOFFREY TAY JUN WEI
  143. STEFANI LETICIA
  144. STELLA WIDYASARI
  145. SU HAN
  146. SUN HANG
  147. SUN JUNFAN
  148. SUN WANG JUN
  149. TAMANA ANNA THARAKAN
  150. TAN CHUN BOON
  151. TAN JUN KAI
  152. TAN JUN WEI
  153. TAN JUN WEN JEREMY
  154. TAN MEI LING
  155. TAN WEI LIN
  156. TAN WEI YOUNG
  157. TAN YEW LI
  158. TAN YING YUN
  159. TAN YOUNG SING
  160. TAY YANG SHUN
  161. TEO FENG MING (ZHANG FENGMING)
  162. TONG CHUN KIT
  163. TRAN THAI TRI TAN
  164. VU HOAN KHUE
  165. WAN ZHOUTONG
  166. WANG GAOXIANG
  167. WANG GAOYING
  168. WANG JUNHUI
  169. WANG YI
  170. WANG ZHE
  171. WONG JUN WEI
  172. WONG TZE CHEN ELLIOT
  173. XIA LU
  174. XIA XIANGYU
  175. XIE CHENHONG
  176. XU CHEN
  177. XU RUOFAN
  178. YANG HUIYU
  179. YANG XIAOYU
  180. YE SHUJIAN
  181. YEO JEONG HOUN
  182. YIP JIAJIE
  183. YU SHUYANG
  184. YUEN SHU HUI
  185. ZENG QINGTAO
  186. ZHANG HAN
  187. ZHANG MENGDI
  188. ZHANG SHIYU
  189. ZHAO MENGDAN
  190. ZHENG PINGXIA
  191. ZHOU WEI

9 comments to Midterm Reminder and Seating Arrangement

  1. Ooi Wei Tsang says:

    Questions from email:

    Q: For rdt 2.2 and after, there is no longer NAK so what if the very first packet 0 received is corrupted? It cannot send ACK any number since it has no last correctly received packet right? So, what does the receiver do?

    A: The “last correctly received packet” is initialized to 1 so that the protocol works correctly.

    The details can be found in the FSM in the textbook.

    Q: Does the receiver receive the checksum with 1’s compliment already done? Or does the receiver receive the original checksum then computes the 1’s complement itself?

    A: Already done. All the receiver needs is to add up all the numbers and see if it gives all 1s.

    Q: If a question in a test or in the exam mentions checksum without mentioning anything about 1’s complement, do we assume that it is the original checksum before computing 1’s compliment? Or can we assume that the checksum may be the result of 1’s compliment?

    A: Checksum is always 1-complemented.

    Q: For propagation-delay, has the receiver received the first bit by the time of the delay? Or is the first bit just arriving, but not arrived?

    A: Depending on when you start counting.

    If you count from the time the first bit just started to leave the sender, then the delay is counted until the first bit just arrives at the receiver.

    If you count from the time the first bit has completely leave the sender, then the delay is counted until the first is received by the receiver.

    Q: And finally, what is bandwidth-delay product? I’m not sure if I understand it correctly but does it mean the number of bits on the link by the time the first bit arrives at the receiver? If yes, is there a limit for the number of bits that can be on the link?

    A: The Bandwidth delay product is the product of the link rate and propagation delay. It means the maximum number of bits that can fit onto the link at any one time. Yes, there is, unfortunately, a limit to how many bits can fit on the link at one time.

  2. Oh Shunhao says:

    Some last-minute questions:
    Hopefully they can be answered before the midterm :)
    (All of them happen to be about TCP)

    1) For TCP, If the sequence number of the timer is 500, but it has already sent up to packets 600, 700, until 1000, when TCP retransmits (upon timeout or fast retransmit), does it send only packet 500, and wait until it receives an acknowledgement, or does it resend 500, 600, … 1000 together?

    2) The textbook (ch3.5.3 pg239) says “TCP never computes a SampleRTT for a segment that has been retransmitted; it only measures SampleRTT for segments that have been transmitted once.”
    What if the current RTO is set far too low, such that every packet times out? doesn’t that mean that TCP will never recalculate its RTO due to no SampleRTTs being taken at all, meaning the RTO will never be readjusted?

    3) When TCP times out and retransmits, its timeout value temporarily doubles. When it receives a correct acknowledgement, it reverts to its EstimatedRTT value for its timeout. But does it revert to EstimatedRTT if it receives a duplicate acknowledgement?

    • Chan Jun Wei says:

      I asked your question no1 in Tutorial before and the answer is:
      TCP is more optimism, which means it will only retransmit 500. :)

      Good luck in Mid-Term

      • Ooi Wei Tsang says:

        1) Jun Wei is right. TCP only retransmit one segment.
        2) Remember that TCP doubles RTO every time it times out (for the same packet). So eventually it should not time out anymore.
        3) Duplicate acknowledgement for the same packet that is timing out? If so, yes.

        • Chan Jun Wei says:

          For question 3, but when the pkt has received acknowledgement, it should have stopped timer already right?

          • Ooi Wei Tsang says:

            Yes. TCP then restarts a timer for the earliest unacknowledged packet with the EstimatedRTT value.

          • Oh Shunhao says:

            Actually, I was thinking about a situation like this:
            http://i61.tinypic.com/1556x4p.jpg
            If the RTO reverts back to its original EstimatedRTT every time an acknowledgement comes in, then the RTO won’t be able to double, causing the problem in Question 2, where every segment times out, and so would be considered “segments that have been retransmitted”, so the EstimatedRTT will never be altered.

  3. Oh Shunhao says:

    Oh yeah, I have another question, haha.

    (Assume start with sequence number 0 and the receiver buffer is 1000 bytes).
    What if the Sender sends 100 byte packets from 0 to 900, but all packets are lost except for the last packet (900)?
    That means only the last 100 bytes of the receiver buffer will be filled up, so the receiver sends a receiver window size = 0 back to the sender with ACK#=0.
    This forces the sender ensure (last byte sent – last byte ACK’d) <= 0, so the sender can't send any bytes to the receiver, and the receiver can never clear its buffer until the sender sends byte 0.
    So what happens then?

    • Ooi Wei Tsang says:

      (Sorry I misunderstood the question — ignore my previous reply)

      The sender can still retransmit, although it can no longer send new data after the receiver tells the sender that rwin is 0.

Leave a Reply