sorry, i forgot to cc to gambit-list... -------- Original Message -------- Subject: Re: [gambit-list] Problem in thread-sleep! may be a poor implementation of the select system call Date: Wed, 28 Jan 2009 15:32:48 -0500 From: David St-Hilaire <sthilaid@iro.umontreal.ca> To: vasil <vasil.s.d@gmail.com> References: <A0A8D9BC-D43D-4AF1-86E9-375B3E071BDF@iro.umontreal.ca> <498005AE.5040703@gmail.com> <25B6814E-EA7D-469A-A9A5-714B015E6A50@iro.umontreal.ca> <4980AC02.8010705@gmail.com> <AB1AC1EE-9D9D-416F-81B4-AB035A663DC0@iro.umontreal.ca> <4980B46A.5040602@gmail.com> vasil wrote:
Interpreted code shows average n about 9064 (peak value was 9193), compiled code - 9210 (peak value was 9226).
Hi all! Sorry for the late response... So, even after upgrading to the latest gambit-c version: dave@david-laptop ~/sources/gambit-sources $ git log | head -n 3 commit fd8910a5c8649c037be72ec3349ffe535f0a7cd1 Author: Marc Feeley <feeley@iro.umontreal.ca> Date: Wed Jan 28 11:33:16 2009 -0500 I still get the bad performances... dave@david-laptop ~/sources/gambit-sources $ gsi/gsi ~/toto.scm 102 dave@david-laptop ~/sources/gambit-sources $ gsc/gsc ~/toto.scm dave@david-laptop ~/sources/gambit-sources $ gsi/gsi ~/toto.o1 102 The toto.scm file is the example provided by Marc, with a (declare (not safe)) declartion added. I'm using the gentoo kernel 2.6.28-gentoo-r1. Vasil, what kernel did you used? Thank you for the help! David