lkml.org 
[lkml]   [1996]   [Dec]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Memory intensive processes
Date

> > This is true. Also the act of READING zero-filled pages should not cause
> > a trap to the operating system. Many FFTs null-fill a lot of RAM and
> > certainly never write to it.
>
> Not a good idea. Implementing your suggestion would mean that large parts
> the page tables which are are just truncated off would have to be allocated
> and memory. Just mmaping 1gb from /dev/zero would cost you over 1mb of
> *not swappable* memory for page tables. Aside of that allocation and filling
> consumes a lot of time.

a very good idea since page tables are in virtual memory and swappable
themself in VMS...


Harald
--
All SCSI disks will from now on ___ _____
be required to send an email notice 0--,| /OOOOOOO\
24 hours prior to complete hardware failure! <_/ / /OOOOOOOOOOO\
\ \/OOOOOOOOOOOOOOO\
\ OOOOOOOOOOOOOOOOO|//
Harald Koenig, \/\/\/\/\/\/\/\/\/
Inst.f.Theoret.Astrophysik // / \\ \
koenig@tat.physik.uni-tuebingen.de ^^^^^ ^^^^^

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