[Uim] Re: Massive slowdown after revision 129

YamaKen yamaken at bp.iij4u.or.jp
Fri Jan 7 13:13:37 EET 2005


At Fri, 7 Jan 2005 17:08:29 +0900,
ekato at ees.hokudai.ac.jp wrote:
> 
> On 2005/01/07, at 15:15, YamaKen wrote:
> 
> > -      "-h16384:64",   /* heap_size(unit: lisp objects):nheaps */
> > -      "-t16384",      /* heap_alloc_threshold (unit: lisp objects) */
> > +       "-h100000:10",  /* heap_size(unit: lisp objects):nheaps */
> > +      "-t100",        /* heap_alloc_threshold (unit: lisp objects) */
> 
> Yep.  Very slow key response with this siod setting in r148.
> 
> Changing heap_alloc_threshold actually affected response drastically.  
> heap_size itself doesn't seems critical about this.

> With modified (slow) version,
> 
> [starting GC]
> [GC took 0 cpu seconds, 1286 / 98714 cells collected in 10 / 10 heaps]

Is this really runs with "-h100000:10 -t100"? Very strange if so.

This message indicates the interpreter allocates 11.5MB of heaps
rather than 1.5MB of below. This heap size * GC frequency will
directly impact performance.

> With normal (r148) version,
> 
> [starting GC]
> [GC took 0 cpu seconds, 32161 / 98911 cells collected in 8 / 64 heaps]


Please let me know additional information.

- VSZ and RSS of the two processes
- all GC messages from startup of the strange case with LIBUIM_VERBOSE=4

-------------------------------
YamaKen  yamaken at bp.iij4u.or.jp



More information about the uim mailing list