Is swap really needed when RAM's aplenty
jd1008 at gmail.com
Fri Aug 20 16:29:29 UTC 2010
On 08/20/2010 07:36 AM, Aaron Konstam wrote:
> On Thu, 2010-08-19 at 16:15 -0500, Michael Hennebry wrote:
>> On Thu, 19 Aug 2010, JD wrote:
>>> Problem comes as Michael explains, that when a process needs a large
>>> "physically contiguous" chunk of memory, it might not be available.
>>> That said, usually, requests for physically contiguous memory is only
>>> needed when wanting to map very large number of DMA pages for
>>> doing direct physical I/O.
>>> Otherwise, a process itself does not need to have physically contiguous
>>> pages. Only the virtual space allocated to that "malloc" or large buffer
>>> declaration in a program, is contiguous.
>> Why would malloc or a large buffer declaration
>> require physically contiguous memory?
> I have te equally interesting question? Why you think malloc allocates
> memory blocks in the swap area. Do you have a reference for such a
Who said what you claim was said?
An OP already posted that you CAN run linux
Normally, when you DO have swap space, user-
land data areas (both static and dynamic), will
be backed to swap if and when you run out of
memory and some other process needs memory.
More information about the users