Re: how much swap for 10g on a 4Gb RAM system?



pellicleundies@xxxxxxxxxxx (obakesan) wrote in
news:leTjk.15$Vi.4@xxxxxxxxxxxxx:

Hi

In article
<05e1cb66-6b3a-4502-9cf4-e1eb9a488ef2@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
joel garry <joel-garry@xxxxxxxx> wrote:

The answer is really platform and OS version dependent, as well as
dependent on what is going on with the system. In the olden days on
most unix, one needed to have the swap predefined for all running
processes. Nowadays, there are a number of ways to get around that.
Linux allows you to have both a swap partition and a swap file, the
former tends to be faster and the latter more flexible and roomy. See
http://www.linux.com/feature/121916 for a good intro, note that the
kernel version makes a difference. Also see
http://forums.oracle.com/forums/message.jspa?messageID=3D2556276 and
the metalink note: 233753.1 it references. And
http://kerneltrap.org/node/3000 "BloatyApp may be Oracle with a huge
cache of its own, for which swapping out may be a huge mistake."


really interesting ... thanks :-)

The reason I asked is that I had the OS up and running before I
started thinking of putting 10g on it. After I read the docs and
explored the system I discovered I didn't have enough swap to satisfy
oracle. I'm now deciding wether to repartition to give a bigger swap
partion or add a swap file.

Thanks :-)

See Ya
(when bandwidth gets better ;-)

Chris Eastwood
Photographer, Programmer Motorcyclist and dingbat
blog: http://cjeastwd.blogspot.com/

please remove undies for reply

It is not completely clear, at least to this reader,
exactly what flavor of *nix you have.
Some/many/most *nix do not require a dedicate partition for swap.
You can use dd to create a "swap file" on any volume you want &
include this new file to the existing swapspace.
(or at least I have done so multiple times.)
.



Relevant Pages

  • Re: Cant Compile Stalin
    ... Recent versions of gcc require a lot more memory with high ... increasing the amount of swap space you have, ... This performs very poorly, swap is bad enough, but a swap file is ... Linux memory management lies. ...
    (comp.lang.scheme)
  • Re: Swapping even when turned off?
    ... P.S. I've got 4GB of RAM, with 2GB swap files on each of two physical hard ... > Swapping memory is used for one thing and one thing only: ... > Swapping them out would free memory, but that memory would not be used, ... >> What on earth would prompt someone to turn off the swap file. ...
    (microsoft.public.windowsxp.general)
  • Re: swap file vs swap partition
    ... I would like to share some difference between swap file and swap ... If the hard disk is full or corrupted,swap file will get damaged. ... We can able to create and keep the swap file on external device eg: ... Swap Partition ...
    (comp.os.linux.setup)
  • Re: swap file vs swap partition
    ... I would like to share some difference between swap file and swap ... If the hard disk is full or corrupted,swap file will get damaged. ... We can able to create and keep the swap file on external device eg: ... Swap Partition ...
    (comp.os.linux.setup)
  • Re: Laptop installation
    ... I guess the swap file is there. ... I would recommend against disabling it (as I recommend ... swap space and you run out of physical memory space, ...
    (Ubuntu)