<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://kerneltrap.org"  xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>KernelTrap - Peter Zijlstra</title>
 <link>http://kerneltrap.org/taxonomy/term/864/0</link>
 <description></description>
 <language>en-local</language>
<item>
 <title>Swap Over NFS</title>
 <link>http://kerneltrap.org/Linux/Swap_Over_NFS</link>
 <description>&lt;div class=&quot;taxonomy-images&quot;&gt;&lt;a href=&quot;/news/linux&quot; class=&quot;taxonomy-image-links&quot;&gt;&lt;img src=&quot;http://kerneltrap.org/files/category_pictures/K-Linux.gif&quot; alt=&quot;Linux news&quot; title=&quot;Linux news&quot;  width=&quot;75&quot; height=&quot;75&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;!-- google_ad_section_start --&gt;&lt;p&gt;&quot;&lt;i&gt;The problem with swap over network is the generic swap problem: needing memory to free memory. Normally this is solved using mempools, as can be seen in the BIO layer,&lt;/i&gt;&quot; &lt;a href=&quot;http://kerneltrap.org/mailarchive/linux-kernel/2007/10/30/369602&quot;&gt;explained Peter Zijlstra&lt;/a&gt;.  &quot;&lt;i&gt;Swap over network has the problem that the network subsystem does not use fixed sized allocations, but heavily relies on kmalloc(). This makes mempools unusable.&lt;/i&gt;&quot;  &lt;/p&gt;
&lt;p&gt;The first fifteen patches set up a generic framework for reserving memory. Patches 16-23 actually put the framework to use on the network stack.  Peter noted, &quot;&lt;i&gt;a network write back completion [involves] receiving packets, which when there is no memory, is rather hard. And even when there is memory there is no guarantee that the required packet comes in in the window that that memory buys us.&lt;/i&gt;&quot;  He went on to explain, &quot;&lt;i&gt;the solution to this problem is found in the fact that network is to be assumed lossy. Even now, when there is no memory to receive packets the network card will have to discard packets. What we do is move this into the network stack.&lt;/i&gt;&quot;  Patches 24-26 set up an infrastructure for swapping to a filesystem instead of a block device, which is then utilized by the final patches, &quot;&lt;i&gt;finally, convert NFS to make use of the new network and vm infrastructure to provide swap over NFS.&lt;/i&gt;&quot;  When the usefulness of these patches were questioned, Peter noted, &quot;&lt;i&gt;There is a large corporate demand for this, which is why I&#039;m doing this.  The typical usage scenarios are: 1) cluster/blades, where having local disks is a cost issue (maintenance of failures, heat, etc) 2) virtualisation, where dumping the storage on a networked storage unit makes for trivial migration and what not..&lt;/i&gt;&quot;&lt;/p&gt;
&lt;!-- google_ad_section_end --&gt;&lt;p&gt;&lt;a href=&quot;http://kerneltrap.org/Linux/Swap_Over_NFS&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://kerneltrap.org/Linux/Swap_Over_NFS#comments</comments>
 <category domain="http://kerneltrap.org/Linux">Linux</category>
 <category domain="http://kerneltrap.org/NFS">NFS</category>
 <category domain="http://kerneltrap.org/Peter_Zijlstra">Peter Zijlstra</category>
 <category domain="http://kerneltrap.org/taxonomy/term/292">swap</category>
 <category domain="http://kerneltrap.org/virtualization">virtualization</category>
 <category domain="http://kerneltrap.org/news/linux">Linux news</category>
 <pubDate>Sat, 03 Nov 2007 03:07:19 +0000</pubDate>
 <dc:creator>Jeremy</dc:creator>
 <guid isPermaLink="false">14733 at http://kerneltrap.org</guid>
</item>
<item>
 <title>Memory Management Improvements</title>
 <link>http://kerneltrap.org/Linux/Memory_Management_Improvements</link>
 <description>&lt;div class=&quot;taxonomy-images&quot;&gt;&lt;a href=&quot;/news/linux&quot; class=&quot;taxonomy-image-links&quot;&gt;&lt;img src=&quot;http://kerneltrap.org/files/category_pictures/K-Linux.gif&quot; alt=&quot;Linux news&quot; title=&quot;Linux news&quot;  width=&quot;75&quot; height=&quot;75&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;!-- google_ad_section_start --&gt;&lt;p&gt;A recent report on the lkml suggested improved IO/writeback performance in the recently released 2.6.24-rc1 kernel compared to the earlier 2.6.19.2 and 2.6.22.6 kernels.  Credit was given to some patches by Peter Zijlstra.  &lt;a href=&quot;http://kerneltrap.org/mailarchive/linux-kernel/2007/10/26/359228&quot;&gt;Ingo Molnar replied&lt;/a&gt;, &quot;&lt;i&gt;wow, really nice results! Peter does know how to make stuff fast :) Now lets pick up some of Peter&#039;s other, previously discarded patches as well :-)&lt;/i&gt;&quot;  He pointed to several patches &quot;&lt;i&gt;as a starter&lt;/i&gt;&quot;, then quipped, &quot;&lt;i&gt;I think the MM should get out of deep-feature-freeze mode - there&#039;s tons of room to improve :-/&lt;/i&gt;&quot;&lt;/p&gt;
&lt;p&gt;Andrew Morton replied, &quot;&lt;i&gt;kidding.  We merged about 265 MM patches in 2.6.24-rc1: &lt;code&gt;482 files changed, 8071 insertions(+), 5142 deletions(-)&lt;/code&gt;&lt;/i&gt;&quot;.  He added, &quot;&lt;i&gt;a lot of that was new functionality.  That&#039;s easier to add than things which change long-standing functionality.&lt;/i&gt;&quot;  Of the patches Ingo pointed to, Peter noted he was currently working on polishing the swap-over-NFS patch, &quot;&lt;i&gt;will post that one again, soonish.... Esp. after Linus professed liking to have swap over NFS.&lt;/i&gt;&quot;  Rik van Riel also replied regarding rewriting the &lt;a href=&quot;http://linux-mm.org/PageReplacementDesign&quot;&gt;page replacement&lt;/a&gt; code, &quot;&lt;i&gt;at the moment I only have the basic &#039;plumbing&#039; of the split VM working and am fixing some bugs in that.  Expect a patch series with that soon, so you guys can review that code and tell me where to beat it into shape some more :)&lt;/i&gt;&quot;&lt;/p&gt;
&lt;!-- google_ad_section_end --&gt;&lt;p&gt;&lt;a href=&quot;http://kerneltrap.org/Linux/Memory_Management_Improvements&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://kerneltrap.org/Linux/Memory_Management_Improvements#comments</comments>
 <category domain="http://kerneltrap.org/Andrew_Morton">Andrew Morton</category>
 <category domain="http://kerneltrap.org/Ingo_Molnar">Ingo Molnar</category>
 <category domain="http://kerneltrap.org/Linux">Linux</category>
 <category domain="http://kerneltrap.org/taxonomy/term/479">memory management</category>
 <category domain="http://kerneltrap.org/NFS">NFS</category>
 <category domain="http://kerneltrap.org/taxonomy/term/523">page replacement</category>
 <category domain="http://kerneltrap.org/Peter_Zijlstra">Peter Zijlstra</category>
 <category domain="http://kerneltrap.org/Rik_van_Riel">Rik van Riel</category>
 <category domain="http://kerneltrap.org/taxonomy/term/292">swap</category>
 <category domain="http://kerneltrap.org/news/linux">Linux news</category>
 <pubDate>Sat, 27 Oct 2007 10:04:59 +0000</pubDate>
 <dc:creator>Jeremy</dc:creator>
 <guid isPermaLink="false">14688 at http://kerneltrap.org</guid>
</item>
<item>
 <title>CFS Updates</title>
 <link>http://kerneltrap.org/Linux/CFS_Updates</link>
 <description>&lt;div class=&quot;taxonomy-images&quot;&gt;&lt;a href=&quot;/news/linux&quot; class=&quot;taxonomy-image-links&quot;&gt;&lt;img src=&quot;http://kerneltrap.org/files/category_pictures/K-Linux.gif&quot; alt=&quot;Linux news&quot; title=&quot;Linux news&quot;  width=&quot;75&quot; height=&quot;75&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;!-- google_ad_section_start --&gt;&lt;p&gt;&quot;&lt;i&gt;Lots of scheduler updates in the past few days, done by many people,&lt;/i&gt;&quot; noted Ingo Molnar, going on to &lt;a href=&quot;http://kerneltrap.org/mailarchive/linux-kernel/2007/9/24/287442&quot;&gt;describe the more significant updates&lt;/a&gt;.  &quot;&lt;i&gt;Most importantly, the SMP latency problems reported and debugged by Mike Galbraith should be fixed for good now.&lt;/i&gt;&quot;  Ingo noted that the current code base was looking stable and was likely to be merged into the upcoming 2.6.24 kernel, &quot;&lt;i&gt;so please give it a good workout and let us know if there&#039;s anything bad going on. (If this works out fine then i&#039;ll propagate these changes back into the CFS backport, for wider testing.)&lt;/i&gt;&quot;  He went on to describe the other main changes in the development branch of the process scheduler:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&quot;I&#039;ve also included the latest and greatest group-fairness scheduling patch from Srivatsa Vaddagiri, which can now be used without containers as well (in a simplified, each-uid-gets-its-fair-share mode). This feature (CONFIG_FAIR_USER_SCHED) is now default-enabled.&lt;/p&gt;
&lt;p&gt;&quot;Peter Zijlstra has been busy enhancing the math of the scheduler: we&#039;ve got the new &#039;vslice&#039; forked-task code that should enable snappier shell commands during load while still keeping kbuild workloads in check.&quot;&lt;/p&gt;&lt;/blockquote&gt;
&lt;!-- google_ad_section_end --&gt;&lt;p&gt;&lt;a href=&quot;http://kerneltrap.org/Linux/CFS_Updates&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://kerneltrap.org/Linux/CFS_Updates#comments</comments>
 <category domain="http://kerneltrap.org/2.6.24">2.6.24</category>
 <category domain="http://kerneltrap.org/CFS">CFS</category>
 <category domain="http://kerneltrap.org/Ingo_Molnar">Ingo Molnar</category>
 <category domain="http://kerneltrap.org/Linux">Linux</category>
 <category domain="http://kerneltrap.org/taxonomy/term/543">Mike Galbraith</category>
 <category domain="http://kerneltrap.org/performance">performance</category>
 <category domain="http://kerneltrap.org/Peter_Zijlstra">Peter Zijlstra</category>
 <category domain="http://kerneltrap.org/scheduler">scheduler</category>
 <category domain="http://kerneltrap.org/taxonomy/term/330">SMP</category>
 <category domain="http://kerneltrap.org/taxonomy/term/289">Srivatsa Vaddagiri</category>
 <category domain="http://kerneltrap.org/taxonomy/term/906">task-groups</category>
 <category domain="http://kerneltrap.org/news/linux">Linux news</category>
 <pubDate>Tue, 25 Sep 2007 09:37:05 +0000</pubDate>
 <dc:creator>Jeremy</dc:creator>
 <guid isPermaLink="false">14444 at http://kerneltrap.org</guid>
</item>
<item>
 <title>CFS, Focusing on Simplification and Performance</title>
 <link>http://kerneltrap.org/Linux/CFS_Focusing_on_Simplification_and_Performance</link>
 <description>&lt;div class=&quot;taxonomy-images&quot;&gt;&lt;a href=&quot;/news/linux&quot; class=&quot;taxonomy-image-links&quot;&gt;&lt;img src=&quot;http://kerneltrap.org/files/category_pictures/K-Linux.gif&quot; alt=&quot;Linux news&quot; title=&quot;Linux news&quot;  width=&quot;75&quot; height=&quot;75&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;!-- google_ad_section_start --&gt;&lt;p&gt;Having recently returned from the Linux kernel summit, Ingo Molnar and Peter Zijlstra &lt;a href=&quot;http://kerneltrap.org/mailarchive/linux-kernel/2007/9/11/230691&quot;&gt;sent out some performance updates&lt;/a&gt; to the Completely Fair Scheduler:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&quot;Our main focus has been on simplifications and performance - and as part of that we&#039;ve also picked up some ideas from Roman Zippel&#039;s &#039;Really Fair Scheduler&#039; patch as well and integrated them into CFS. We&#039;d like to ask people go give these patches a good workout, especially with an eye on any interactivity regressions.&quot;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;He noted that some of the changes included removing features that had proved unecessary. &quot;&lt;i&gt;while keeping the things that worked out fine, like sleeper fairness.&lt;/i&gt;&quot;  Ingo posted some results from the lmbench benchmark noting around a 16% speedup on both the 32-bit and 64-bit x86 architectures.  He added, &quot;&lt;i&gt;we are now a bit faster than the O(1) scheduler was under v2.6.22 - even on 32-bit. The main speedup comes from the avoidance of divisions (or shifts) in the wakeup and context-switch fastpaths.&lt;/i&gt;&quot;&lt;/p&gt;
&lt;!-- google_ad_section_end --&gt;&lt;p&gt;&lt;a href=&quot;http://kerneltrap.org/Linux/CFS_Focusing_on_Simplification_and_Performance&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://kerneltrap.org/Linux/CFS_Focusing_on_Simplification_and_Performance#comments</comments>
 <category domain="http://kerneltrap.org/CFS">CFS</category>
 <category domain="http://kerneltrap.org/Ingo_Molnar">Ingo Molnar</category>
 <category domain="http://kerneltrap.org/Linux">Linux</category>
 <category domain="http://kerneltrap.org/lmbench">lmbench</category>
 <category domain="http://kerneltrap.org/O1">O(1)</category>
 <category domain="http://kerneltrap.org/performance">performance</category>
 <category domain="http://kerneltrap.org/Peter_Zijlstra">Peter Zijlstra</category>
 <category domain="http://kerneltrap.org/RFS">RFS</category>
 <category domain="http://kerneltrap.org/Roman_Zippel">Roman Zippel</category>
 <category domain="http://kerneltrap.org/scheduler">scheduler</category>
 <category domain="http://kerneltrap.org/news/linux">Linux news</category>
 <pubDate>Wed, 12 Sep 2007 08:14:25 +0000</pubDate>
 <dc:creator>Jeremy</dc:creator>
 <guid isPermaLink="false">14348 at http://kerneltrap.org</guid>
</item>
<item>
 <title>Linux:  Discussing the Really Fair Scheduler</title>
 <link>http://kerneltrap.org/Linux/Discussing_the_Really_Fair_Scheduler</link>
 <description>&lt;div class=&quot;taxonomy-images&quot;&gt;&lt;a href=&quot;/news/linux&quot; class=&quot;taxonomy-image-links&quot;&gt;&lt;img src=&quot;http://kerneltrap.org/files/category_pictures/K-Linux.gif&quot; alt=&quot;Linux news&quot; title=&quot;Linux news&quot;  width=&quot;75&quot; height=&quot;75&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;!-- google_ad_section_start --&gt;&lt;p&gt;Ingo