Scheduling Real-Time Processes

Similar Posts

  • Requirements for Efficient Memory Management

    Logical vs Physical memory A computer’s physical memory (RAM) is a hardware structure consisting of a linear sequence of words that hold a program during execution. A word is a fixed-size unit of data. The size of a word is reflected in many aspects of a computer’s structure and operation. A typical word size is 4 to 8 bytes…

  • Parts of the PCB

    CPU_state – When the process is stopped, the current state of the CPU, consisting of various hardware registers and flags, is saved in this field to be reloaded when the process resumes. PCB Data Description Data Stored As Can Change process_state This is the state of the process, running, ready, or blocked most often. Integer…

  • Segmentation and Paging

    With paging, all components of a program, including code, static data, the stack, and other data structures, are combined into one contiguous address space divided into fixed-size pages. Segmentation addresses the problem by providing multiple logical address spaces for each process, where each segment can have a different size. A segment is a variable-size block of a…

  • Monitors

    P and V operations on general semaphores are versatile primitives capable of solving a variety of synchronization problems. But they are low-level primitives, prone to difficult-to-diagnose programming errors. (see the issues that we need to avoid in Process Interactions – those are some of the errors you might run into.) A monitor is a high-level synchronization primitive…

  • The Hardware-Software Interface

    General purpose computers need to be able to access a variety of IO devices, from long term storage, mouse, keyboard, networking, and more. A device controller/adapter is an electronic circuit capable of operating a specific I/O device. The interface may be set by and/or examined by device drivers. A device driver is a device-specific program that implements I/O…

  • Semaphores

    The software solution presented before only works if there is two processes competing for the same code block. Likewise, it is not real efficient if it needs to be used a lot. Semaphores are general-purpose primitives that allow solving a variety of synchronization problems in a systematic manner. A semaphore is a non-negative integer variable that…