<div dir="ltr">Hello all<br><br>I found this formula on Redhat site for calculating swap size. <br><br>"Swap space can be a dedicated swap partition (recommended), a swap file, or a combination of swap partitions and swap files.
<p>
Swap should equal 2x physical RAM for up to 2 GB of physical RAM, and
then an additional 1x physical RAM for any amount above 2 GB, but never
less than 32 MB. </p>
<p>
So, if:
</p>
<p>
M = Amount of RAM in GB, and S = Amount of swap in GB, then
</p>
<pre class="screen">If M < 2<br> S = M *2<br>Else<br> S = M + 2<br></pre>
<p> Using this formula, a system with 2 GB of physical
RAM would have 4 GB of swap, while one with 3 GB of physical RAM would
have 5 GB of swap. Creating a large swap space partition can be
especially helpful if you plan to upgrade your RAM at a later time."<br></p><br>This confirms my calculation as well. <br><br>Asaf<br><br><div class="gmail_quote">On Fri, Oct 10, 2008 at 11:18 AM, Asaf Maruf <span dir="ltr"><<a href="mailto:asafmaruf-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org">asafmaruf-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div dir="ltr">Hello<br><br>I have a requirement to setup a Dell server with RHEL 5 and Oracle. The server has six hard disks configured as RAID 1.<br>
<br>The server has 8GB of physical RAM. The disk size of each RAID 1 is 139GB<br>
<br>I am recommending the following partition sizes and swap size.<br><br>/ 10GB<br>/boot 100-500MB<br>/var 2GB<br>/opt 2GB <br>
swap 10GB<br><br><br>I have calculated swap size using the following formula:<br><br>Upto 2GB RAM ----> double the swap size ---> 4GB<br>Add the remaining 6GB for a total swap size of 10GB<br>
<br><br>Just need confirmation if this is an adequate partitioning scheme for an Oracle database server running on Linux.<br><br><br>Thank you in advance.<br><br><br>Asaf Maruf<br><br><br clear="all"><br>-- <br>"I can live with doubt and uncertainty and not knowing. I think it is much more interesting to live not knowing than to have answers that might be wrong." - Richard P. Feynman<br>
</div>
</blockquote></div><br><br clear="all"><br>-- <br>"I can live with doubt and uncertainty and not knowing. I think it is much more interesting to live not knowing than to have answers that might be wrong." - Richard P. Feynman<br>
</div>