[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Emacs-diffs] /srv/bzr/emacs/trunk r109187: Adjust consing_since_gc
From: |
Stefan Monnier |
Subject: |
Re: [Emacs-diffs] /srv/bzr/emacs/trunk r109187: Adjust consing_since_gc when objects are explicitly freed. |
Date: |
Tue, 24 Jul 2012 05:11:05 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) |
>> What helps? Adding those calls to free_marker, or adding the "decrement
>> consing_since_gc in free_marker"? I can believe the first, but I doubt
>> the second will make much of a difference.
> Local: both conses and markers are allocated very often, and
> explicitly freed ones most probably will be re-used again very soon,
> at the cost of link to/unlink from the free lists, thus avoiding
> possible new block allocation.
> Global: Ideal GC manages an infinite amount of memory so the
> collection is never started. For the real cases, some time periods are
> more advisable for running GC (when we're idle, for example); but,
> since we can't predict when "more advisable" time comes, it's the best
> bet to run GC as later as possible for the same amount of work.
I do not understand how that answers my question.
So to repeat: do you claim that "decrement consing_since_gc in
free_marker" helps performance? If so, do you have concrete
measurements showing it?
Stefan
- Re: [Emacs-diffs] /srv/bzr/emacs/trunk r109187: Adjust consing_since_gc when objects are explicitly freed., Stefan Monnier, 2012/07/23
- Re: [Emacs-diffs] /srv/bzr/emacs/trunk r109187: Adjust consing_since_gc when objects are explicitly freed., Dmitry Antipov, 2012/07/23
- Re: [Emacs-diffs] /srv/bzr/emacs/trunk r109187: Adjust consing_since_gc when objects are explicitly freed., Stefan Monnier, 2012/07/23
- Re: [Emacs-diffs] /srv/bzr/emacs/trunk r109187: Adjust consing_since_gc when objects are explicitly freed., Dmitry Antipov, 2012/07/23
- Re: [Emacs-diffs] /srv/bzr/emacs/trunk r109187: Adjust consing_since_gc when objects are explicitly freed., Stefan Monnier, 2012/07/23
- Re: [Emacs-diffs] /srv/bzr/emacs/trunk r109187: Adjust consing_since_gc when objects are explicitly freed., Dmitry Antipov, 2012/07/24
- Re: [Emacs-diffs] /srv/bzr/emacs/trunk r109187: Adjust consing_since_gc when objects are explicitly freed.,
Stefan Monnier <=
- Re: [Emacs-diffs] /srv/bzr/emacs/trunk r109187: Adjust consing_since_gc when objects are explicitly freed., Dmitry Antipov, 2012/07/24
- Re: [Emacs-diffs] /srv/bzr/emacs/trunk r109187: Adjust consing_since_gc when objects are explicitly freed., Stefan Monnier, 2012/07/24
- Re: [Emacs-diffs] /srv/bzr/emacs/trunk r109187: Adjust consing_since_gc when objects are explicitly freed., Dmitry Antipov, 2012/07/25
- Re: [Emacs-diffs] /srv/bzr/emacs/trunk r109187: Adjust consing_since_gc when objects are explicitly freed., Stefan Monnier, 2012/07/25
Re: [Emacs-diffs] /srv/bzr/emacs/trunk r109187: Adjust consing_since_gc when objects are explicitly freed., Stephen J. Turnbull, 2012/07/23