Re: Increasing shared arena.

New Message Reply Date view Thread view Subject view Author view

Mike Weiblen (mew++at++paradigmsim.com)
Tue, 03 Mar 1998 01:26:12 -0600


An arena requires a contiguous block of virutal memory space, but VM is
fragmented by the placement of DSOs.

There seem to be two effects at work:
1) VM is split (approx 1GB and 512MB) by default DSO address
assignments.
2) arena is being placed in the smaller of the two largest VM blocks.

Workarounds:
A) use PFSHAREDBASE to place the arena in the larger (~1GB) block.
B) move the DSOs to the bottom of VM using rqs, yielding one block of
~1.5GB.
C) use 64-bit addressing

It would be real nice if the OS would do the DSO packing automatically,
perhaps as part of swmgr/inst.

-- mew

PS Many thanks to everyone involved in figuring this out

Svend Tang-Petersen wrote:
>
> Hi pfAll.
>
> I'm trying to increase the shared arena to 1GB. I did reconfigure the
> kernel and reboot, so when
> I type 'limit' it actually shows 1GB.
>
> Secondly I set
>
> pfSharedArenaSize(512000000);
> pfSemaArenaSize( 512000 );
> pfInitArenas();
> pfInit();
>
> but when I start the application, it exits with a message saying that it
> was only able to
> allocate 512MB.
>
> Any ideas ?
>
> (And yes, I have 1.28 GB)
>
> --
>
> Svend Tang-Petersen, MSc
>
> LEGO Silicon Graphics
> Kloevermarken 120 Stationsparken 25
> 7190 Billund 2600 Glostrup
> Denmark Denmark
>
> e-mail: svend++at++digi.lego.com , svend++at++copen.sgi.com

-- 
Mike Weiblen                  talkto:972-960-2301 x292
PARADIGM Simulation, Inc.     faxto:972-960-9049
14900 Landmark, Suite 400     mailto:mew++at++paradigmsim.com
Dallas TX 75240               http://www.paradigmsim.com
=======================================================================
List Archives, FAQ, FTP:  http://www.sgi.com/Technology/Performer/
            Submissions:  info-performer++at++sgi.com
        Admin. requests:  info-performer-request++at++sgi.com

New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:56:58 PDT

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