<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://elinux.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://elinux.org/index.php?title=Caching_of_information_on_udev&amp;feed=atom&amp;action=history</id>
		<title>Caching of information on udev - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://elinux.org/index.php?title=Caching_of_information_on_udev&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://elinux.org/index.php?title=Caching_of_information_on_udev&amp;action=history"/>
		<updated>2013-06-19T21:19:36Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.22alpha</generator>

	<entry>
		<id>http://elinux.org/index.php?title=Caching_of_information_on_udev&amp;diff=125864&amp;oldid=prev</id>
		<title>Hisaomunakata: /* Scope */</title>
		<link rel="alternate" type="text/html" href="http://elinux.org/index.php?title=Caching_of_information_on_udev&amp;diff=125864&amp;oldid=prev"/>
				<updated>2012-05-04T03:02:15Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Scope&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr style='vertical-align: top;'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 03:02, 4 May 2012&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 37:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 37:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Scope ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Scope ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt; &lt;/del&gt;# Implementation: 2 weeks&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Implementation: 2 weeks&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt; &lt;/del&gt;# Benchmark creation: 1 week&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Benchmark creation: 1 week&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt; &lt;/del&gt;# Adapt to community feedback, tests and upstream: 2 weeks&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Adapt to community feedback, tests and upstream: 2 weeks&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Comments ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Comments ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Project proposals 2012]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Project proposals 2012]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key elinux:diff:version:1.11a:oldid:125858:newid:125864 --&gt;
&lt;/table&gt;</summary>
		<author><name>Hisaomunakata</name></author>	</entry>

	<entry>
		<id>http://elinux.org/index.php?title=Caching_of_information_on_udev&amp;diff=125858&amp;oldid=prev</id>
		<title>Hisaomunakata: Created page with &quot;; Summary: Caching device information on udev  ; Proposer: Lucas De Marchi (lucas.demarchi@profusion.mobi)  == Description == Currently udev is the most widely used device manage...&quot;</title>
		<link rel="alternate" type="text/html" href="http://elinux.org/index.php?title=Caching_of_information_on_udev&amp;diff=125858&amp;oldid=prev"/>
				<updated>2012-05-04T03:01:16Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;; Summary: Caching device information on udev  ; Proposer: Lucas De Marchi (lucas.demarchi@profusion.mobi)  == Description == Currently udev is the most widely used device manage...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;; Summary: Caching device information on udev&lt;br /&gt;
&lt;br /&gt;
; Proposer: Lucas De Marchi (lucas.demarchi@profusion.mobi)&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
Currently udev is the most widely used device manager on Linux. It is&lt;br /&gt;
responsible for managing&lt;br /&gt;
the /dev entries, and provides several useful actions to be run on&lt;br /&gt;
specific occasions.&lt;br /&gt;
&lt;br /&gt;
Right now udev does device discovery and setup on every boot. But&lt;br /&gt;
usually this is not needed, especially on embedded devices where the&lt;br /&gt;
hardware will not change over time. One major point of&lt;br /&gt;
improvement then in order to speed boot now is to cache the&lt;br /&gt;
information used by udev, and providing a way of verifying if this&lt;br /&gt;
cache is still valid or if it needs to be re-done.&lt;br /&gt;
&lt;br /&gt;
Udev has several builtin handlers to address changes in the system, as&lt;br /&gt;
reported by the kernel: load modules, find firmware, apply rules to&lt;br /&gt;
new devices, etc. The purpose of this project is to add the necessary&lt;br /&gt;
infrastructure in udev so these builtin handlers can ask for caching&lt;br /&gt;
the information they need and re-play them on next boot. This&lt;br /&gt;
infrastructure will be evaluated by applying it to module loading:&lt;br /&gt;
instead of probing the bus on every boot to decide we need to load a&lt;br /&gt;
certain module, we can load it nonetheless because previous boots&lt;br /&gt;
needed them. Later on boot sequence we can verify if they were indeed&lt;br /&gt;
needed and cache for next boot.&lt;br /&gt;
&lt;br /&gt;
This idea has already been discussed with the udev upstream, and&lt;br /&gt;
they want to see how performance is improved by having such a cache.&lt;br /&gt;
The intention is to implement this cache and create benchmarks for&lt;br /&gt;
embedded devices, where usually the hardware is not changed between&lt;br /&gt;
reboots.&lt;br /&gt;
&lt;br /&gt;
== Related work ==&lt;br /&gt;
* http://en.wikipedia.org/wiki/Udev&lt;br /&gt;
&lt;br /&gt;
== Scope ==&lt;br /&gt;
 # Implementation: 2 weeks&lt;br /&gt;
 # Benchmark creation: 1 week&lt;br /&gt;
 # Adapt to community feedback, tests and upstream: 2 weeks&lt;br /&gt;
&lt;br /&gt;
== Comments ==&lt;br /&gt;
&lt;br /&gt;
[[Category:Project proposals 2012]]&lt;/div&gt;</summary>
		<author><name>Hisaomunakata</name></author>	</entry>

	</feed>