World Library  
Flag as Inappropriate
Email this Article


Article Id: WHEBN0021523956
Reproduction Date:

Title: Readahead  
Author: World Heritage Encyclopedia
Language: English
Subject: Bcache, Linux kernel, Evdev, Debugfs, Kernel same-page merging
Publisher: World Heritage Encyclopedia


readahead is a system call of the Linux kernel that loads a file's contents into the page cache, providing that way a file prefetching technology. When a file is subsequently accessed, its contents are read from the main memory (RAM) rather than from a hard disk drive (HDD), resulting in much lower file access latencies due to much higher bandwidth of the main memory.[1][2]

Many Linux distributions use readahead on a list of commonly used files to speed up booting. In such a setup, if the kernel is booted with the profile boot parameter, it will record all file accesses during bootup and write a new list of files to be read during later boot sequences. This will make additional installed services start faster, because they are not included in the default readahead list.[3]

In Linux distributions that use systemd, readahead binary (as part of the boot sequence) is replaced by systemd-readahead.[4][5]

Certain experimental Page (computer memory)-level prefetching systems have been developed to further improve performance.[6]


  1. ^ Jonathan Corbet (2005-10-12). "Adaptive file readahead".  
  2. ^ "readahead(2) - Linux manual page". Retrieved 2014-04-09. 
  3. ^ Michael Opdenacker (2007-06-15). "Readahead: time-travel techniques for desktop and embedded systems" (PDF). pp. 5–6. Retrieved 2014-05-01. 
  4. ^ "Readahead". Retrieved 2014-04-09. 
  5. ^ "systemd-readahead-replay.service". 2014-03-26. Retrieved 2014-04-09. 
  6. ^ Krzysztof Lichota (2008). "Linux solution for prefetching necessary data during application and system startup" (PDF). Retrieved 2014-07-28. 

This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.

Copyright © World Library Foundation. All rights reserved. eBooks from Project Gutenberg are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.