<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2654.19">
<TITLE>RE: Swap file in scyld</TITLE>
</HEAD>
<BODY>
<P><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">Thank you very much. That worked, I just switched $RAMDISK to /dev/hd1/, voila.</FONT>
<BR><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">One more question to show my stupidity. I started on this project because the linux guru of the department told me that it would speed up compile of software we are doing all the time, after delving into this further I have come to realize that this probably isn't possible. Can it be done?</FONT></P>
<P><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">thanks again</FONT>
</P>
<P><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">JOSH</FONT>
</P>
<UL>
<P><FONT SIZE=1 FACE="Arial">-----Original Message-----</FONT>
<BR><B><FONT SIZE=1 FACE="Arial">From: </FONT></B> <FONT SIZE=1 FACE="Arial">Sean Dilda [SMTP:agrajag@scyld.com]</FONT>
<BR><B><FONT SIZE=1 FACE="Arial">Sent: </FONT></B> <FONT SIZE=1 FACE="Arial">Wednesday, May 23, 2001 1:55 PM</FONT>
<BR><B><FONT SIZE=1 FACE="Arial">To: </FONT></B> <FONT SIZE=1 FACE="Arial">Josh Puckett (EUS)</FONT>
<BR><B><FONT SIZE=1 FACE="Arial">Cc: </FONT></B> <FONT SIZE=1 FACE="Arial">'beowulf@beowulf.org'</FONT>
<BR><B><FONT SIZE=1 FACE="Arial">Subject: </FONT></B> <FONT SIZE=1 FACE="Arial">Re: Swap file in scyld</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">On Wed, 23 May 2001, Josh Puckett (EUS) wrote:</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">> OK, this if my first post here, as you can probably tell. I am working on a beowulf cluster of some older machines we have in our lab. I have ran in to a small problem. We have 5 machines with 32mb of ram, and I wanted to use those as well as the others I have. However, using a default Scyld install you need something like 60mb of ram. No problem, I thought a swap file would fix the problem. I un-commented the swap line in the fstab, and left it as 40960 size. However the node still stops as its "copying libraries", exactly the same as before, when the 32mb of ram is full. 1MB of the swap file is supposedly used, which seems strange, because one would think none of it has been used. Any ideas on how to get the swap file going?</FONT></P>
<P><FONT SIZE=2 FACE="Arial">What is happening is by default, the Scyld system uses a ramdisk as / on</FONT>
<BR><FONT SIZE=2 FACE="Arial">the slave nodes. This ramdisk is filling up. If you look at the</FONT>
<BR><FONT SIZE=2 FACE="Arial">install guide (<A HREF="http://www.scyld.com/support/docs/beoinstall.html" TARGET="_blank">http://www.scyld.com/support/docs/beoinstall.html</A>) there</FONT>
<BR><FONT SIZE=2 FACE="Arial">are instructions on how to partition the harddrives on slave nodes. I'd</FONT>
<BR><FONT SIZE=2 FACE="Arial">suggest you do this, then modify the fstab for the slave nodes so that /</FONT>
<BR><FONT SIZE=2 FACE="Arial">is actually a harddrive partition and not a ramdisk. Then comment the</FONT>
<BR><FONT SIZE=2 FACE="Arial">line for the ramdisk. This will solve your problem.</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">As far as swap, your swap is most likely working, however ramdisks never</FONT>
<BR><FONT SIZE=2 FACE="Arial">get swapped out, so using swap won't solve this particular problem.</FONT>
</P>
</UL>
</BODY>
</HTML>