[lkml]   [1997]   [Feb]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Big mallocs, mmap sorrows and double buffering.
On Tue, 11 Feb 1997 16:10:39 +0100, Ingo Molnar wrote:

> > Hmm. I remember using a facility like this on the old vaxen. The
> > glitch was if I mapped an entire satellite image (+-400megabytes) the
> > page tables used up so much physical memory that the thing started
> > thrashing again. (There we just settled down to using two 32k buffers
> > and doing NO_WAIT read/writes.)
> 400M mmap()-ed file takes ~400K page tables (for every 4K page there is a
> 4 byte descriptor). So this shouldnt be an issue even on low-end machines.

Can kernel use Pentium 4M pages, if process tries to map continuous
large chunks of memory?

Best regards, -- Boris.

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