Ran Yakir (rany++at++rtset.co.il)
Tue, 07 Sep 1999 22:45:37 +0200
The problem is that the shared arena has to occupy a continuous range of memory.
Since you're shared objects (libraries) are mapped all over the place, the largest
chunk of memory that can be allocated is this 488MB. The solution is to map your
shared object to some far away place in the address space, where they will get out
of the shared arena's way. This, along with changing PFSHAREDBASE, allows me to get
a shared arena of 1.4GB !
Tomorrow, I'll send you the script that maps the shared objects to the end of the
address space.
Ran
DOUGLAS_MASHEK++at++udlp.com wrote:
> Howdy,
>
> We are running a very large database (in both quantity and size of geometry) in
> dvMockup 6.0.1 from PTC/Division. The models execute properly when running in a
> single pipe, single channel mode, but fail when running in a multi-pipe or
> multi-channel mode. The failure is a Performer memory error. The error suggests
> increasing the PFSHAREDSIZE variable. We have done that, but have run against a
> hard limit of 488Mb. We have also acquired a memory analysis tool called "dpa".
> After running it on the visual executable, we discovered that the 488Mb limit
> resurfaced in the memory listing. We tried several ways to expand the memory
> regions, but do not have the resources to determine the effective memory
> management. After doing some research through previous Performer mailings, this
> looks like a common, yet difficult to solve problem. We are looking to expand
> the pool to roughly 800Mb if possible. The dvMockup tool supports setting memory
> locations and sizes as long as they fit within the system allocations.
>
> Included with this note:
>
> -Performer Crash message
> -"limit" readout of System
> -"dpa" listing of visual resource
> -"hinv" readout of System
>
> *****Error Message when DVISE crashes: *********************
>
> PF Fatal/Resource(1): pfMemory::new() Unable to allocate 5648 bytes
> from arena 0x422c8000.
> Try using pfSharedArenaSize() or env PFSHAREDSIZE
> to increase the arena size
> (currently 488281.25 KBytes) and check for adequate setrlimit()
> values and available space on swap (or pfTmpDir()).
> PF Warning/Usage(10): pfGetStage() Must call after pfConfig.
>
> ******"Limit" Settings on 3pipe Onyx2 IR: **********************
>
> cputime unlimited
> filesize unlimited
> datasize 4194304 kbytes
> stacksize 65536 kbytes
> coredumpsize 0 kbytes
> memoryuse 4130928 kbytes
> vmemoryuse 7340032 kbytes
> descriptors 200
> threads 1024
>
> *****"dpa" Memory Description for Performer Resource: ******************
>
> pid 94333, process has 66 regions
> addr size(KB) off flags
> ---- ---- --- -----
> 0x0 16 0x0 READ WRITE COW
> 0x200000 16 0x0 READ WRITE COW
> 0x10000 16 0x0 READ SHARED PHYS NOTCACHED
> 0x2810000 3728 0x0 READ EXEC SHARED
> 0x2d70000 4736 0x3a0000 READ WRITE COW
> 0x4000000 608 0x0 READ EXEC SHARED
> 0x40a4000 48 0x94000 READ WRITE COW
> 0x40b0000 144 0x0 READ EXEC SHARED
> 0x40e0000 32 0x20000 READ WRITE COW
> 0x40e8000 208 0x0 READ EXEC SHARED
> 0x4128000 48 0x30000 READ WRITE COW
> 0x4138000 64 0x0 READ SHARED
> 0x4148000 272 0x0 READ WRITE SHARED
> 0x8770000 48 0x0 READ EXEC SHARED
> 0x8788000 16 0x8000 READ WRITE COW
> 0x9310000 208 0x0 READ EXEC SHARED
> 0x9350000 112 0x30000 READ WRITE COW
> 0xab60000 528 0x0 READ EXEC SHARED
> 0xabf0000 48 0x80000 READ WRITE COW
> 0xac70000 320 0x0 READ EXEC SHARED
> 0xaccc000 176 0x4c000 READ WRITE COW
> 0xafe0000 16 0x0 READ EXEC SHARED
> 0xaff0000 16 0x0 READ WRITE COW
> 0xb030000 1424 0x0 READ EXEC SHARED
> 0xb1a0000 176 0x160000 READ WRITE COW
> 0xbfa0000 80 0x0 READ EXEC SHARED
> 0xbfc0000 16 0x10000 READ WRITE COW
> 0xd360000 320 0x0 READ EXEC SHARED
> 0xd3e0000 32 0x50000 READ WRITE COW
> 0xd9b0000 240 0x0 READ EXEC SHARED
> 0xd9f8000 16 0x38000 READ WRITE COW
> 0xda60000 1520 0x0 READ EXEC SHARED
> 0xdbec000 80 0x17c000 READ WRITE COW
> 0xf440000 96 0x0 READ EXEC SHARED
> 0xf464000 16 0x14000 READ WRITE COW
> 0xf490000 528 0x0 READ EXEC SHARED
> 0xf524000 32 0x84000 READ WRITE COW
> 0xf560000 112 0x0 READ EXEC SHARED
> 0xf588000 16 0x18000 READ WRITE COW
> 0xf590000 1072 0x0 READ EXEC SHARED
> 0xf6a8000 64 0x108000 READ WRITE COW
> 0xf810000 16 0x0 READ EXEC SHARED
> 0xf820000 16 0x0 READ WRITE COW
> 0xf920000 48 0x0 READ EXEC SHARED
> 0xf93c000 16 0xc000 READ WRITE COW
> 0xfa00000 1216 0x0 READ EXEC SHARED
> 0xfb40000 80 0x130000 READ WRITE COW
> 0xfb60000 144 0x0 READ EXEC SHARED
> 0xfbd4000 32 0x24000 READ WRITE COW
> 0xfbdc000 48 0x0 READ WRITE COW
> 0x10000000 288 0x0 READ EXEC SHARED PRIMARY
> 0x10054000 64 0x44000 READ WRITE PRIMARY COW
> 0x10064000 800 0x0 READ WRITE BREAK PRIMARY COW
> 0x33300000 10288 0x0 READ WRITE SHARED
> 0x3c900000 352 0x0 READ EXEC SHARED
> 0x3c988000 112 0x58000 READ WRITE COW
> 0x3ca30000 368 0x0 READ EXEC SHARED
> 0x3ca9c000 64 0x5c000 READ WRITE COW
> 0x42238000 512 0x0 READ WRITE SHARED
> 0x422b8000 16 0x0 READ SHARED PHYS NOTCACHED
> 0x422c8000 488288 0x0 READ WRITE
> 0x5ffa0000 272 0x0 READ EXEC SHARED
> 0x5fff4000 48 0x44000 READ WRITE COW
> 0x605a0000 64 0x0 READ WRITE SHARED
> 0x605b4000 176 0x0 READ WRITE SHARED
> 0x7ffc8000 192 0x0 READ WRITE STACK COW
>
> *******Hinv of Main System: *************************************
>
> 8 195 MHZ IP27 Processors
> CPU: MIPS R10000 Processor Chip Revision: 2.6
> FPU: MIPS R10010 Floating Point Chip Revision: 0.0
> Main memory size: 4096 Mbytes
> Instruction cache size: 32 Kbytes
> Data cache size: 32 Kbytes
> Secondary unified instruction/data cache size: 4 Mbytes
> ..
> ..
> Graphics board: InfiniteReality2
> Graphics board: InfiniteReality2
> Graphics board: InfiniteReality2
> Integral Fast Ethernet: ef0, version 1, module 1, slot io1, pci 2
> Iris Audio Processor: version RAD revision 7.0, number 1
> Origin BASEIO board, module 1 slot 1: Revision 3
> Origin MSCSI board, module 1 slot 5: Revision 3
> IOC3 external interrupts: 1
>
> -----------------------------------------------------------------------
> List Archives, FAQ, FTP: http://www.sgi.com/software/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
--
__ | Ran Yakir
/_) _ __ \ / _ / o __ | 28 Ben Gurion St.
/ )_ (_(_) ) \/ (_(_/<_(_)( | Hod Hasharon 54200
_/ | Israel
-------------------------------------+--------------------------------
At Home : | At Work :
| RT-SET
Voice : +972-9-7489974 | Voice : +972-9-9552236
Fax : +972-9-7422149 | Fax : +972-9-9552239
E-mail : rany++at++netvision.net.il | E-mail : rany++at++rtset.co.il
http://rtset.co.il/rany
This archive was generated by hypermail 2.0b2 on Tue Sep 07 1999 - 13:49:33 PDT