This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
the GC patch -- please try it with something heavy.
- To: Michael Livshin <mlivshin at bigfoot dot com>
- Subject: the GC patch -- please try it with something heavy.
- From: Han-Wen Nienhuys <hanwen at cs dot uu dot nl>
- Date: Tue, 13 Jun 2000 18:46:03 +0200 (CEST)
- Cc: guile at sourceware dot cygnus dot com, jantien at xs4all dot nl
- References: <s3hfayq0da.fsf@bigfoot.com>
- Reply-To: hanwen at cs dot uu dot nl
Here are preliminary results of Mike's GC patch. The timings indicate
that the new GC patch is comparable to the old one. However, much more
painful, is the user-time of 1.3.5 compared to 1.3.4 (see 2nd example,
an increase of a factor 2). I am afraid that someone forgot to turn
off some debugging switch.
trip.ly, 1600 graphic objects
new gc
======
((gc-time-taken . 96) (cells-allocated . 105816) (cell-heap-size
. 255744) (bytes-malloced . 578388) (gc-malloc-threshold
. 579259) (cell-heap-segments (135987200 . 135938048)
(135995904 . 135989760) (136098816 . 136066048) (136148480
. 136099328) (136244736 . 136168960) (136361984 . 136257536)
(1076032000 . 1075876352) (1076333056 . 1076036096)
(1076855296 . 1076335104) (1077615104 . 1076859392)))
user: 9.06(906) system: 0.18(18)
elapsed: 9.61
MAXSIZE: 5.414M(1386), MAXRSS: 5.414M(1386)
AVGSIZE: 4.195M(1074), AVGRSS: 4.195M(1074)
old gc
======
((gc-time-taken . 94) (cells-allocated . 98025)
(cell-heap-size . 216126) (bytes-malloced . 575403)
(gc-malloc-threshold . 579453) (cell-heap-segments (135986016
. 135937968) (1076239936 . 1075871752) (1076432488
. 1076240392) (1076833104 . 1076432904) (1077078656
. 1076838416) (1077560312 . 1077080072)))
user: 9.31(931) system: 0.08(8)
elapsed: 9.85
MAXSIZE: 5.078M(1300), MAXRSS: 5.078M(1300)
AVGSIZE: 3.816M(977), AVGRSS: 3.816M(977)
1.3.4
=====
((gc-time-taken . 79) (cells-allocated . 127216)
(cell-heap-size . 294912) (bytes-malloced . 494184)
(gc-malloc-threshold . 506404) (cell-heap-segments (1076133896
. 1075871752) (1076662280 . 1076137992) (1078239240
. 1076666376)))
user: 7.70(770) system: 0.15(15)
elapsed: 9.64
MAXSIZE: 5.625M(1440), MAXRSS: 5.625M(1440)
AVGSIZE: 4.094M(1048), AVGRSS: 4.094M(1048)
2nd test: (wtk1 fugue2, two pages, 6000 graphic objects ).
new gc
((gc-time-taken . 231) (cells-allocated . 365440)
(cell-heap-size . 450304) (bytes-malloced . 1767281)
(gc-malloc-threshold . 1955241) (cell-heap-segments (135987200
. 135938048) (135995904 . 135989760) (136098816 . 136066048)
(136148480 . 136099328) (136245248 . 136169472) (136361984
. 136257536) (1076032000 . 1075876352) (1076333056
. 1076036096) (1076855296 . 1076335104) (1077733888
. 1076859392) (1079173632 . 1077735936)))
user: 83.32(8332) system: 0.17(17)
elapsed: 86.48
MAXSIZE: 8.281M(2120), MAXRSS: 8.281M(2120)
AVGSIZE: 7.418M(1899), AVGRSS: 7.418M(1899)
oldgc
((gc-time-taken . 206) (cells-allocated . 460043)
(cell-heap-size . 594371) (bytes-malloced . 1832610)
(gc-malloc-threshold . 1955889) (cell-heap-segments (135986016
. 135937968) (1076239936 . 1075871752) (1076432488
. 1076240392) (1076849112 . 1076432904) (1077539040
. 1076850696) (1078680064 . 1077542928) (1080586560
. 1078681608)))
user: 85.40(8540) system: 0.34(34)
elapsed: 89.92
MAXSIZE: 9.352M(2394), MAXRSS: 9.352M(2394)
AVGSIZE: 8.312M(2128), AVGRSS: 8.312M(2128)
1.3.4
=====
((gc-time-taken . 460) (cells-allocated . 267007)
(cell-heap-size . 294912) (bytes-malloced . 1354979)
(gc-malloc-threshold . 1709142) (cell-heap-segments
(1076133896 . 1075871752) (1076662280 . 1076137992)
(1078239240 . 1076666376)))
user: 34.97(3497) system: 0.18(18)
elapsed: 36.32
MAXSIZE: 6.559M(1679), MAXRSS: 6.559M(1679)
AVGSIZE: 5.750M(1472), AVGRSS: 5.750M(1472)
--
Han-Wen Nienhuys, hanwen@cs.uu.nl ** GNU LilyPond - The Music Typesetter
http://www.cs.uu.nl/people/hanwen/lilypond/index.html