Products
Features
YouTube Video Summarizer
Summarize YouTube videos
Web & PDF Highlighter
Highlight web pages & PDFs
Chat with PDF
Ask any PDF questions with AI
Ask AI Clone
Chat with your highlights & memories
Audio Transcriber
Transcribe audio files to text
Glasp Reader
Read and highlight articles
Kindle Highlight Export
Export your Kindle highlights
Idea Hatch
Hatch ideas from your highlights
Integrations
Obsidian Plugin
Notion Integration
Pocket Integration
Instapaper Integration
Medium Integration
Readwise Integration
Snipd Integration
Hypothesis Integration
Apps & Extensions
Chrome Extension
Safari Extension
Edge Add-ons
Firefox Add-ons
iOS App
Android App
Discover
Discover
Ideas
Discover new ideas and insights
Articles
Curated articles and insights
Books
Book recommendations by great minds
Posts
Essays and notes from readers
Quotes
Inspiring quotes collection
Videos
Curated videos and summaries
Explore Glasp
Glasp Newsletter
Weekly insights and updates
Glasp Talk
Interview series with great minds
Glasp Blog
Latest news and articles
Glasp Use Cases
Learn how others use Glasp
Build & Support
Glasp API
Access Glasp's API for developers
MCP Connector
Connect Glasp to Claude & ChatGPT
Community
Glasp Reddit Community
Students
Student discount and benefits
FAQs
Frequently Asked Questions
AboutPricing
DashboardLog inSign up

18.2.5 Weak Priorities

July 12, 2019
by
MIT OpenCourseWare
YouTube video player
18.2.5 Weak Priorities

TL;DR

Latency in a real-time system can be reduced by implementing priority-based scheduling algorithms, such as Earliest Deadline, to ensure timely execution of tasks.

Transcript

Suppose we have a real-time system supporting three devices: a keyboard whose interrupt handler has a service time of 800 us, a disk with a service time of 500 us, and a printer with a service time of 400 us. What is the worst-case latency seen by each device? For now we'll assume that requests are infrequent, i.e., that each request only happens o... Read More

Key Insights

  • 🏃 Long-running handlers have a significant impact on worst-case latency in a real-time system.
  • 🦡 Prioritizing requests based on deadlines can reduce worst-case latencies.
  • ✋ A weak priority system ensures timely execution of higher-priority requests.
  • ⌛ Earliest Deadline scheduling is a simple and intuitive strategy for priority assignment in real-time systems.
  • ⚾ Assigning priorities based on earliest deadline can guarantee meeting deadlines if any priority assignment can do so.
  • 🎟️ Implementing different priority assignments may be necessary when the system is overloaded to minimize the total number of missed requests.
  • 🐕‍🦺 The assignment of priorities becomes complex when considering pending requests and their service times.

Install to Summarize YouTube Videos and Get Transcripts

Explore YouTube Video Summarizer or Get YouTube Transcript Extractor

Questions & Answers

Q: What is the impact of long-running handlers on worst-case latency in a real-time system?

Long-running handlers delay the execution of other handlers, increasing their worst-case latency. For example, the start of the keyboard handler can be delayed by the execution of the disk and printer handlers.

Q: What are the possibilities for reducing worst-case latencies in a real-time system?

One strategy is to assign priorities to pending requests and serve them in priority order instead of using first-come-first-served. This can be done by implementing a weak priority system.

Q: What is a weak priority system in real-time scheduling?

In a weak priority system, priorities are used to select the next task to be run at the completion of the current task. The current task always runs to completion, even if a higher-priority request arrives during its execution.

Q: How does Earliest Deadline scheduling work?

Earliest Deadline is a strategy that assigns priorities based on the deadlines of pending requests. Requests are sorted by their deadlines, and the highest priority is given to the request with the earliest deadline.

Summary & Key Takeaways

  • Real-time systems supporting three devices - keyboard, disk, and printer - can experience worst-case latency when requests are served in first-come-first-served order.

  • Long-running handlers significantly impact the worst-case latency of other devices.

  • Prioritizing requests based on deadlines and implementing a weak priority system can reduce worst-case latencies in a real-time system.


Read in Other Languages (beta)

English

Share This Summary 📚

Summarize YouTube Videos and Get Video Transcripts with 1-Click

Download browser extensions on:

Try YouTube Summary with ChatGPT & Claude or YouTube Transcript Generator

Explore More Summaries from MIT OpenCourseWare 📚

5.1 Voyager Program thumbnail
5.1 Voyager Program
MIT OpenCourseWare
Is probability conserved? Hermiticity of the Hamiltonian thumbnail
Is probability conserved? Hermiticity of the Hamiltonian
MIT OpenCourseWare
Lecture 3.1: Liz Spelke - Cognition in Infancy (Part 1) thumbnail
Lecture 3.1: Liz Spelke - Cognition in Infancy (Part 1)
MIT OpenCourseWare
What Are Transition Rates Induced by Thermal Radiation? thumbnail
What Are Transition Rates Induced by Thermal Radiation?
MIT OpenCourseWare
Radio Receivers thumbnail
Radio Receivers
MIT OpenCourseWare
Lecture 18: Coldwar Classroom: Teaching Quantum Theory in Postwar American Physics thumbnail
Lecture 18: Coldwar Classroom: Teaching Quantum Theory in Postwar American Physics
MIT OpenCourseWare

Summarize YouTube Videos and Get Video Transcripts with 1-Click

Download browser extensions on:

Try YouTube Summary with ChatGPT & Claude or YouTube Transcript Generator

Apps & Extensions

  • Chrome Extension
  • Safari Extension
  • Edge Add-ons
  • Firefox Add-ons
  • iOS App
  • Android App

Key Features

  • YouTube Video Summarizer
  • Web & PDF Summarizer
  • Web & PDF Highlighter
  • Chat with PDF
  • Ask AI Clone
  • Audio Transcriber
  • Glasp Reader
  • Kindle Highlight Export
  • Idea Hatch

Integrations

  • Obsidian Plugin
  • Notion Integration
  • Pocket Integration
  • Instapaper Integration
  • Medium Integration
  • Readwise Integration
  • Snipd Integration
  • Hypothesis Integration

More Features

  • APIs
  • MCP Connector
  • Blog & Post
  • Embed Links
  • Image Highlight
  • Personality Test
  • Quote Shots

Company

  • About us
  • Blog
  • Community
  • FAQs
  • Job Board
  • Newsletter
  • Pricing
Terms

•

Privacy

•

Guidelines

© 2026 Glasp Inc. All rights reserved.