[27204] in Athena Bugs
linux cluster install defaults to 0.5G swap
daemon@ATHENA.MIT.EDU (Jonathon Weiss)
Thu May 15 21:33:11 2008
Message-Id: <200805160132.m4G1Wwu4021320@wax-lion.mit.edu>
From: Jonathon Weiss <jweiss@mit.edu>
To: bugs@mit.edu
Date: Thu, 15 May 2008 21:32:58 -0400
X-Spam-Flag: NO
X-Spam-Score: 0.00
Cc: mmanley@mit.edu
Errors-To: bugs-bounces@mit.edu
So, I notice that on a recently installed athena machine (currently up
as delisle-r1, though not guaranteed to stay there) the install.log
said:
Physical memory is 3368332 kB, using a swap size of 6736 MB.
and then promptly installed the machine with a 512M swap partition,
not a 6G one. I believe this is due to the fact that in the default
cluster install case the installer uses partitons.sfdisk from the
install location in afs, and not any actuall values that it has
calculated. While you could argue that a orrect fix for this is to
supress the message about the swap size in the install.log I do think
that the correct fix would have the swap size we approximately twice
the memory as it said it was going to do.
As an aside this machine actually has more memory than that (8G) but
either more memory was added aftert he install, or /proc/meminfo
mis-reported the value which is a much harder problem to solve.
Jonathon