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
- Paper 1 | Reasoning Test: Series (Number and Letter Series) (Numerical Relations and Reasoning), Coding Decoding, Data Sufficiency, Syllogisms, Deductive and Inductive Reasoning (Logical Deduction and Induction) (Prepositional Reasoning), Seating Arrangements, Blood Relations, Puzzle Solving (Puzzles), Venn Diagram, Analogy, Ranking, Order and Sequence, Non Verbal Reasoning (Spatial Aptitude) (Spatial Reasoning) (Visual Reasoning), Selection Decision Table (Decision Making), Logical Sequence Of Words, Cubes & Dices, Analytical Reasoning (Counting Figures Reasoning), Calendar, Alphabet and Word Tests, Numerical Reasoning, Number System, Averages, Mixtures and Alligation, Percentages, Series Completion, Analogy and Classification, Patterns in Two-Dimensional Figures, Coding and Decoding, Mathematical Operations, Direction Sense, Algebra, Logical Deduction and Induction, Syllogisms and Venn Diagrams, Critical Reasoning, Order, Ranking and Sequence, Reading Comprehension, Profit, Loss and Discount, Constraint Puzzles, Speed, Time and Distance, Traverse Surveying, Ratio and Proportion, Time and Work, Mensuration, Permutations and Combinations, Clocks and Calendars, Data Interpretation, Assembling and Grouping of Shapes, Transformation of Shapes, Three-Dimensional Patterns and Visualization, Cubes and Dice, Vocabulary, Blood Relations, Data Sufficiency
- Paper 1 | Numerical Analysis: Number System, HCF LCM, Percentage, Ratio and Proportion (Ratios), Average, Sequence and Series (Series), Powers and Exponents (Surds and Indices), Algebra, Statistics, Data Interpretation, Mental Ability, Arithmetic, Logarithm, Profit and Loss, Simple Interest and Compound Interest, Speed Time and Distance, Mixture and Alligation, Mensuration and Geometry, Permutation and Combination, Probability, Sequences and Series, Powers, Surds and Logarithms, Subject-Verb Agreement, Sentence Completion, Geometry, Sentence Structure and Correction, Data Sufficiency, Trigonometry, Measurement and Quantity Take-Off, Signal Space and Optimum Detection, Probability, Statistics, Algebra, Time and Work, Speed, Time and Distance, Data Interpretation, Graph Theory, Combinatorics
- Paper 1 | General Knowledge: State Wise GK, History, Geography, GK- Current Affairs, Static General Knowledge, Polity, Indian Economy
- Paper 1 | DBMS: Basics of DBMS, ER Diagram, Relational Model & Functional Dependencies, Keys & Integrity Constraints, Normalization (1NF - BCNF), Decomposition Properties & 4NF, File Organization & Indexing, Relational Algebra, SQL, Transaction Management, Concurrency Control, Relational Calculus, Database Security & Authorization, Database Recovery
- Paper 1 | Data Communication & Network: 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, Network Security, Security in Mobile and Wireless Computing, Input Output Organisation, File Management, Hardware Basics, Terms & Abbreviations, Protocols & Services, Network Access Technologies, Cyber Safety and Security, Basics of COA
- Paper 2 | System Analysis & Design: Fundamentals of Systems and Information Systems, SDLC and Development Approaches, Fundamentals of Software Engineering, Software Requirements and Quality Assurance, Software Documentation and Software Requirements Specification (SRS), SDD and Quality Assurance, Software Design, Estimation and Metrics, Software Testing, Software Maintenance and Configuration Management, Security, Risk Management & Maintenance, extras
- Paper 2 | Programming Language (Java): Java Fundamentals, OOPS with Java, Array, String, IO & References, Generic & Collections, Multithreading, Java, Miscellaneous, Control Flow, OOPS with C++, Stack, C Fundamentals, Arrays & Pointers, Object Oriented Technology, Control Flow & Looping, Introduction to Python
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.

