[gambit-list] parallel GC
Bradley Lucier
lucier at math.purdue.edu
Mon Nov 7 20:23:19 EST 2016
Interesting. Without --enable-multiple-threaded-vms I get
------------ TEST 6 (link and execute the code generated)
rm -f mix_.c mix.o mix_.o mix
LD_LIBRARY_PATH=../lib:../gsi:../gsc:/usr/local/libimobiledevice/lib:/usr/local/Gambit/current/lib:/usr/local/netpbm10/lib:
../gsc/gsc -:~~bin=../bin,~~lib=../lib,~~include=../include -f -warnings
-o mix -exe mix.c
LD_LIBRARY_PATH=../lib:../gsi:../gsc:/usr/local/libimobiledevice/lib:/usr/local/Gambit/current/lib:/usr/local/netpbm10/lib:
./mix -:m4000 > test6.out
.188 secs elapsed cpu time
heartbeat frequency = 244.68085106382978 Hz
diff test6.ok test6.out && \
rm -f test6.out mix.c mix_.c mix.o mix_.o mix
and
LD_LIBRARY_PATH=../lib:../gsi:../gsc:/usr/local/libimobiledevice/lib:/usr/local/Gambit/current/lib:/usr/local/netpbm10/lib:
../gsc/gsc -:~~bin=../bin,~~lib=../lib,~~include=../include -f -i test10.scm
------------ TEST 11 (run unit tests)
make ut
make[2]: Entering directory '/home/lucier/programs/gambit/gambit/tests'
LD_LIBRARY_PATH=../lib:../gsi:../gsc:/usr/local/libimobiledevice/lib:/usr/local/Gambit/current/lib:/usr/local/netpbm10/lib:
../gsi/gsi -:tl,~~bin=../bin,~~lib=../lib,~~include=../include -f
./run-unit-tests.scm
[ 122| 0| 0] 100% ########################################## 1.6s
PASSED ALL 122 UNIT TESTS
while with it I get
------------ TEST 6 (link and execute the code generated)
rm -f mix_.c mix.o mix_.o mix
LD_LIBRARY_PATH=../lib:../gsi:../gsc:/usr/local/libimobiledevice/lib:/usr/local/Gambit/current/lib:/usr/local/netpbm10/lib:
../gsc/gsc -:~~bin=../bin,~~lib=../lib,~~include=../include -f -warnings
-o mix -exe mix.c
LD_LIBRARY_PATH=../lib:../gsi:../gsc:/usr/local/libimobiledevice/lib:/usr/local/Gambit/current/lib:/usr/local/netpbm10/lib:
./mix -:m4000 > test6.out
.172 secs elapsed cpu time
heartbeat frequency = 203.48837209302326 Hz
*** possible problem: expected heartbeat frequency = 250. Hz
diff test6.ok test6.out && \
rm -f test6.out mix.c mix_.c mix.o mix_.o mix
and
------------ TEST 11 (run unit tests)
make ut
make[2]: Entering directory '/home/lucier/programs/gambit/gambit/tests'
LD_LIBRARY_PATH=../lib:../gsi:../gsc:/usr/local/libimobiledevice/lib:/usr/local/Gambit/current/lib:/usr/local/netpbm10/lib:
../gsi/gsi -:tl,~~bin=../bin,~~lib=../lib,~~include=../include -f
./run-unit-tests.scm
[ 122| 0| 0] 100% ########################################## 1.8s
PASSED ALL 122 UNIT TESTS
So the timing differences are now small, but the heartbeat frequency is
somewhat off.
So, improvement!
Brad
More information about the Gambit-list
mailing list