[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gcl-devel] GCL memory allocation/gc environment variables (was Re: [Max
From: |
Camm Maguire |
Subject: |
[Gcl-devel] GCL memory allocation/gc environment variables (was Re: [Maxima-discuss] Maxima testsuite with GCL) |
Date: |
Wed, 06 Sep 2017 16:08:18 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) |
Greetings!
Variable Type Default Description
GCL_MEM_MULTIPLE float 1.0 fraction of runtime ram to consider
GCL_GC_PAGE_THRESH float 0.5 only GC past this heapsize fraction of
working mem
GCL_GC_ALLOC_MIN float 0.05 minimum alloc fraction between GCs
GCL_GC_PAGE_MAX float 0.75 GC at minimum alloc past this heapsize
GCL_MULTIPROCESS_MEMORY_POOL
bool false aggregate allocation across multiple
processes
Just set GCL_MEM_MULTIPLE to 0.5 to run in 50% of physical RAM, etc.
The next three variables regulate GC. The basic idea is to trigger GC
based on the recent allocation, with no GC up to a heapsize of
PAGE_THRESH, then lowering the allocation hurdle linearly to ALLOC_MIN
at a heapsize of PAGE_MAX and larger.
GCL_MULTIPROCESS_MEMORY_POOL will likely default to true at release.
This is being tested now.
Take care,
Wolfgang Dautermann <address@hidden> writes:
> On 2017-09-06 18:30, Camm Maguire wrote:
>> Greetings! Recent GCL will attempt to make use of all available
>> memory (without swapping) to optimize performance. This is
>> configurable with environment variables.
>
> Hi,
> thanks for your reply. Which enviroment variables can I set to reduce
> the agressive memory consumption?
>
> The testsuite does not run out of memory (here I have 8GB ram, 16GB
> swap), but maybe I want to use the PC for other processes, not
> exclusively for GCL.
>
> Best regards, Wolfgang
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Maxima-discuss mailing list
> address@hidden
> https://lists.sourceforge.net/lists/listinfo/maxima-discuss
>
>
>
>
--
Camm Maguire address@hidden
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah
- [Gcl-devel] GCL memory allocation/gc environment variables (was Re: [Maxima-discuss] Maxima testsuite with GCL),
Camm Maguire <=