Luis Ignacio Miranda (lmiranda++at++buitre.madrid.sgi.com)
Wed, 4 Feb 1998 10:40:00 +0100
Did you already try the following?
At the top, be sure there are no problems with the limits: call this function:
#include <sys/resource.h>
void UseAllMemory( void )
{
struct rlimit limits;
/* increase the systune limit for the text size */
getrlimit( RLIMIT_VMEM, &limits );
limits.rlim_cur = limits.rlim_max;
setrlimit( RLIMIT_VMEM, &limits );
/* heaps */
getrlimit( RLIMIT_DATA, &limits );
limits.rlim_cur = limits.rlim_max;
setrlimit( RLIMIT_DATA, &limits );
}
Set this variable
# setenv PFSHAREDBASE 0x38010000
and compile with the optimization option (make oglopt).
It worked to me
Hope to help
Nacho
On Feb 4, 8:28am, Ran Yakir wrote:
> Subject: Re: Shared Arena Size
> Hi
>
> Thanks to all who responded on the shared arena size. However, all the good
> suggestions didn't help.
> I've set rlimit_rss_max and rlimit_rss_cur to 768 MB. The other 4 parameters
> mentioned (rlimit_data_max , rlimit_data_cur , rlimit_vmem_max ,
rlimit_vmem_cur )
> are set to huge values. Still, the shared arena size won't go over 512MB.
> Any suggestions ?
>
> Ran
>
> knoepfle++at++igd.fhg.de wrote:
>
> > Ran,
> >
> > try /usr/sbin/systune. There is a group called resource. I guess the
parameter
> > rlimit_rss_max or rlimit_rss_cur is set to 512MB. Set them to 1G. Check
also
> > rlimit_data_max
> > rlimit_data_cur
> > rlimit_vmem_max
> > rlimit_vmem_cur
> >
> > Hope this helps
> >
> > Christian
> >
> > On Jan 22, 11:25am, Ran Yakir wrote:
> > > Subject: Re: Shared Arena Size
> > > Angus Dorbie wrote:
> > >
> > > > On Jan 22, 8:03am, Ran Yakir wrote:
> > > > > Subject: Shared Arena Size
> > > > > Hi,
> > > > >
> > > > > Whenever I try to set the shared arena size to a size larger than
> > > > > 500,000,000, I get the wrong size from pfGetSharedArenaSize. It seems
> > > > > like the number is wrapping around, or being truncated. For example,
a
> > > > > size of 600,000,000 gives back 300,000,000. A size of 1,200,000,000
also
> > > > > gives 300,000,000, and a size of 900,000,000 gives 450,000,000
> > > >
> > > > The size gets halved untill the request succeeds, this policy seems to
> > > > explain your figures if you assume a limit of around 500Mb on your
> > > > system, although there may be other problems which cause this arena
> > > > limit of ~500,000,000.
> > > >
> > >
> > > So now the question becomes: why does the arena size on my machine
limited to
> > > 500,000,000 ? My machine has 1000MB swap space and 768MB of host mem.
> > >
> > > Ran
> > >
> > >
> > > --
> > > __ | Ran Yakir
> > > /_) _ __ \ / _ / o __ | BVR Technologies Ltd.
> > > / )_ (_(_) ) \/ (_(_/<_(_)( |
> > > _/ |
> > > -------------------------------------+--------------------------------
> > > Phone : | E-mail : rany++at++bvr.co.il
> > > Work : 972-3-5715671 #166,#177 |
> > > Res. : 972-9-7489974 |
> > > Fax : 972-3-5715668 |
> > >
> > >
> > >
> > > =======================================================================
> > > List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
> > > Submissions: info-performer++at++sgi.com
> > > Admin. requests: info-performer-request++at++sgi.com
> > >-- End of excerpt from Ran Yakir
> >
> > --
> >
> >
******************************************************************************
> > * Christian Knoepfle | "Due to budget cuts,
*
> > * FhG-IGD / Germany | the lights at the end of the tunnel
*
> > * knoepfle++at++igd.fhg.de | has been turned off"
*
> >
******************************************************************************
>
>
>
> --
> __ | Ran Yakir
> /_) _ __ \ / _ / o __ | BVR Technologies Ltd.
> / )_ (_(_) ) \/ (_(_/<_(_)( |
> _/ |
> -------------------------------------+--------------------------------
> Phone : | E-mail : rany++at++bvr.co.il
> Work : 972-3-5715671 #166,#177 |
> Res. : 972-9-7489974 |
> Fax : 972-3-5715668 |
>
>
>
> =======================================================================
> List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
>-- End of excerpt from Ran Yakir
-- ******************************************************************************* * Luis Ignacio Miranda Edificio "Santa Engracia 120" * * Silicon Graphics, S.A. Plaza del Descubridor Diego de Ordas,3 * * Systems Engineering Division 28003 MADRID SPAIN * * e-mail : lmiranda++at++madrid.sgi.com Telephone ++ 34 1 3984200 * * v-mail : 6-368-4227 Fax ++ 34 1 3984201 * *******************************************************************************======================================================================= List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/ Submissions: info-performer++at++sgi.com Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:56:44 PDT