Re: Perf. 1.0 memory usage

New Message Reply Date view Thread view Subject view Author view

Jim Helman (jimh++at++surreal)
Fri, 04 Feb 94 10:16:25 -0800


   
  Somebody just pointed out to me that my Performer 1.0 application
  appears to have a size of about 70,000 pages (that's 280 Mb!)
  according to the ps and top commands. That is very interesting
  (and potentially dangerous) since the machine it is running on
  only has 128 Mb of combined physical and virtual memory. In real
  life, the program never seems to actually use more than 15 to 20 Mb.

With Performer 1.0 on IRIX 4 and Performer 1.2 on IRIX 5.2, this large
initialization is not a problems since the OS allocates space on
demand without any pre-reservation.

However with Performer 1.1 on IRIX 5.X, even though OS does not
allocate the space until used, it does pre-reserve that much swap
space. This can be bad. Performer will try to find a reasonable
initialization size, however sometimes it may reserve too much
and keep you from running other large programs. In this event,
set the PFTMPDIR to a directory with a lot of space, e.g. /usr/tmp.
Load times will be slower than when using swap, but you won't have
swap space problems.

rgds,

-jim helman

jimh++at++surreal.asd.sgi.com
415/390-1151


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:50:10 PDT

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