Andreas Franke wrote:
> after reading this remark by Martin Cracauer :
>> [...] I improved this a lot by reducing the number of
>> generations to 4 total (newest, not GCed + 2 others) and setting
>> sb-ext:generation-bytes-consed-between-gcs to a low value (2 MB).
> I've been compiling SBCL-1.1.10+ with fewer memory generations.
> In the course of this, I have encountered two issues:
> 1) After changing the constants in src/compiler/generic/parms.lisp [see
> I needed to adopt a test for sb-introspect accordingly [see
> Please consider this patch.
You may be able to achieve most of the benefits by twiddling
gencgc_oldest_gen_to_gc. For example,
CL-USER> (define-alien-variable gencgc-oldest-gen-to-gc (signed 8))
#<SB-ALIEN-INTERNALS:HEAP-ALIEN-INFO "gencgc_oldest_gen_to_gc" (SIGNED
CL-USER> (setf gencgc-oldest-gen-to-gc 2)