[Top][All Lists]

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

[Gcl-devel] Re: MAXPAGE

From: Camm Maguire
Subject: [Gcl-devel] Re: MAXPAGE
Date: 27 May 2005 19:02:26 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2


For now, I'd just go with the value that is too large, providing of
course that you can control the size of your heap in lisp.  We need to
come up with a memory division schema that allows for an unbounded
heap, but reserves known space for stack, (immediate fixnums?), etc.
I.e., configure needs to be able to determine the stack start and
direction, shared memory loading addresses, .text start, and whether
any of these are changeable, and to then determine the optimal stack
limits, immediate fixnum table limits and location, and heap limits if
absolutely unavoidable.  For example, on the 32bit standard Linux,
we're stuck with a heap below 1G, so why not move text down to 0 and
place the fixnum table above the shared memory and beneath the stack?
Etc.  As always, creative suggestions most welcome.

Take care,

Robert Boyer <address@hidden> writes:

> > I would multiply the MAXPAGES abouve by 7/8 or somewhat less.  I hope to
> > make this determination more robust soon.
> I just tried 
>    ./configure  --disable-statsysbfd --enable-locbfd --enable-maxpage=229376 
> --disable-readline
> followed by
>    make
> on a copy your GCLtwc files and got
>    GCL (GNU Common Lisp)  April 1994  229376 pages
>    MAXPAGE is not a power of 2.  Recompile: Success
>    make[1]: *** [saved_pre_gcl] Error 1
>    rm init_pre_gcl.lsp raw_pre_gcl
>    make[1]: Leaving directory 
> `/v/filer2/boyer/gcl/gcl-2.6.6twc/gcl-2.6.6twc/unixport'
>    make: *** [unixport/saved_pre_gcl] Error 2
> Want to suggest any other number for MAXPAGE?  I'm afraid that the power of
> two lower than 262144 is the normal default 131072.
> Bob
> P. S. (* 7/8 262144) = 229376

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]