skip to main content
10.1145/1529282.1529723acmconferencesArticle/Chapter ViewAbstractPublication PagessacConference Proceedingsconference-collections
research-article

An implementation of the earliest deadline first algorithm in Linux

Published:08 March 2009Publication History

ABSTRACT

Recently, many projects have been started to introduce some real-time mechanisms into general purpose operating systems (GPOS) in order to make them capable of providing the users with some temporal guarantees. Many of these projects focused especially on Linux for its capillary and widespread adoption throughout many different research and industrial environments.

By tracking the kernel release cycle, we propose an efficient Earliest Deadline First implementation in the form of a patch-set against the 2.6.27 version, that is the latest released one, as of now. Our implementation provides the user with the possibility to choose SCHED_EDF as one of the possible scheduling policies for a task, with an enhanced version of the standard algorithm. In fact, we propose a new approach to shared resources' access which, differently from many other previous existing works, does not require the user to specify any parameters about the critical sections every task will enter during its execution.

References

  1. Ada 2005 Reference Manual. http://www.adaic.com/standards/ada05.html.Google ScholarGoogle Scholar
  2. Ingo Molnar's RT Tree. Available online.Google ScholarGoogle Scholar
  3. Linux kernel. The Linux Kernel Archives, http://kernel.org.Google ScholarGoogle Scholar
  4. Linux Testbed for Multiprocessor Scheduling in Real-Time Systems. http://www.cs.unc.edu/~anderson/litmus-rt/.Google ScholarGoogle Scholar
  5. Modular Scheduler Core and Completely Fair Scheduler. http://lkml.org/lkml/2007/4/13/180.Google ScholarGoogle Scholar
  6. Programming Real-Time with Ada 2005. http://www.embedded.com/showArticle.jhtml?articleID=192503587.Google ScholarGoogle Scholar
  7. RTAI home page. https://www.rtai.org/.Google ScholarGoogle Scholar
  8. RTLinux home page. http://www.rtlinux.org.Google ScholarGoogle Scholar
  9. The Real-Time Driver Model. http://www.xenomai.org/documentation/trunk/html/api/group__rtdm.html.Google ScholarGoogle Scholar
  10. XENOMAI home page. http://www.xenomai.org.Google ScholarGoogle Scholar
  11. T. P. Baker. A stack-based resource allocation policy for realtime processes. In IEEE Real-Time Systems Symposium, pages 191--200, 1990.Google ScholarGoogle ScholarCross RefCross Ref
  12. T. P. Baker. Stack-based scheduling of real-time processes. Real-Time Systems, (3), 1991. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. S. Baruah. The limited-preemption uniprocessor scheduling of sporadic task systems. In Proceedings of the EuroMicro Conference on Real-Time Systems, pages 137--144, Palma de Mallorca, Balearic Islands, Spain, July 2005. IEEE Computer Society Press. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. C. L. Liu and J. W. Layland. Scheduling algorithms for multiprogramming in a hard-real-time environment. Journal of the ACM, 20(1):46--61, 1973. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. L. Sha, R. Rajkumar, and J. P. Lehoczky. Priority inheritance protocols: An approach to real-time synchronization. IEEE Trans. Comput., 39(9):1175--1185, 1990. Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. V. Yodaiken. Against priority inheritance. Technical report, Finite State Machine Labs, June 2002.Google ScholarGoogle Scholar

Index Terms

  1. An implementation of the earliest deadline first algorithm in Linux

    Recommendations

    Comments

    Login options

    Check if you have access through your login credentials or your institution to get full access on this article.

    Sign in
    • Published in

      cover image ACM Conferences
      SAC '09: Proceedings of the 2009 ACM symposium on Applied Computing
      March 2009
      2347 pages
      ISBN:9781605581668
      DOI:10.1145/1529282

      Copyright © 2009 ACM

      Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      • Published: 8 March 2009

      Permissions

      Request permissions about this article.

      Request Permissions

      Check for updates

      Qualifiers

      • research-article

      Acceptance Rates

      Overall Acceptance Rate1,650of6,669submissions,25%

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader