Re: [info-performer] arena size in Linux

Date view Thread view Subject view Author view

From: Allan Schaffer (allan++at++sgi.com)
Date: 03/23/2004 19:04:47


Hi Daniela,

That's an odd one, since it seems that the main arena creation was successful
but this minor (small) clock datapool wasn't. Two environment variables to
print a lot of internal debug info for clues:
   setenv PFNFYLEVEL 7
   setenv PFARENADEBUG 1

On my Linux system I'm able to get ~1.9GB of arena space. At ~1.91GB or
above I get an error message from XFree86 talking about making ulimit larger.

The arena itself is allocated as a memory mapped file. Any Linux OS experts
recall the details regarding space requirements with mmap'd files? :-) [Are
you out of disk space or running up against a per-process memory limit?]

Allan

Daniela Rainer wrote:
> Hi all,
>
> on a Linux PC (Intel) the maximum arena size we can allocate with
> pfSharedArenaSize() is about 950 MB.If we try larger sizes, we get the
> following error:
>
> PF Warning/Internal: perror: Success
> PF Warning/SysErr: Could not mmap file /usr/tmp/pfClock.5343.pfdpool
> for arena of size 50224
> PF Warning/Internal: perror: Resource temporarily unavailable
> PF Warning/SysErr(11): Could not mmap file /usr/tmp/pfClock.5343.pfdpool
> for arena of size 49152
>
> As this 950 MB is not enough for the application, I wonder if it is
> possible to get it larger. Is the max. adress space on a intel computer
> with Linux 2 GB or 4 GB? Why is the arena size limited to about 1 GB?
>
> Thanks for any explaination and Best Regards
> Daniela

-- 
Allan Schaffer                                            allan++at++sgi.com
Engr. Manager, Core Rendering                            1-650-933-2160
Silicon Graphics                                     http://www.sgi.com


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Tue Mar 23 2004 - 19:04:47 PST