<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh">
	<id>https://arolstar52-zhtest.hf.space/index.php?action=history&amp;feed=atom&amp;title=Readahead</id>
	<title>Readahead - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://arolstar52-zhtest.hf.space/index.php?action=history&amp;feed=atom&amp;title=Readahead"/>
	<link rel="alternate" type="text/html" href="https://arolstar52-zhtest.hf.space/index.php?title=Readahead&amp;action=history"/>
	<updated>2026-07-08T07:25:08Z</updated>
	<subtitle>在这个wiki上该页的修订历史</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://arolstar52-zhtest.hf.space/index.php?title=Readahead&amp;diff=2491235&amp;oldid=prev</id>
		<title>imported&gt;暁月凛奈：​使用DisamAssist清理消歧义链接：Fedora（链接至Fedora (作業系統)）。</title>
		<link rel="alternate" type="text/html" href="https://arolstar52-zhtest.hf.space/index.php?title=Readahead&amp;diff=2491235&amp;oldid=prev"/>
		<updated>2022-07-09T22:57:06Z</updated>

		<summary type="html">&lt;p&gt;使用&lt;a href=&quot;/index.php?title=User:%E6%9C%88_%E6%A8%B1_%E9%9B%AA/DisamAssist.js&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;User:月 樱 雪/DisamAssist.js（页面不存在）&quot;&gt;DisamAssist&lt;/a&gt;清理&lt;a href=&quot;https://en.wikipedia.org/wiki/%E6%B6%88%E6%AD%A7%E4%B9%89&quot; class=&quot;extiw&quot; title=&quot;wikipedia:消歧义&quot;&gt;消歧义&lt;/a&gt;链接：&lt;a href=&quot;/wiki/Fedora&quot; title=&quot;Fedora&quot;&gt;Fedora&lt;/a&gt;（链接至&lt;a href=&quot;/wiki/Fedora_(%E4%BD%9C%E6%A5%AD%E7%B3%BB%E7%B5%B1)&quot; class=&quot;mw-redirect&quot; title=&quot;Fedora (作業系統)&quot;&gt;Fedora (作業系統)&lt;/a&gt;）。&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Lowercase title}}&lt;br /&gt;
{{noteTA&lt;br /&gt;
|G1=IT&lt;br /&gt;
}}&lt;br /&gt;
{{lang|en|&amp;#039;&amp;#039;&amp;#039;readahead&amp;#039;&amp;#039;&amp;#039;}}（[[英語]]，意思就是提前讀入）是[[Linux內核]]的一個-{zh-hans:一[[系统调用]]; zh-hant:[[系統呼叫]];}-功能，透過把所需要的系統檔案預先讀入[[檔案緩存]]（{{lang|en|page cache}}）裡，解決磁碟存取速度的瓶頸問題&amp;lt;ref name=nutsfactory&amp;gt;{{cite web |url=http://blog.nutsfactory.net/2008/09/09/readahead-on-eeepc/ |title=readahead 加速 Linux 開機速度 ? |date=2008-09-09 |accessdate=2014-11-27 |language=zh-hant |author=[http://blog.nutsfactory.net/author/chihchun/ Rex Tsai] |archive-date=2014-12-04 |archive-url=https://web.archive.org/web/20141204202026/http://blog.nutsfactory.net/2008/09/09/readahead-on-eeepc/ |dead-url=no }}&amp;lt;/ref&amp;gt;，從而加快啟動時的速度。因為系統所需檔案已從硬碟提早讀進了主記憶，而主記憶的管線頻寬比週邊系統的管線頻寬為高，令系統耗費在存取週邊設備的時間減少了&amp;lt;ref&amp;gt;{{cite web | url = https://lwn.net/Articles/155510/ | title = Adaptive file readahead | date = 2005-10-12 | accessdate = 2014-08-20 | author = Jonathan Corbet | publisher = [[LWN.net]] | language = en | archive-date = 2014-08-01 | archive-url = https://web.archive.org/web/20140801171539/http://lwn.net/Articles/155510/ | dead-url = no }}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite web | url = http://man7.org/linux/man-pages/man2/readahead.2.html | title = readahead(2) - Linux manual page | accessdate = 2014-04-09 | website = man7.org | language = en | archive-date = 2014-05-25 | archive-url = https://web.archive.org/web/20140525042559/http://man7.org/linux/man-pages/man2/readahead.2.html | dead-url = no }}&amp;lt;/ref&amp;gt;。&lt;br /&gt;
&lt;br /&gt;
很多的[[Linux发行版]]都透過readahead程式來加速系統啟動。在這種設定裡，系統的[[內核]]在啟動時在提供相關的啟動參數之下，會記錄啟動時需要啟用的檔案。這個檔案列表會用來製作新的readahead壓縮包，令額外安裝的服務得以較快啟動，即使最初系統安裝時，這些服務並未列於readahead的列表內&amp;lt;ref&amp;gt;{{cite web | url = http://free-electrons.com/pub/readahead/doc/ols2007-readahead-paper.pdf | title = Readahead: time-travel techniques for desktop and embedded systems | date = 2007-06-15 | accessdate = 2014-05-01 | author = Michael Opdenacker | website = free-electrons.com | format = PDF | pages = 5–6 | language = en | archive-date = 2013-09-20 | archive-url = https://web.archive.org/web/20130920155932/http://free-electrons.com/pub/readahead/doc/ols2007-readahead-paper.pdf | dead-url = no }}&amp;lt;/ref&amp;gt;。部份實驗性的系統會透過[[分頁表|記憶分頁]][[預先提取]][[高速缓存文件置换机制|高速缓存置换机制]]再令系統表現提升&amp;lt;ref&amp;gt;{{cite web | url = http://prefetch.googlecode.com/files/gsoc-prefetching-presentation.pdf | title = Linux solution for prefetching necessary data during application and system startup | year = 2008 | accessdate = 2014-07-28 | author = Krzysztof Lichota | website = code.google.com | format = PDF | language = en | deadurl = yes | archiveurl = https://web.archive.org/web/20091211124530/http://prefetch.googlecode.com/files/gsoc-prefetching-presentation.pdf | archivedate = 2009-12-11 }}&amp;lt;/ref&amp;gt;。&lt;br /&gt;
&lt;br /&gt;
隨着電腦硬件及軟件的進步，readahead的做法亦跟隨轉變。在使用[[systemd]]的Linux发行版（例如：[[Fedora (作業系統)|Fedora]]、[[OpenSUSE]]等），readahead的功能與systemd結合了成為一個叫作「systemd-readahead」的執行檔&amp;lt;ref&amp;gt;{{cite web | url = https://fedorahosted.org/readahead/ | title = Readahead | accessdate = 2014-04-09 | website = fedorahosted.org | language = en | archive-date = 2014-04-09 | archive-url = https://web.archive.org/web/20140409172639/https://fedorahosted.org/readahead/ | dead-url = no }}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite web |url=http://www.freedesktop.org/software/systemd/man/systemd-readahead.html |title=systemd-readahead-replay.service |date=2014-03-26 |accessdate=2014-04-09 |website=freedesktop.org |language=en |deadurl=yes |archiveurl=https://web.archive.org/web/20140409235938/http://www.freedesktop.org/software/systemd/man/systemd-readahead.html |archivedate=2014-04-09 }}&amp;lt;/ref&amp;gt;。而在以[[debian]]為基礎的平台（例如：[[Ubuntu]]），在釋出官方版本時，會內建一組預先較調的檔案列表，再把相關檔案壓縮到一個壓縮包，到系統啟動時從啟動磁碟載入&amp;lt;ref name=nutsfactory /&amp;gt;。這個以debian為基礎的Linux版本的readahead經歷過下列的轉變：&lt;br /&gt;
* 原來的readahead功能在[[Ubuntu 9.10]]推出時被取代；&lt;br /&gt;
* [[sreadahead]]取代了原來的readahead，但後來亦被取代；&lt;br /&gt;
* [[ureadahead]]：全稱為{{lang|de|über-readahead}}，源自德語，意思就是「超越readahead」的意思。現時的版本號碼是0.100.0-17&amp;lt;ref&amp;gt;{{Launchpad |id=ureadahead |title=über-readahead}}&amp;lt;/ref&amp;gt;。&lt;br /&gt;
&lt;br /&gt;
==參看==&lt;br /&gt;
* [[systemd]]&lt;br /&gt;
* [[Upstart]]&lt;br /&gt;
&lt;br /&gt;
==參考資料 ==&lt;br /&gt;
{{Reflist|30em}}&lt;br /&gt;
&lt;br /&gt;
==外部連結==&lt;br /&gt;
* [http://ubuntuforums.org/showthread.php?t=1343542 Ubuntu Forum: sreadahead/ureadahead updates]{{Wayback|url=http://ubuntuforums.org/showthread.php?t=1343542 |date=20141204202317 }}&lt;br /&gt;
* [https://wiki.archlinux.org/index.php/Ureadahead Ureadahead in ArchLinux Wiki]{{Wayback|url=https://wiki.archlinux.org/index.php/Ureadahead |date=20140519131936 }}&lt;br /&gt;
{{Linux}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Linux文件系统相关软件]]&lt;/div&gt;</summary>
		<author><name>imported&gt;暁月凛奈</name></author>
	</entry>
</feed>