Real-time Operating System - Design Philosophies

Design Philosophies

The most common designs are:

  • Event-driven which switches tasks only when an event of higher priority needs servicing, called preemptive priority, or priority scheduling.
  • Time-sharing designs switch tasks on a regular clocked interrupt, and on events, called round robin.

Time-sharing designs switch tasks more often than strictly needed, but give smoother multitasking, giving the illusion that a process or user has sole use of a machine.

Early CPU designs needed many cycles to switch tasks, during which the CPU could do nothing else useful. For example, with a 20 MHz 68000 processor (typical of late 1980s), task switch times are roughly 20 microseconds. (In contrast, a 100 MHz ARM CPU (from 2008) switches in less than 3 microseconds.) Because of this, early OSes tried to minimize wasting CPU time by avoiding unnecessary task switching.

Read more about this topic:  Real-time Operating System

Famous quotes containing the words design and/or philosophies:

    Humility is often only the putting on of a submissiveness by which men hope to bring other people to submit to them; it is a more calculated sort of pride, which debases itself with a design of being exalted; and though this vice transform itself into a thousand several shapes, yet the disguise is never more effectual nor more capable of deceiving the world than when concealed under a form of humility.
    François, Duc De La Rochefoucauld (1613–1680)

    I wish I could write a beautiful book to break those hearts that are soon to cease to exist: a book of faith and small neat worlds and of people who live by the philosophies of popular songs.
    Zelda Fitzgerald (1900–1948)