lkml.org 
[lkml]   [1999]   [Mar]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: vfork: out of memory, when there's plenty of swap free
On Sat, 13 Mar 1999, Alan Cox wrote:

>> run make -j and watch. Peak swap usage gets to 50Meg or so, then it
>> starts dying with vfork: out of memory. [Can someone reproduce these,
>> please?]
>
>Yes I can reproduce the running out of 8K block problem easily. Its the
>lack of a memory defragmentation goal in the current 2.2 vm

It's not the lack of defragmentation but due bad allocation of memory.
Just to make an example look at the inode cache. It uses a _bad_ way to
alloc memory. That's the _best_ way to generate _persistent_ fragmentation
all over the place.

And btw I think that for vmlloced areas would be possible to defrag them
at runtime, but for normal __get_free_pages memory it's not possible, it's
the allocation in first place that has to be smart to avoid fragmentation
according to me.

Andrea Arcangeli


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:50    [W:0.055 / U:0.236 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site