1 |
swift 13/12/17 09:13:22 |
2 |
|
3 |
Modified: hb-install-x86+amd64-disk.xml |
4 |
Log: |
5 |
Move swap info to its own section |
6 |
|
7 |
Revision Changes Path |
8 |
1.25 xml/htdocs/doc/en/handbook/hb-install-x86+amd64-disk.xml |
9 |
|
10 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86+amd64-disk.xml?rev=1.25&view=markup |
11 |
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 |
12 |
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 |
13 |
|
14 |
Index: hb-install-x86+amd64-disk.xml |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86+amd64-disk.xml,v |
17 |
retrieving revision 1.24 |
18 |
retrieving revision 1.25 |
19 |
diff -u -r1.24 -r1.25 |
20 |
--- hb-install-x86+amd64-disk.xml 17 Dec 2013 09:10:19 -0000 1.24 |
21 |
+++ hb-install-x86+amd64-disk.xml 17 Dec 2013 09:13:22 -0000 1.25 |
22 |
@@ -4,7 +4,7 @@ |
23 |
<!-- The content of this document is licensed under the CC-BY-SA license --> |
24 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
25 |
|
26 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86+amd64-disk.xml,v 1.24 2013/12/17 09:10:19 swift Exp $ --> |
27 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86+amd64-disk.xml,v 1.25 2013/12/17 09:13:22 swift Exp $ --> |
28 |
|
29 |
<sections> |
30 |
|
31 |
@@ -13,7 +13,7 @@ |
32 |
This chapter describes how to partition a disk for future usage. |
33 |
</abstract> |
34 |
|
35 |
-<version>17</version> |
36 |
+<version>18</version> |
37 |
<date>2013-12-17</date> |
38 |
|
39 |
<section> |
40 |
@@ -214,6 +214,30 @@ |
41 |
|
42 |
</body> |
43 |
</subsection> |
44 |
+<subsection> |
45 |
+<title>What about swap space?</title> |
46 |
+<body> |
47 |
+ |
48 |
+<p> |
49 |
+There is no perfect value for the swap partition. The purpose of swap space is |
50 |
+to provide disk storage to the kernel when internal memory (RAM) is under |
51 |
+pressure. A swap space allows for the kernel to move memory pages that are |
52 |
+not likely to be accessed soon to disk (swap or page-out), freeing memory. Of |
53 |
+course, if that memory is suddenly needed, these pages need to be put back in |
54 |
+memory (page-in) which will take a while (as disks are very slow compared to |
55 |
+internal memory). |
56 |
+</p> |
57 |
+ |
58 |
+<p> |
59 |
+If you are not going to run memory intensive applications or you have lots of |
60 |
+memory available, then you probably do not need much swap space. However, swap |
61 |
+space is also used to store the entire memory in case of hibernation. If you |
62 |
+plan on using hibernation, you will need a bigger swap space, often at least |
63 |
+the amount of memory you have in your system. |
64 |
+</p> |
65 |
+ |
66 |
+</body> |
67 |
+</subsection> |
68 |
</section> |
69 |
<section id="fdisk"> |
70 |
<title>Using fdisk to Partition your Disk</title> |
71 |
@@ -414,25 +438,8 @@ |
72 |
partition, then <c>p</c> to tell fdisk that you want a primary partition. Then |
73 |
type <c>2</c> to create the second primary partition, <path>/dev/sda2</path> in |
74 |
our case. When prompted for the first cylinder, hit enter. When prompted for |
75 |
-the last cylinder, type <c>+512M</c> to create a partition 512MB in size. |
76 |
-</p> |
77 |
- |
78 |
-<p> |
79 |
-There is no perfect value for the swap partition. The purpose of swap space is |
80 |
-to provide disk storage to the kernel when internal memory (RAM) is under |
81 |
-pressure. A swap space allows for the kernel to move memory pages that are |
82 |
-not likely to be accessed soon to disk (swap or page-out), freeing memory. Of |
83 |
-course, if that memory is suddenly needed, these pages need to be put back in |
84 |
-memory (page-in) which will take a while (as disks are very slow compared to |
85 |
-internal memory). |
86 |
-</p> |
87 |
- |
88 |
-<p> |
89 |
-If you are not going to run memory intensive applications or you have lots of |
90 |
-memory available, then you probably do not need much swap space. However, swap |
91 |
-space is also used to store the entire memory in case of hibernation. If you |
92 |
-plan on using hibernation, you will need a bigger swap space, often at least |
93 |
-the amount of memory you have in your system. |
94 |
+the last cylinder, type <c>+512M</c> (or any other size you need for the swap |
95 |
+space) to create a partition 512MB in size. |
96 |
</p> |
97 |
|
98 |
<p> |