O(n) scheduler

O(n) scheduler

The O(n) scheduler[1] is the scheduler used in the Linux kernel between versions 2.4 and 2.6. Since version 2.6, it has been replaced by the O(1) scheduler and later by the Completely Fair Scheduler (CFS).

Contents

Algorithm

This scheduler divides processor time into epochs. Within each epoch, every task can execute up to its time slice. If a task does not use all of its time slice, then the scheduler adds half of the remaining time slice to allow it to execute longer in the next epoch.

Advantages

This scheduler was an advantage in comparison to the previously used very simple scheduler based on a circular queue.

Disadvantages

If the number of processes is big, the scheduler may use a notable amount of the processor time itself. Picking the next task to run requires iteration through all currently planned tasks, so the scheduler runs in O(n) time, where n is the number of the planned processes.

References

  1. ^ Linux scheduler history overview at ibm.com

Wikimedia Foundation. 2010.

Игры ⚽ Поможем сделать НИР

Look at other dictionaries:

  • Scheduler activations — is a threading mechanism that, when implemented in an operating system s process scheduler, provides kernel level thread functionality with user level thread flexibility and performance. This mechanism uses a so called N:M strategy that maps some …   Wikipedia

  • Scheduler — (englisch für: „Planer, Disponent“) steht für: Scheduler (Datenbank), verwaltet Schreib und Lesezugriffe Prozess Scheduler, regelt die zeitliche Ausführung mehrerer Prozesse in Betriebssystemen Festplatten Scheduler, regelt die Abfolge von Lese… …   Deutsch Wikipedia

  • scheduler — UK US /ˈʃedjuːlər/ US  /ˈskedʒuːlər/ noun [C] PRODUCTION, COMMERCE, TRANSPORT ► someone whose job is to create or work with schedules …   Financial and business terms

  • Scheduler (Datenbank) — Ein (Datenbank )Scheduler dient der Verwaltung von Schreib und Lesezugriffen (sog. Operationen) auf Datenbankobjekten. Er sorgt dafür, dass keine Konflikte während der parallelen Ausführung nebenläufiger Transaktionen auftreten. (Transaktionen… …   Deutsch Wikipedia

  • Scheduler (Informatik) — Ein Prozess Scheduler (Scheduler = Steuerprogramm) ist eine Arbitrationslogik, der die zeitliche Ausführung mehrerer Prozesse in Betriebssystemen regelt. Prozess Scheduler kann man grob in unterbrechende (preemptive) und nicht unterbrechende (non …   Deutsch Wikipedia

  • Scheduler — Шаблон проектирования Планировщик Scheduler Описан в Design Patterns Нет Планировщик (англ. Scheduler)  шаблон проектирования, обеспечивающий механизм реализации политики планирования, но при этом не зависящий ни от одной… …   Википедия

  • Scheduler pattern — In computer programming, the scheduler pattern is a software design pattern. It is a concurrency pattern used to explicitly control when threads may execute single threaded code.The scheduler pattern uses an object that explicitly sequences… …   Wikipedia

  • Scheduler — I Scheduler   [dt. Zeitplaner], Betriebssysteme: Teil eines Betriebssystems; werden mehrere Programme gleichzeitig gestartet, die parallel ablaufen sollen, teilt der Scheduler den einzelnen Prozessen Zeitscheiben zu, in denen die CPU abwechselnd… …   Universal-Lexikon

  • scheduler — planuoklė statusas T sritis informatika apibrėžtis Kompiuterio programų paketo komponentas – programa, skirta to paketo programų paleidimo, atliekamų veiksmų ir užduočių tvarkaraščiui (sąrašui) sudaryti ir įvykdyti. Pavyzdžiui, antivirusinės… …   Enciklopedinis kompiuterijos žodynas

  • scheduler — planuoklė statusas T sritis informatika apibrėžtis Kompiuterio sisteminės programinės įrangos dalis – operacinės sistemos komponentas, koordinuojantis įvairių kompiuterio arba kompiuterių tinklo išteklių ir įtaisų (procesorių, atmintinių, įvedimo …   Enciklopedinis kompiuterijos žodynas

  • scheduler — schedule ► NOUN 1) a plan for carrying out a process or procedure, giving lists of intended events and times. 2) a timetable. 3) chiefly Law an appendix to a formal document or statute, especially as a list, table, or inventory. ► VERB 1) arrange …   English terms dictionary

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”