<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="/stylesheets/rss.css" type="text/css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>Chris Ball: Swap files vs. swap partitions</title>
    <link>http://blog.printf.net/articles/2006/03/27/swap-files-vs-swap-partitions</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description></description>
    <item>
      <title>Swap files vs. swap partitions</title>
      <description>&lt;p&gt;It took far too long to find this half-remembered linux-kernel thread on Google amidst all the results (mostly from distro installer guides) claiming that swap partitions are preferable to swap files.  Here's hoping the link below will help future searchers.&lt;/p&gt;

&lt;p&gt;&lt;a href="http://www.ussg.iu.edu/hypermail/linux/kernel/0507.0/1690.html"&gt;Swap files and swap partitions have the same performance&lt;/a&gt;:&lt;/p&gt;

&lt;blockquote&gt;In 2.6 [swap files and swap partitions] have the same reliability and they will have the same performance unless the swapfile is badly fragmented.
 &lt;br&gt;-- Andrew Morton, on linux-kernel.&lt;/blockquote&gt;

&lt;p&gt;(There &lt;i&gt;is&lt;/i&gt; a performance difference under Linux 2.4, though, as explained at the link above.)&lt;/p&gt;

&lt;p&gt;&lt;i&gt;Update&lt;/i&gt;: Tim comments that swsusp (the kernel software suspend-to-disk support) only works with swap partitions, so there is still one good reason to use a swap partition. &lt;a href="http://suspend2.net"&gt;Suspend2&lt;/a&gt; doesn't have this limitation.&lt;/p&gt;</description>
      <pubDate>Mon, 27 Mar 2006 18:55:00 +0100</pubDate>
      <guid isPermaLink="false">urn:uuid:9f29cd1d-b5c5-4111-b9c3-736be4079e9c</guid>
      <author>Chris Ball</author>
      <link>http://blog.printf.net/articles/2006/03/27/swap-files-vs-swap-partitions</link>
      <category>kernel</category>
      <category>linux</category>
      <trackback:ping>http://blog.printf.net/articles/trackback/17</trackback:ping>
    </item>
    <item>
      <title>"Swap files vs. swap partitions" by craigslist news blog</title>
      <description>&lt;p&gt;I searched a long time for such an great article. Thank you very much.
You have to be patient with such material if you're really interested in extracting some info off.&lt;/p&gt;</description>
      <pubDate>Fri, 13 Apr 2007 08:59:13 +0100</pubDate>
      <guid isPermaLink="false">urn:uuid:17321244-1732-43f4-902a-a1e483259a80</guid>
      <link>http://blog.printf.net/articles/2006/03/27/swap-files-vs-swap-partitions#comment-176</link>
    </item>
    <item>
      <title>"Swap files vs. swap partitions" by aka</title>
      <description>&lt;p&gt;&lt;a href="http://www.collant-chat.ooekpe16.info" rel="nofollow"&gt;collant chat&lt;/a&gt; troie in ticino &lt;/p&gt;</description>
      <pubDate>Tue, 02 Jan 2007 21:18:30 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:cfdc6bf3-6666-4a32-803a-b40c1a26fff5</guid>
      <link>http://blog.printf.net/articles/2006/03/27/swap-files-vs-swap-partitions#comment-288</link>
    </item>
    <item>
      <title>"Swap files vs. swap partitions" by aka</title>
      <description>&lt;p&gt;&lt;a href="http://www.collant-chat.ooekpe16.info" rel="nofollow"&gt;collant chat&lt;/a&gt; troie in ticino &lt;a href="http://www.segretarie-sey.hooojo16.info" rel="nofollow"&gt;segretarie sey&lt;/a&gt; amatoriale scopa  nylon ******&lt;/p&gt;</description>
      <pubDate>Tue, 02 Jan 2007 21:18:16 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:d9687b54-2862-4e8b-b7d6-1fb6dbad9d46</guid>
      <link>http://blog.printf.net/articles/2006/03/27/swap-files-vs-swap-partitions#comment-287</link>
    </item>
    <item>
      <title>"Swap files vs. swap partitions" by cheap hydrocodone</title>
      <description>&lt;p&gt;Hello this is best online news archive . Thank you!&lt;/p&gt;</description>
      <pubDate>Tue, 12 Dec 2006 14:08:19 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:c9e360b3-f896-4f08-9224-d20eddee359f</guid>
      <link>http://blog.printf.net/articles/2006/03/27/swap-files-vs-swap-partitions#comment-190</link>
    </item>
    <item>
      <title>"Swap files vs. swap partitions" by phentermine 37.5 mg</title>
      <description>&lt;p&gt;Hello! This is nice information site. Thank you.&lt;/p&gt;</description>
      <pubDate>Tue, 07 Nov 2006 19:44:12 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:9342fbfd-4696-456a-b5dc-b91425df2e2f</guid>
      <link>http://blog.printf.net/articles/2006/03/27/swap-files-vs-swap-partitions#comment-171</link>
    </item>
    <item>
      <title>"Swap files vs. swap partitions" by online pharmacy</title>
      <description>&lt;p&gt;Hello! This is nice information site. Thank you.&lt;/p&gt;</description>
      <pubDate>Tue, 07 Nov 2006 19:43:41 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:e0e8d404-ed35-4f65-aae9-e800cfae7a14</guid>
      <link>http://blog.printf.net/articles/2006/03/27/swap-files-vs-swap-partitions#comment-170</link>
    </item>
    <item>
      <title>"Swap files vs. swap partitions" by online pharmacy</title>
      <description>&lt;p&gt;Hello this is nice site more information in this archives. Thanks!&lt;/p&gt;</description>
      <pubDate>Fri, 03 Nov 2006 15:44:43 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:9b9ba1fc-539a-46dc-9923-a9b6ca026463</guid>
      <link>http://blog.printf.net/articles/2006/03/27/swap-files-vs-swap-partitions#comment-164</link>
    </item>
    <item>
      <title>"Swap files vs. swap partitions" by Chris</title>
      <description>Splutter.  I decided to see if porting swapfile support from suspend2 was plausible, and found this (unrelated) snippet in Documentation/power/swsusp.txt as advice for how to get your page cache sane after a resume:
&lt;p&gt;
&lt;code&gt;cat `cat /proc/[0-9]*/maps | grep / | sed 's:.* /:/:' | sort -u` &gt; /dev/null&lt;/code&gt;&lt;/p&gt;</description>
      <pubDate>Tue, 28 Mar 2006 00:45:29 +0100</pubDate>
      <guid isPermaLink="false">urn:uuid:f37979da-e503-475b-a2d9-31c34d7deaae</guid>
      <link>http://blog.printf.net/articles/2006/03/27/swap-files-vs-swap-partitions#comment-16</link>
    </item>
    <item>
      <title>"Swap files vs. swap partitions" by Chris</title>
      <description>Thanks, Tim; I didn't know that, and I've added an update to the post.</description>
      <pubDate>Mon, 27 Mar 2006 21:36:57 +0100</pubDate>
      <guid isPermaLink="false">urn:uuid:59539d52-9fe9-4579-af5c-e5dd6b309e19</guid>
      <link>http://blog.printf.net/articles/2006/03/27/swap-files-vs-swap-partitions#comment-15</link>
    </item>
    <item>
      <title>"Swap files vs. swap partitions" by Tim</title>
      <description>According to &lt;a href="http://www.suspend2.net/features" rel="nofollow"&gt;this&lt;/a&gt;, the kernel's suspend code (CONFIG_SOFTWARE_SUSPEND) doesn't play nice with swap files -- you need a swap partition for it.

I agree that swap files are better in 99% of cases these days.  But I also want to power down my computer without closing all my work.

(The ideal solution, of course, is a kickin' suspend feature for Linux that can work with a swap file, but that doesn't appear to be a priority for the kernel guys.)</description>
      <pubDate>Mon, 27 Mar 2006 20:44:01 +0100</pubDate>
      <guid isPermaLink="false">urn:uuid:1c01aff4-6de0-4b9c-933b-f2d002160aea</guid>
      <link>http://blog.printf.net/articles/2006/03/27/swap-files-vs-swap-partitions#comment-14</link>
    </item>
    <item>
      <title>"Swap files vs. swap partitions" by Julian Turner</title>
      <description>The swap partiotion still has one advantage:
You can easily use one for several Linux installations if you dual-boot.</description>
      <pubDate>Mon, 27 Mar 2006 20:28:14 +0100</pubDate>
      <guid isPermaLink="false">urn:uuid:ff69337c-6cf0-4294-8719-57ef030f42c9</guid>
      <link>http://blog.printf.net/articles/2006/03/27/swap-files-vs-swap-partitions#comment-13</link>
    </item>
  </channel>
</rss>
