From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 8392C138247 for ; Tue, 17 Dec 2013 09:13:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 085C9E0B64; Tue, 17 Dec 2013 09:13:25 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 662E4E0B64 for ; Tue, 17 Dec 2013 09:13:24 +0000 (UTC) Received: from flycatcher.gentoo.org (flycatcher.gentoo.org [81.93.255.6]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6C83533F43E for ; Tue, 17 Dec 2013 09:13:23 +0000 (UTC) Received: by flycatcher.gentoo.org (Postfix, from userid 617) id 3303C2004B; Tue, 17 Dec 2013 09:13:22 +0000 (UTC) From: "Sven Vermeulen (swift)" To: gentoo-doc-cvs@lists.gentoo.org Subject: [gentoo-doc-cvs] gentoo commit in xml/htdocs/doc/en/handbook: hb-install-x86+amd64-disk.xml X-VCS-Repository: gentoo X-VCS-Files: hb-install-x86+amd64-disk.xml X-VCS-Directories: xml/htdocs/doc/en/handbook X-VCS-Committer: swift X-VCS-Committer-Name: Sven Vermeulen Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Message-Id: <20131217091322.3303C2004B@flycatcher.gentoo.org> Date: Tue, 17 Dec 2013 09:13:22 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-doc-cvs@lists.gentoo.org Reply-to: docs-team@lists.gentoo.org X-Archives-Salt: c796c9e7-068e-43bb-94dd-fc1011bf4e59 X-Archives-Hash: f673ae6da0f59f5c6ac2bb097e9ca54f swift 13/12/17 09:13:22 Modified: hb-install-x86+amd64-disk.xml Log: Move swap info to its own section Revision Changes Path 1.25 xml/htdocs/doc/en/handbook/hb-install-x86+amd64-disk.xml file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86+amd64-disk.xml?rev=1.25&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86+amd64-disk.xml?rev=1.25&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86+amd64-disk.xml?r1=1.24&r2=1.25 Index: hb-install-x86+amd64-disk.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86+amd64-disk.xml,v retrieving revision 1.24 retrieving revision 1.25 diff -u -r1.24 -r1.25 --- hb-install-x86+amd64-disk.xml 17 Dec 2013 09:10:19 -0000 1.24 +++ hb-install-x86+amd64-disk.xml 17 Dec 2013 09:13:22 -0000 1.25 @@ -4,7 +4,7 @@ - + @@ -13,7 +13,7 @@ This chapter describes how to partition a disk for future usage. -17 +18 2013-12-17
@@ -214,6 +214,30 @@ + +What about swap space? + + +

+There is no perfect value for the swap partition. The purpose of swap space is +to provide disk storage to the kernel when internal memory (RAM) is under +pressure. A swap space allows for the kernel to move memory pages that are +not likely to be accessed soon to disk (swap or page-out), freeing memory. Of +course, if that memory is suddenly needed, these pages need to be put back in +memory (page-in) which will take a while (as disks are very slow compared to +internal memory). +

+ +

+If you are not going to run memory intensive applications or you have lots of +memory available, then you probably do not need much swap space. However, swap +space is also used to store the entire memory in case of hibernation. If you +plan on using hibernation, you will need a bigger swap space, often at least +the amount of memory you have in your system. +

+ + +
Using fdisk to Partition your Disk @@ -414,25 +438,8 @@ partition, then p to tell fdisk that you want a primary partition. Then type 2 to create the second primary partition, /dev/sda2 in our case. When prompted for the first cylinder, hit enter. When prompted for -the last cylinder, type +512M to create a partition 512MB in size. -

- -

-There is no perfect value for the swap partition. The purpose of swap space is -to provide disk storage to the kernel when internal memory (RAM) is under -pressure. A swap space allows for the kernel to move memory pages that are -not likely to be accessed soon to disk (swap or page-out), freeing memory. Of -course, if that memory is suddenly needed, these pages need to be put back in -memory (page-in) which will take a while (as disks are very slow compared to -internal memory). -

- -

-If you are not going to run memory intensive applications or you have lots of -memory available, then you probably do not need much swap space. However, swap -space is also used to store the entire memory in case of hibernation. If you -plan on using hibernation, you will need a bigger swap space, often at least -the amount of memory you have in your system. +the last cylinder, type +512M (or any other size you need for the swap +space) to create a partition 512MB in size.