Mailinglist Archive: opensuse-autoinstall (46 mails)

< Previous Next >
Re: [opensuse-autoinstall] Explanation for swap_size limit of 2048?
  • From: Uwe Gansert <ug@xxxxxxx>
  • Date: Mon, 19 Nov 2007 22:05:24 +0100
  • Message-id: <A402A280-0C0B-4499-8DDE-391E2704625C@xxxxxxx>
Hi,

I have a question concerning the automatic partitioning in AutoYast.
I've noticed that the calculated size for the swap partition is limited
to 2048 (MB), as shown in the following snippet:

/usr/share/YaST2/modules/Partitions.ycp Line 322 (SLES 10)

if( swap_size > 2048 )
swap_size = 2048;

I'd like to understand the rationale behind this limitation - does it
still make sense when the total memory size is, say 16 GB?

There was a time when swap partitions were limited to a size of 2GB.
Nowadays this limit is gone, but using more than 2G of swap makes
only sense in certain rare cases, therefore the maximal Swap size
configured by YaST2 ist still limited to 2G. Of course if someone
knows he needs more than that for his special system requirements,
he can create a larger swap partition and YaST2 can reues this
larger swap partition on succeeding installation attempts on the
same disk.

ciao, Uwe Gansert

Uwe Gansert, Server Technologies Team
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
Business: http://www.suse.de/~ug



--
To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-autoinstall+help@xxxxxxxxxxxx

< Previous Next >
This Thread
Follow Ups