[Uim] Re: Massive slowdown after revision 129

YamaKen yamaken at bp.iij4u.or.jp
Fri Jan 7 08:15:51 EET 2005


At Fri, 7 Jan 2005 14:54:58 +0900,
ekato at ees.hokudai.ac.jp wrote:
> 
> On 2005/01/07, at 13:47, YamaKen wrote:
> > 2. is my misunderstanding. It's not from uim but from wordwrap
> > feature of text widget of GTK. Breaking long japanese-word line
> > makes the slowdown away.
> 
> Hmm, I experienced slowdown through r129 to r142.  Do you have any idea 
> about the reason?

I can imagine one possibility. Try following configuration to
reproduce such slowdown.

Index: uim/uim-scm.c
===================================================================
--- uim/uim-scm.c       (revision 148)
+++ uim/uim-scm.c       (working copy)
@@ -420,8 +420,8 @@
     {
       "siod",
       "-v0",          /* siod_verbose_level */
-      "-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) */
       "-o1024",       /* obarray_dim (hash size of symbol table) */
       "-s262144",     /* stack_size (unit: bytes) */
       "-n128"         /* inums_dim (preallocated fixnum objects) */


And show me GC messages such as following.

[starting GC]
[GC took 0 cpu seconds, 30676 / 116780 cells collected in 9 / 64 heaps]

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



More information about the uim mailing list