[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Swarm-Support] Linux memory
From: |
Russell Standish |
Subject: |
Re: [Swarm-Support] Linux memory |
Date: |
Fri, 7 Feb 2003 13:58:12 +1100 (EST) |
Yes, of course. The relevant commands are swapon and swapoff for
adding and removing swap files. Use mkswap to make a swap file. Read
the relevant man pages to find out how to use these. swapon and
swapoff need to be executed as root.
Having said that, increasing your swap probably will not help
you. Relying on paging to solve problems larger than physical RAM
tends to be woefully inefficient - recasting your problem using an
appropriate "out of core" algorithm will most like yield far better
performance.
Cheers
Li An wrote:
>
> Hi,
>
> I am still vexed by the memory problem, and any suggestions will be
> appreciated. In addition to the last solution (buy a new memory chip and
> increase the physical memory), is there any way to "borrow" some memory
> from hard drive in Linux? Like what we do in Windows, increase the virtual
> memory? or swapped memory, or resident memory?
>
> Thanks,
>
> Li
>
>
> _______________________________________________
> Support mailing list
> address@hidden
> http://www.swarm.org/mailman/listinfo/support
>
----------------------------------------------------------------------------
A/Prof Russell Standish Director
High Performance Computing Support Unit, Phone 9385 6967, 8308 3119 (mobile)
UNSW SYDNEY 2052 Fax 9385 6965, 0425 253119 (")
Australia address@hidden
Room 2075, Red Centre http://parallel.hpc.unsw.edu.au/rks
International prefix +612, Interstate prefix 02
----------------------------------------------------------------------------