[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: installation-guide: simplify RAM/disk space requirements



Hi,

Samuel Thibault <sthibault@debian.org> wrote (Fri, 4 Aug 2023 23:06:11 +0200):
> Holger Wansing, le ven. 04 août 2023 21:03:38 +0200, a ecrit:
> > So I propose to change chapter 3 values like
> > 
> >   Install Type	RAM (minimum)	RAM (recommended)	Hard Drive
> > - No desktop	256 megabytes	512 megabytes	4 gigabytes
> > + No desktop	512 megabytes	1 gigabytes	4 gigabytes
> >   With Desktop	1 gigabytes	2 gigabytes	10 gigabytes
> > 
> > 
> > 
> > 
> > I would propose to change chapter 2
> > like
> > 
> > - You must have at least 780MB of memory and 1160MB of hard disk space to 
> > - perform a normal installation."
> > + You must have at least 512MB of memory and 4GB of hard disk space to 
> > + perform an installation."
> > 
> > 
> > 
> > 
> > Comments?
> 
> That looks good to me indeed.

Now looking in the doc source, I see that the "780MB" value from above is 
architecture-dependent too.
While 780MB seems realistic for amd64 to me, I wonder if the other values can
be up-to-date:

amd64:minimum_memory=780
arm64:minimum_memory=260
armel:minimum_memory=80
armhf:minimum_memory=190
i386:minimum_memory=485
mips:minimum_memory=85
mips64el:minimum_memory=345
mipsel:minimum_memory=170
ppc64el:minimum_memory=64
s390x:minimum_memory=44

In the most eye-catching case of s390x, my proposal would mean, to change
the value in the guide from 44 to 512MB !
That leads to the question, if the new situation after my changing would be 
wrong, or if the doc was wrong in the past?
And, if a generic value for all archs is realistic and makes sense at all?


My current plan would boil down to the attached patch.


Holger


-- 
Holger Wansing <hwansing@mailbox.org>
PGP-Fingerprint: 496A C6E8 1442 4B34 8508  3529 59F1 87CA 156E B076
diff --git a/build/entities/common.ent b/build/entities/common.ent
index 1e58745e1..94c20298b 100644
--- a/build/entities/common.ent
+++ b/build/entities/common.ent
@@ -66,8 +66,12 @@
 <!ENTITY BTN-CANCEL "<guibutton>Cancel</guibutton>">
 <!ENTITY BTN-GOBACK "<guibutton>Go Back</guibutton>">
 
-<!-- notation used for 'megabytes' -->
+<!-- notation used for 'megabytes' and 'gigabytes' -->
 <!ENTITY notation-megabytes "MB">
+<!ENTITY notation-gigabytes "GB">
+
+<!-- recommended RAM size (generic for all archs)  -->
+<!ENTITY minimum-ram-generic "512&notation-megabytes;">
 
 <!-- minimum hard disk size for base system -->
 <!-- As measured just before reboot (i.e. before the cleanup script drops
@@ -75,7 +79,7 @@
 cleanup, plus minimal ~150MB work space included.
 Also update the value in debian-installer/build/boot/x86/f2.txt
 -->
-<!ENTITY minimum-fs-size "1160&notation-megabytes;">
+<!ENTITY minimum-fs-size "4&notation-gigabytes;">
 
 <!--
 Size of install as used in appendix/files.xml; all values based on amd64.
diff --git a/en/hardware/memory-disk-requirements.xml b/en/hardware/memory-disk-requirements.xml
index 10f074738..581e00fff 100644
--- a/en/hardware/memory-disk-requirements.xml
+++ b/en/hardware/memory-disk-requirements.xml
@@ -6,9 +6,9 @@
 
 <para>
 
-You must have at least &minimum-memory; of memory and &minimum-fs-size;
-of hard disk space to perform a normal installation. Note that these are
-fairly minimal numbers. For more realistic figures, see
+You should have at least &minimum-ram-generic; of memory and &minimum-fs-size;
+of hard disk space to perform an installation. Note that these are
+fairly rough numbers. For more realistic figures, see
 <xref linkend="minimum-hardware-reqts"/>.
 
 </para><para>
diff --git a/en/preparing/minimum-hardware-reqts.xml b/en/preparing/minimum-hardware-reqts.xml
index eb36bb9ce..81f11f40e 100644
--- a/en/preparing/minimum-hardware-reqts.xml
+++ b/en/preparing/minimum-hardware-reqts.xml
@@ -45,8 +45,8 @@ Any OldWorld or NewWorld PowerPC can serve well as a desktop system.
 <tbody>
 <row>
   <entry>No desktop</entry>
-  <entry>256 megabytes</entry>
   <entry>512 megabytes</entry>
+  <entry>1 gigabytes</entry>
   <entry>4 gigabytes</entry>
 </row><row arch="not-s390">
   <entry>With Desktop</entry>

Reply to: