lkml.org 
[lkml]   [2007]   [Jan]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[DISCUSS] memory allocation method
I have a process who allocates as much as possible of RAM
in 4 G ram 32bit machine. This buffer is never released.

Questions:

1. Is it better allocates with many 1MB buffers or allocate it in with
one a big valloc ?

2. I will be needing to make this memory allocation in many other
machines , some have 2 GRAM and some 3 GRAM. what is the preferrable
method ?

3. In 64bit machines , is it possible to allocate huge buffers , such
as 30 GB of ram ?

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

\
 
 \ /
  Last update: 2007-01-15 15:45    [W:0.057 / U:0.428 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site