Re: cell heap usage in 1.8 vs 1.6

2007-10-12 Thread Ludovic Courtès
Hi, [EMAIL PROTECTED] (Ludovic Courtès) writes: > * the heap gets more and more underutilized, although it seems to > eventually stabilize somewhere around 5% (!) utilization (i.e., > total/alive = 20); The main reason appears to be that the size of individual segments grows exponentia

Re: cell heap usage in 1.8 vs 1.6

2007-10-10 Thread Ludovic Courtès
Hi, I hopefully managed to characterize the problem. I instrumented HEAD with the attached patch that exposes the current "min yield" of both freelists. Then, I ran the attached script that does the following: * at regular intervals, plot the total cell heap, alive cell heap (using your c

Re: cell heap usage in 1.8 vs 1.6

2007-10-08 Thread Ludovic Courtès
Hi, Kevin Ryde <[EMAIL PROTECTED]> writes: > I'm having trouble in my charting program with the amount of heap space > allocated for cells in 1.8. It ends up allocating more and more heap > (as reported by gc-stats 'cell-heap-segments and confirmed by > mallinfo()), apparently without bound. I'

Re: cell heap usage in 1.8 vs 1.6

2007-08-29 Thread Ludovic Courtès
Hi, Kevin Ryde <[EMAIL PROTECTED]> writes: > [EMAIL PROTECTED] (Ludovic Courtès) writes: >> Hopefully removal of globals made it slightly simpler to follow... > > No, that's made it harder to see what actually changed. I was referring to the code, not to the diff. You can still diff 1.8 agains

Re: cell heap usage in 1.8 vs 1.6

2007-08-28 Thread Kevin Ryde
[EMAIL PROTECTED] (Ludovic Courtès) writes: > > As good as 1.6? Total space is bigger, but at least it doesn't grow unboundedly. > Hopefully removal of globals made it slightly simpler to follow... No, that's made it harder to see what actually changed. I suppose a block copy of the changes wit

Re: cell heap usage in 1.8 vs 1.6

2007-08-23 Thread Ludovic Courtès
Hey, Kevin Ryde <[EMAIL PROTECTED]> writes: > Ah yes, it's better there. As good as 1.6? > What bit is the operative fix? I couldn't find exactly. The ChangeLog entry on 2006-01-04 gives some hints about functions to look at. There's also this post: http://lists.gnu.org/archive/html/guile-de

Re: cell heap usage in 1.8 vs 1.6

2007-08-22 Thread Kevin Ryde
[EMAIL PROTECTED] (Ludovic Courtès) writes: > > Did you try running it with HEAD? There were small GC-stats "cleanups" > committed there that are not in 1.8, so it may be worth trying. Ah yes, it's better there. What bit is the operative fix? Both the per-freelist min_yield adjust and the count

Re: cell heap usage in 1.8 vs 1.6

2007-08-20 Thread Ludovic Courtès
Hi Kevin, Kevin Ryde <[EMAIL PROTECTED]> writes: > I'm having trouble in my charting program with the amount of heap space > allocated for cells in 1.8. It ends up allocating more and more heap > (as reported by gc-stats 'cell-heap-segments and confirmed by > mallinfo()), apparently without boun