Re: setting up real and virtual memory in a shared arena/ mem management

New Message Reply Date view Thread view Subject view Author view

From: Yair Kurzion (yair++at++polygon.engr.sgi.com)
Date: 07/19/2001 11:50:53


Hello Mike !

Performer does not manage memory swapping. We leave this task to the operating
system. If you run out of physical memory, the operating system swaps memory to
disk. In order to force a chunk of virtual memory to always reside in physical
memory you can use `mpin' (see man page).

Performer allocates its shared arena from the available 2GB of virtual
memory address space (assuming 32 bit libraries). The arena has to be one
contiguous chunk of the virtual memory address space.

pfSequence nodes do not deal with memory swapping. If a child of a pfSequence
should be drawn, and if this child is not in physical memory, the operating
system will swap it in when Performer tries to access it.

-yair

> I notice from the previous emails on increasing the shared arena by
> using PFSHAREDSIZE or if more than
> 450 MB using the pfSharedArenaSize.
>
> I was wondering when you use the PFSHAREDSIZE env variable or
> pfSharedArenaSize to increase the arena size,
> is there any virtual memory that is mapped to the arena or or is that
> arena is reserved for only physical memory.
> If there is virtual memory mapped, is there a way to tell how much of it
> is mapped to the shared arena.
>
> Also, is there a way to explicitly set the amount of physical memory and
> virtual memory that you want in
> your shared arena.
>
> Lastly - if you have a pfSequence node with many children that are
> "pfLoadFile" pfNodes such that some
> virtual memory is used, when the pfSequence is animated, what memory
> algorithm (i.e LRU) does
> performer use to swap in an out the pfNode frames . Are there any
> papers or info in manuals that that explain performer's
> or IRIX memory management algorithm.

>
>
> Mike Lewis
> mlewis++at++evl.uic.edu
>
>
> -----------------------------------------------------------------------
> List Archives, FAQ, FTP: http://www.sgi.com/software/performer/
> Open Development Project: http://oss.sgi.com/projects/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
>

-- 
\_________  \_____  \__    \__  \_____         Yair Kurzion
\_________  \_____   \__   \__  \_____         yair++at++sgi.com
       \__     \__   \____\__      \__   http://reality.sgi.com/yair
       \__          \__  \__                Work: (650) 933-6502
       \__          \__   \__               Home: (408) 226-9771
       \__          \__    \__             


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Thu Jul 19 2001 - 11:50:58 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.