gcl-devel
[Top][All Lists]
Advanced

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

Re: [Gcl-devel] efficiency of package symbol tables


From: Bruno Haible
Subject: Re: [Gcl-devel] efficiency of package symbol tables
Date: Mon, 22 Mar 2004 11:48:39 +0100
User-agent: KMail/1.5

Camm Maguire wrote:
> I think the
> GC time should increase, as the heap is getting larger.  Each call
> consumes cons and symbol pages at least.  Here is a bit more detail.

I agree that the time for 1 GC should increase, as the heap is getting
larger. However, what you see here is that the proportion of real time
spent on GC for a given task (fill-symtab 10000) increases from ca. 50%
in the first two runs to ca. 90% in the last two runs. This means that
if the heap gets bigger and bigger, the system gets slower and slower.

Probably it is not due to swapping of virtual memory, assuming your machine
has more than 32 MB of RAM?

Then the only reason for it that I can see is that the GC is triggered too
often. I.e. when the number of pages that the GC will have to scan is big,
the intervals between GCs - measured in allocation requests - should become
larger. A possibly way to implement this is to make the amount of "reserve"
pages grow proportionally with the number of already used pages.

Bruno





reply via email to

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