gcl-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gcl-devel] GCL memory allocation and GC problems


From: Camm Maguire
Subject: Re: [Gcl-devel] GCL memory allocation and GC problems
Date: 04 Feb 2004 09:51:55 -0500
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Greetings!

"Vadim V. Zhytnikov" <address@hidden> writes:

> Camm Maguire ?????:
> > Greetings!  BTW, Vadim, if you have any suggestions on *preallocation*
> > level adjustments, please let me know.  (room) on starupt of ansi gcl
> > shows most of the pages pushing the maximum boundaries.
> > Take care,
> 
> Sorry for some delay. After all I was able to
> run some Maxima + current GCL CVS tests watching how
> results depends on initial preallocation.
> And they are quite nice.  Mostly timing is
> virtually independent of initial preallocation
> - difference is around 10%.  This is due to
> new growth parameters.  On the other hand
> I see at least one test in which preallocation
> doubles performance.  In this specific case
> Maxima/GCL does some long calculations which
> do not need a lot of memory - it results in a
> large number of GC without new allocation
> since free % remains below new allocation threshold.
> In this particular situation preallocation
> allows to reduce number of GC.  Maybe it is
> worth to make initial allocation for CONS,
> FIXNUM, STRING and CFUN proportional to
> MAXPAGES?  But I'm not sure about precise
> numbers yet.
> 

I do think this is a good idea.  If anyone has ideas on a rational
scheme to relate these preallocated values to maxpages, I'd be most
appreciative. 

Take care,


> Best wishes,
> 
> Vadim
> 
> 
> -- 
>       Vadim V. Zhytnikov
> 
>        <address@hidden>
>       <address@hidden>
> 
> 
> 
> _______________________________________________
> Gcl-devel mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/gcl-devel
> 
> 
> 

-- 
Camm Maguire                                            address@hidden
==========================================================================
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah




reply via email to

[Prev in Thread] Current Thread [Next in Thread]