en-US/Swap_Partrecommend.xml

Rüdiger Landmann rlandmann at fedoraproject.org
Fri Dec 11 05:30:08 UTC 2009


 en-US/Swap_Partrecommend.xml |  107 +++++++++++++++++++------------------------
 1 file changed, 49 insertions(+), 58 deletions(-)

New commits:
commit b16449b1ef641517de69c9796a477872268b8456
Author: Ruediger Landmann <r.landmann at redhat.com>
Date:   Fri Dec 11 15:28:47 2009 +1000

    Update swap recommendations per BZ#503878 and BZ#542865

diff --git a/en-US/Swap_Partrecommend.xml b/en-US/Swap_Partrecommend.xml
index 2c39476..294ed3e 100644
--- a/en-US/Swap_Partrecommend.xml
+++ b/en-US/Swap_Partrecommend.xml
@@ -2,64 +2,55 @@
 <!DOCTYPE listitem PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
 ]>
 <listitem>
-	<formalpara>
-		<title>A swap partition (at least 256 MB)</title>
-		<para>
-		Swap partitions are used to support virtual memory. In other words, data is written to a swap partition when there is not enough RAM to store the data your system is processing. In addition, certain power management features store all of the memory for a suspended system in the available swap partitions. 
-		</para>
-	</formalpara>
-	
 	<para>
-		If you are unsure about what size swap partition to create, make it twice the amount of RAM on your machine. It must be of type swap.
-	</para>
-	
-	<para>
-		Creation of the proper amount of swap space varies depending on a number of factors including the following (in descending order of importance):
-	</para>
-	
-	<itemizedlist>
-		<listitem>
-			<para>
-				The applications running on the machine.
-			</para>
-		</listitem>
-	
-		<listitem>
-			<para>
-				The amount of physical RAM installed on the machine.
-			</para>
-		</listitem>
-	
-		<listitem>
-			<para>
-				The version of the OS.
-			</para>
-		</listitem>
-	</itemizedlist>
-	
-	<para>
-		Swap should equal 2x physical RAM for up to 2 GB of physical RAM, and then an additional 1x physical RAM for any amount above 2 GB, but never less than 32 MB.
-	</para>
-	
-	<para>
-		So, if:
-	</para>
-		
-	<para>
-		M = Amount of RAM in GB, and S = Amount of swap in GB, then
-	</para>
-	
-<screen>If M < 2
-	S = M *2
-Else
-	S = M + 2</screen>
-		
-	
-	<para>
-		Using this formula, a system with 2 GB of physical RAM would have 4 GB of swap, while one with 3 GB of physical RAM would have 5 GB of swap. Creating a large swap space partition can be especially helpful if you plan to upgrade your RAM at a later time.
-	</para>
-	
-	<para>
-		For systems with really large amounts of RAM (more than 32 GB) you can likely get away with a smaller swap partition (around 1x, or less, of physical RAM).
+		A swap partition (at least 256 MB) — swap partitions are used to support virtual memory. In other words, data is written to a swap partition when there is not enough RAM to store the data your system is processing.
 	</para>
+
+		<para>In years past, the recommended amount of swap space increased linearly with the amount of RAM in the system. But because the amount of memory in modern systems has increased into the hundreds of gigabytes, it is now recognized that the amount of swap space that a system needs is a function of the memory workload running on that system. However, given that swap space is usually designated at install time, and that it can be difficult to determine beforehand the memory workload of a system, we recommend determining system swap using the following table.</para>
+		<table
+			id="table-Recommended_System_Swap_Space"
+			frame="all">
+			<title>Recommended System Swap Space</title>
+			<tgroup
+				cols="2"
+				align="left"
+				colsep="1"
+				rowsep="1">
+				<colspec
+					colnum="1"
+					colname="col1"/>
+				<colspec
+					colnum="2"
+					colname="col2"/>
+				<thead>
+					<row>
+						<entry>Amount of RAM in the System</entry>
+						<entry>Recommended Amount of Swap Space</entry>
+					</row>
+				</thead>
+				<tbody>
+					<row>
+						<entry>4GB of RAM or less</entry>
+						<entry>a minimum of 2GB of swap space</entry>
+					</row>
+					<row>
+						<entry>4GB to 16GB of RAM</entry>
+						<entry>a minimum of 4GB of swap space</entry>
+					</row>
+					<row>
+						<entry>16GB to 64GB of RAM</entry>
+						<entry>a minimum of 8GB of swap space</entry>
+					</row>
+					<row>
+						<entry>64GB to 256GB of RAM</entry>
+						<entry>a minimum of 16GB of swap space</entry>
+					</row>
+					<row>
+						<entry>256GB to 512GB of RAM</entry>
+						<entry>a minimum of 32GB of swap space</entry>
+					</row>
+				</tbody>
+			</tgroup>
+		</table>
+
 </listitem>





More information about the Fedora-docs-commits mailing list