<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="2.0">
<channel>
  <title>Linux Format forums</title>
  <link>http://www.linuxformat.com/forums/index.php</link>
  <description>Help, discussion, magazine feedback and more</description>
  <language>english</language>
  <copyright>(c) Copyright Wed May 22, 2013 11:00 pm by Linux Format forums</copyright>
  <managingEditor>webmaster@linuxformat.com</managingEditor>
  <webMaster>webmaster@linuxformat.com</webMaster>
  <pubDate>Wed May 22, 2013 11:00 pm</pubDate>
  <lastBuildDate>Wed May 22, 2013 11:00 pm</lastBuildDate>
  <docs>http://backend.userland.com/rss</docs>
  <generator>phpBB2 RSS Syndication Mod by Lucas</generator>
  <ttl>1</ttl>

  <image>
    <title>Linux Format forums</title>
    <url></url>
    <link>http://www.linuxformat.com/forums/</link>
    <description>Help, discussion, magazine feedback and more</description>
  </image>

                                      <item>
                                        <title>Re: What is swap partition?</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=101790#101790</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=167'&gt;nordle&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Thu Sep 22, 2011 1:43 am&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      On my PC, the STR uses no more power than if the PC is off but still plugged into the socket.  As I don't turn off the PC at the socket, STR was an obvious choice.  It works so well and means a boot time of less than 3 seconds.&lt;br /&gt;
&lt;br /&gt;
Uses about 9w</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=101790#101790</comments>
                                        <author>nordle</author>
                                        <pubDate>Thu Sep 22, 2011 1:43 am</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=101790#101790</guid>
                                      </item>
                                      <item>
                                        <title>Re: What is swap partition?</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=101629#101629</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=130'&gt;Ram&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Wed Sep 14, 2011 5:27 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      If suspend suspends to ram (power still consumed)  where is hibernate  stored no power used.</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=101629#101629</comments>
                                        <author>Ram</author>
                                        <pubDate>Wed Sep 14, 2011 5:27 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=101629#101629</guid>
                                      </item>
                                      <item>
                                        <title>Two Topics Here?</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=101626#101626</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=67227'&gt;Nuke&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Wed Sep 14, 2011 1:58 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      &lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;pastychomper wrote:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;quote&quot;&gt;.. swap files have been as fast as swap partitions for some time, so if TuxonIce is .. good .. there's no longer a need to have a swap partition at all.&lt;br /&gt;
&lt;br /&gt;
I suppose having a dedicated partition means you can keep the swap on the fastest edge of the disc, .. - but would that be offset by the drive heads having to travel further from the filesystem partition(s) to do a read?&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
It looks like two issues have got mixed in this thread : (1) Need for a swap partition, and (2) Suspending the OS.  I never knew that  suspending used the swap space - can someone confirm that?  I thought the RAM power was maintained while all other power consuming stuff was switched off.&lt;br /&gt;
&lt;br /&gt;
However Suspend works, I understand that you should always have a swap partion as some software (probably older stuff) is written to use it, even if there is plenty of memory.  You should not need much though, mine's only 500 Mb.&lt;br /&gt;
&lt;br /&gt;
As for having the swap as a file, not in a partition, what's the point again?  I can see swap file (as opposed to a partition) getting fragmented all over the place mixed in with data files. Hardly efficient. Windows does that (from NT/XP) : ever looked at the frag map of a Windows HDD?  &lt;br /&gt;
&lt;br /&gt;
Anyway, as this thread has said, the swap is little used these days so a few less nanoseconds don't matter.  But have you thought of trying to recover data from a corrupted disk?  With valuable data mixed in with bits of swap (and therefore similar stuff appearing many times over) your disk is going to be a real mess to sort out!&lt;br /&gt;
&lt;br /&gt;
I have always had two or more HDDs in my builds (four once).  When I put in a bigger HDD I keep the previous one and put two partitions (at least) on it, one for the swap and the other for a first level backup.  So effectively the disc is dedicated to swapping.</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=101626#101626</comments>
                                        <author>Nuke</author>
                                        <pubDate>Wed Sep 14, 2011 1:58 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=101626#101626</guid>
                                      </item>
                                      <item>
                                        <title>Re: What is swap partition?</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=101537#101537</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=167'&gt;nordle&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Thu Sep 08, 2011 11:01 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      Can't be arsed to fact check.&lt;br /&gt;
But does Suspend not go to RAM (assuming STR in bios), so swap is not essential anyway?  &lt;br /&gt;
Hibernate may require disk space, but STR does not.&lt;br /&gt;
&lt;br /&gt;
I've got 2GB RAM and 512MB swap.  Never had a problem suspending PC.  Longest I think was 30 something days with a daily suspend, then kernel update forced actual reboot.</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=101537#101537</comments>
                                        <author>nordle</author>
                                        <pubDate>Thu Sep 08, 2011 11:01 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=101537#101537</guid>
                                      </item>
                                      <item>
                                        <title>Re: What is swap partition?</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=101527#101527</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=66408'&gt;pastychomper&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Thu Sep 08, 2011 3:35 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      Impressive.  I'm assured swap files have been as fast as swap partitions for some time, so if TuxonIce is as good as it sounds then presumably there's no longer a need to have a swap partition at all.&lt;br /&gt;
&lt;br /&gt;
I suppose having a dedicated partition means you can keep the swap on the fastest edge of the disc, so maybe it's still worthwhile - but would that be offset by the drive heads having to travel further from the filesystem partition(s) to do a read?</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=101527#101527</comments>
                                        <author>pastychomper</author>
                                        <pubDate>Thu Sep 08, 2011 3:35 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=101527#101527</guid>
                                      </item>
                                      <item>
                                        <title>Re: What is swap partition?</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=101526#101526</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=5'&gt;nelz&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Thu Sep 08, 2011 3:00 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      It's an enhanced suspend that adds extra options, like suspending to a disk file, aborting a suspend and a couple of other goodies. I've used it for so long, I'd forgotten about the standard offering being more limited.</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=101526#101526</comments>
                                        <author>nelz</author>
                                        <pubDate>Thu Sep 08, 2011 3:00 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=101526#101526</guid>
                                      </item>
                                      <item>
                                        <title>Re: What is swap partition?</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=101525#101525</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=60'&gt;Rhakios&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Thu Sep 08, 2011 2:56 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      &lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;nelz wrote:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;quote&quot;&gt;If you're using TuxonIce to suspend, it's a matter of changing one line in the config file. That would make for a rather short tutorial.&lt;br /&gt;
&lt;br /&gt;
If you're not using TuxOnIce, you deserve what you get &lt;img src=&quot;images/smiles/icon_smile.gif&quot; alt=&quot;Smile&quot; border=&quot;0&quot; /&gt;&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;&lt;br /&gt;
Until you mentioned it I'd never heard of it, but then I only use suspend, which works well enough on my netbook.</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=101525#101525</comments>
                                        <author>Rhakios</author>
                                        <pubDate>Thu Sep 08, 2011 2:56 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=101525#101525</guid>
                                      </item>
                                      <item>
                                        <title>Re: What is swap partition?</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=101524#101524</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=5'&gt;nelz&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Thu Sep 08, 2011 2:43 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      If you're using TuxonIce to suspend, it's a matter of changing one line in the config file. That would make for a rather short tutorial.&lt;br /&gt;
&lt;br /&gt;
If you're not using TuxOnIce, you deserve what you get &lt;img src=&quot;images/smiles/icon_smile.gif&quot; alt=&quot;Smile&quot; border=&quot;0&quot; /&gt;</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=101524#101524</comments>
                                        <author>nelz</author>
                                        <pubDate>Thu Sep 08, 2011 2:43 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=101524#101524</guid>
                                      </item>
                                      <item>
                                        <title>Re: What is swap partition?</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=101523#101523</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=60'&gt;Rhakios&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Thu Sep 08, 2011 1:15 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      &lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;nelz wrote:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;quote&quot;&gt;The full contents of active memory are saved, compressed if you want, but you can suspend to a file so a large swap is unnecessary.&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;&lt;br /&gt;
Is that the subject for a future tutorial, &lt;span style=&quot;font-weight: bold&quot;&gt;nelz&lt;/span&gt;, suspend to a file?</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=101523#101523</comments>
                                        <author>Rhakios</author>
                                        <pubDate>Thu Sep 08, 2011 1:15 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=101523#101523</guid>
                                      </item>
                                      <item>
                                        <title>Re: What is swap partition?</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=101515#101515</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=5'&gt;nelz&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Wed Sep 07, 2011 6:25 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      The full contents of active memory are saved, compressed if you want, but you can suspend to a file so a large swap is unnecessary.</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=101515#101515</comments>
                                        <author>nelz</author>
                                        <pubDate>Wed Sep 07, 2011 6:25 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=101515#101515</guid>
                                      </item>
                                      <item>
                                        <title>Re: What is swap partition?</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=101514#101514</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=14187'&gt;Dutch_Master&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Wed Sep 07, 2011 4:21 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      @RAM: I don't suspend nor hibernate any of my systems, so... &lt;img src=&quot;images/smiles/icon_wink.gif&quot; alt=&quot;Wink&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
However, theoretically it should be possible, as long as you close all running applications so it's only the kernel that needs room for its suspended state. In light of the above, it'll be no surprise that I haven't tried it myself &lt;img src=&quot;images/smiles/icon_razz.gif&quot; alt=&quot;Razz&quot; border=&quot;0&quot; /&gt;</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=101514#101514</comments>
                                        <author>Dutch_Master</author>
                                        <pubDate>Wed Sep 07, 2011 4:21 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=101514#101514</guid>
                                      </item>
                                      <item>
                                        <title>Re: What is swap partition?</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=101513#101513</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=130'&gt;Ram&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Wed Sep 07, 2011 3:27 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      DM, with only a quarter of the swap to actual memory, are you able to suspend / hibernate your system?</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=101513#101513</comments>
                                        <author>Ram</author>
                                        <pubDate>Wed Sep 07, 2011 3:27 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=101513#101513</guid>
                                      </item>
                                      <item>
                                        <title>Re: What is swap partition?</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=101512#101512</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=13812'&gt;Narendra&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Wed Sep 07, 2011 2:34 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      Thank you very much for your replies.&lt;br /&gt;
&lt;br /&gt;
i tried deleted the swap partition but then the computer won't boot up, showed grub error!&lt;br /&gt;
I had backed up Home Folder, the Thunderbird and the Firefox. And I do not now how to fix up the Grub Error, So I reinstalled Ubuntu, without the swap partion. I already have 4 Gb of DDR3 Ram.</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=101512#101512</comments>
                                        <author>Narendra</author>
                                        <pubDate>Wed Sep 07, 2011 2:34 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=101512#101512</guid>
                                      </item>
                                      <item>
                                        <title>Re: What is swap partition?</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=101511#101511</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=14187'&gt;Dutch_Master&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Wed Sep 07, 2011 1:12 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      An 8 GB swap is quite big. In general: the more RAM you have, the less likely the kernel needs swap to be used. Right now, the machines I've build have 16GB RAM, on a harddrive of just 30 GB any swap larger then 4 GB is a waste of space. In fact, using SSD's for the system make swap effectively unnecessary as these are so quick it'll have minimal impact on performance.</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=101511#101511</comments>
                                        <author>Dutch_Master</author>
                                        <pubDate>Wed Sep 07, 2011 1:12 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=101511#101511</guid>
                                      </item>
                                      <item>
                                        <title>Re: What is swap partition?</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=101509#101509</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=32853'&gt;RedWillow&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Wed Sep 07, 2011 10:13 am&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      No. A swap partition is analogous to the pagefile.sys file in Windows. It is used to swap stuff out of RAM if your RAM is getting too full.&lt;br /&gt;
&lt;br /&gt;
Wikipedia article on paging:&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://en.wikipedia.org/wiki/Swap_partition&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;http://en.wikipedia.org/wiki/Swap_partition&lt;/a&gt;</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=101509#101509</comments>
                                        <author>RedWillow</author>
                                        <pubDate>Wed Sep 07, 2011 10:13 am</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=101509#101509</guid>
                                      </item></channel></rss>