Jacobson Algo for time out timer
Duration: 8 min
This video lesson is available to enrolled students.
Inside: a video lesson and guided study material.
Module outline
- Quantitative Ability: Speed Mathematics and Basic Mathematics, Percentage, Ratio and Proportion (Ratios), Average, Profit and Loss, Simple Interest and Compound Interest, Time and Work, Pipe and Cistern, Speed Time and Distance, Number System, HCF LCM, Data Interpretation, Age Problems, Mixture and Alligation, Partnership, Algebra, Sequence and Series (Series), Mensuration and Geometry, Arithmetic
- Reasoning Ability: Puzzle Solving (Puzzles), Seating Arrangements, Coding Decoding, Blood Relations, Directions (Direction Test), Syllogisms, Data Sufficiency, Ranking, Order and Sequence, Series (Number and Letter Series) (Numerical Relations and Reasoning), Logical Sequence Of Words, Calendar, Clock, Cubes & Dices, Analytical Reasoning (Counting Figures Reasoning), Data Arrangement, Non Verbal Reasoning (Spatial Aptitude) (Spatial Reasoning) (Visual Reasoning), Deductive and Inductive Reasoning (Logical Deduction and Induction) (Prepositional Reasoning)
- Verbal Ability: Comprehension / Reading Comprehension / Unseen Passages (Critical Reasoning) (Paragraph Questions), Cloze Test (Cloze Passage), Sentence Re-arrangements (Para Jumbles) (Narrative Sequencing), Vocabulary, Sentence Completion (Fill in the blanks), Active Passive Voice (Voice), Direct and Indirect Speech, Subject Verb Agreement (Verb Noun Agreement), Tenses, Preposition, Articles, Sentence Correction (Error Correction)
- Programming Basics (MCQs + Interview): C Programming by Yash Sir, Programming in C++, Java, Python for Placements by Yash Sir
- OOPs (MCQs + Interview): Object Oriented Programming (OOPS)
- DBMS (MCQs + Interview): Basics of DBMS, ER Diagram, Relational Model & Functional Dependencies, Keys & Integrity Constraints, Normalization (1NF - BCNF), Transaction Management, Decomposition Properties & 4NF, Concurrency Control, Database Recovery, File Organization & Indexing, Relational Algebra, Database Security & Authorization
- SQL (MCQs + Interview): SQL
- Operating Systems (MCQs + Interview): Introduction to OS, Process Management, CPU Scheduling, Deadlock, Threads & Process Creation, Memory Management, Virtual Memory, Process Synchronization, Disc Scheduling, File Management, Security
- Computer Networks (MCQs + Interview): Introduction to CN, Data Communication, DLL: Access Control, DLL: Flow Control, DLL: Error Control, DLL: Framing, Data Link Layer - Ethernet, Net Layer: IPv4 & Proto, Net Layer: IP Addressing, Net Layer:Routing Protocol, Transport Layer Services, TL: Congestion & UDP, Application Layer, Hardware basics, Network Security, Mobile Technology, Cloud Computing and IoT, Cyber and Info Security
- Coding: Coding Questions by Yash Sir
- HR Interview: MR & HR Interview Preparation
AI summary & chapters
AI Summary
An AI-generated summary of this video lecture.
The lecture introduces Van Jacobson, an American computer scientist born in 1950, highlighting his contributions to the TCP/IP protocol stack and Named Data Networking. The core topic is Jacobson's Algorithm for calculating the timeout timer (TOT) in TCP, which improves upon basic algorithms by dynamically adjusting RTT and deviation estimates. The instructor presents Step 01, where the sender assumes an initial round-trip time (IRTT) and initial deviation (ID) to calculate the first timeout timer using the formula TOT_1 = 4 x ID_1 + IRTT_1. A numerical example is worked out using a hand-drawn table, with IRTT set to 10 and ID to 5, resulting in a TOT of 30. The actual deviation (AD) is calculated as the absolute difference between IRTT and the measured RTT. The lecture then transitions to Step 02, introducing smoothing formulas for subsequent segments: IRTT_{n+1} = α IRTT_n + (1 - α) ARTT_n and ID_{n+1} = α ID_n + (1 - α) AD_n. Finally, the video addresses problems with the basic algorithm, specifically when an ACK arrives after a timeout has already occurred. Karn's modification is introduced as the solution to this issue, ensuring that delayed ACKs do not corrupt RTT estimates.
Chapters
0:00 – 2:00 00:00-02:00
The lecture begins by introducing Van Jacobson (born 1950) as an American computer scientist renowned for his work on TCP/IP network performance and scaling. A slide displays a NIST photo with red pen underlines emphasizing his birth year, profession, and contributions. The instructor uses a drawing toolbar to add annotations, including a blue arrow pointing at the photo. This section establishes Jacobson's authority before transitioning to his algorithm, which is described as a modified version of the basic timeout calculation that provides better performance. The text on screen explicitly lists his role in the TCP/IP protocol stack and Named Data Networking at UCLA.
2:00 – 5:00 02:00-05:00
The focus shifts to Step 01 of Jacobson's Algorithm: Sending the 1st Segment. The slide presents the formula TOT_1 = 4 x ID_1 + IRTT_1 and AD_1 = |IRTT_1 - ARTT_1|. The instructor draws a red table with columns for IRTT, Actual RTT (ARTT), TOT, ID, and AR. Using a numerical example, the instructor fills in IRTT = 10 and ID = 5, calculating a TOT of 30. The actual deviation AD_1 is computed as |10 - 15| = 5 when the measured RTT is 15. The lecture then introduces Step 02 for subsequent segments, displaying the smoothing formulas IRTT_{n+1} = α IRTT_n + (1 - α) ARTT_n and ID_{n+1} = α ID_n + (1 - α) AD_n. The instructor calculates a new RTT of 14.5 for the second segment, demonstrating how the algorithm updates estimates over time.
5:00 – 7:47 05:00-07:47
The lecture concludes by discussing limitations of the basic and Jacobson algorithms. A slide titled 'Problems with Basic Algorithm and Jacobson's Algorithm' appears, focusing on the scenario where an ACK arrives after a timeout has already occurred. The instructor explains that using such delayed ACKs to update RTT estimates can lead to inaccurate calculations and potential performance degradation. Karn's modification is introduced as the standard solution to this problem, which involves ignoring RTT samples from retransmitted segments. The hand-drawn table and circled formulas remain visible, reinforcing the connection between the mathematical model and its practical implementation in TCP. This section highlights the importance of robust timeout management in network protocols.
The lecture provides a structured overview of Jacobson's Algorithm for TCP timeout management, moving from biographical context to mathematical formulation and practical application. The central idea is that dynamic adjustment of RTT and deviation estimates leads to more efficient timeout timers compared to static values. The teaching flow follows a logical progression: establishing authority (Jacobson's background), defining the initial state (Step 01 with assumed IRTT and ID), demonstrating calculation through a numerical example, introducing iterative updates (Step 02 with smoothing factors), and addressing edge cases (Karn's modification for delayed ACKs). Key formulas include the initial timeout calculation TOT_1 = 4 x ID_1 + IRTT_1 and the recursive update equations using smoothing factor α. The hand-drawn table serves as a visual anchor for the numerical example, making abstract concepts concrete. Karn's modification is presented not just as a fix but as an essential component of robust TCP implementation, ensuring that RTT estimates remain accurate even in lossy network conditions. The lecture effectively balances theoretical foundations with practical considerations, preparing students to understand both the 'how' and 'why' of TCP timeout management.