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 Sun, 14 Mar 1999, Andrea Arcangeli wrote:
>
> 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.

Umm..

It's not that the inode cache uses bad allocators.

It's the fact that inodes have very difficult lifetime behaviour (some
very short-lived, some _extremely_ long-lived), and that makes it hard to
allocate them well using _any_ allocator scheme.

It might certainly be an option to allocate inodes in bigger chunks at a
time. That would at least make the problem become less.

Linus


-
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.136 / U:0.200 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site