Incorporation of latest Debian patches

8 views
Skip to first unread message

Camm Maguire

unread,
Feb 18, 2026, 8:54:16 AM (5 days ago) Feb 18
to Waldek Hebisch, ca...@maguirefamily.org, fricas...@googlegroups.com
Greetings, and thank you so much for incorporating the Debian package
patches in the latest release!

This note is about init-memory-config. These calls to si::allocate
exist and are supported, but in a distribution like Debian suffer from
an unknown pagesize on the building machine. GCL has support for
'hugepages' (2Mb), and on 32bit machines with such a size this initial
allocation blows out. I've skipped it for now as the automatic
allocations work, although possibly more slowly. But in any case if
they are desired I suggest retrieving the system pagesize as the second
value returned by #'si::heap-report and sizing your allocations
appropriately.

+ (hole 2000) )
+ (return-from init-memory-config nil)

Thanks again for your great work on fricas!

Take care,
--
Camm Maguire ca...@maguirefamily.org
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah

Waldek Hebisch

unread,
Feb 19, 2026, 5:05:13 PM (4 days ago) Feb 19
to Camm Maguire, Waldek Hebisch, fricas...@googlegroups.com
On Wed, Feb 18, 2026 at 08:54:05AM -0500, Camm Maguire wrote:
> Greetings, and thank you so much for incorporating the Debian package
> patches in the latest release!
>
> This note is about init-memory-config. These calls to si::allocate
> exist and are supported, but in a distribution like Debian suffer from
> an unknown pagesize on the building machine. GCL has support for
> 'hugepages' (2Mb), and on 32bit machines with such a size this initial
> allocation blows out. I've skipped it for now as the automatic
> allocations work, although possibly more slowly. But in any case if
> they are desired I suggest retrieving the system pagesize as the second
> value returned by #'si::heap-report and sizing your allocations
> appropriately.
>
> + (hole 2000) )
> + (return-from init-memory-config nil)
>

When I tested this many years ago there was significant effect on
build and testsuite time. I have tried now with GCL-2.7.1 and any
effect is less than measurement noise, so I removed that code.

--
Waldek Hebisch
Reply all
Reply to author
Forward
0 new messages