LKML Archive on lore.kernel.org help / color / mirror / Atom feed
* [DISCUSS] memory allocation method @ 2007-01-15 13:36 Raz Ben-Jehuda(caro) 2007-01-19 10:41 ` Helge Hafting 2007-01-19 11:42 ` Rick Brown 0 siblings, 2 replies; 3+ messages in thread From: Raz Ben-Jehuda(caro) @ 2007-01-15 13:36 UTC (permalink / raw) To: Linux Kernel 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 ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [DISCUSS] memory allocation method 2007-01-15 13:36 [DISCUSS] memory allocation method Raz Ben-Jehuda(caro) @ 2007-01-19 10:41 ` Helge Hafting 2007-01-19 11:42 ` Rick Brown 1 sibling, 0 replies; 3+ messages in thread From: Helge Hafting @ 2007-01-19 10:41 UTC (permalink / raw) To: Raz Ben-Jehuda(caro); +Cc: Linux Kernel Raz Ben-Jehuda(caro) wrote: > > 3. In 64bit machines , is it possible to allocate huge buffers , such > as 30 GB of ram ? Yes, that is one of the nice things about 64-bit machines. No special cases - you sure can get 30GB if your machine is equipped with that much. Or you can get that much virtual memory if you have enough swap . . . Helge Hafting ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [DISCUSS] memory allocation method 2007-01-15 13:36 [DISCUSS] memory allocation method Raz Ben-Jehuda(caro) 2007-01-19 10:41 ` Helge Hafting @ 2007-01-19 11:42 ` Rick Brown 1 sibling, 0 replies; 3+ messages in thread From: Rick Brown @ 2007-01-19 11:42 UTC (permalink / raw) To: Raz Ben-Jehuda(caro); +Cc: Linux Kernel On 1/15/07, Raz Ben-Jehuda(caro) <raziebe@gmail.com> wrote: > 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 ? ONe BIG vmalloc has huge, huge chances of failure. ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-01-19 11:42 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2007-01-15 13:36 [DISCUSS] memory allocation method Raz Ben-Jehuda(caro) 2007-01-19 10:41 ` Helge Hafting 2007-01-19 11:42 ` Rick Brown
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).