[uim-commit] r143 - trunk/uim

yamaken@freedesktop.org yamaken@freedesktop.org
Thu Jan 6 05:56:08 PST 2005


Author: yamaken
Date: 2005-01-06 05:56:05 -0800 (Thu, 06 Jan 2005)
New Revision: 143

Modified:
   trunk/uim/uim-scm.c
Log:
* This commit tunes Scheme interpreter configuration

* uim/uim-scm.c
  - (uim_scm_init):
    * Change heap size and nheaps from 100000:10 to 16384:64 to allow
      fine grained memory allocation. This reduces memory consumption
      of the process
    * Change obarray_dim (hash size of symbol table) from 1000 to 1024
      to reduce calculation time of hash value (may affect very low
      power processor)
    * Change stack_size from 200000 to 262144 (256KB). This only
      affects maixmum size of GC sweep on stack


Modified: trunk/uim/uim-scm.c
===================================================================
--- trunk/uim/uim-scm.c	2005-01-06 12:26:36 UTC (rev 142)
+++ trunk/uim/uim-scm.c	2005-01-06 13:56:05 UTC (rev 143)
@@ -419,9 +419,9 @@
   char *siod_argv[] =
     {
       "siod",
-      "-h100000:10",  /* heap_size(unit: lisp objects):nheaps */
-      "-o1000",       /* obarray_dim */
-      "-s200000",     /* stack_size (unit: bytes) */
+      "-h16384:64",   /* heap_size(unit: lisp objects):nheaps */
+      "-o1024",       /* obarray_dim (hash size of symbol table) */
+      "-s262144",     /* stack_size (unit: bytes) */
       "-n128",        /* inums_dim (preallocated fixnum objects) */
       "-v0"           /* siod_verbose_level */
     };



More information about the Uim-commit mailing list