[gambit-list] Problem in thread-sleep! may be a poor implementation of the select system call

David St-Hilaire sthilaid at iro.umontreal.ca
Wed Jan 28 11:18:35 EST 2009


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 at iro.umontreal.ca>
To: vasil <vasil.s.d at gmail.com>
References: <A0A8D9BC-D43D-4AF1-86E9-375B3E071BDF at iro.umontreal.ca>
<498005AE.5040703 at gmail.com>
<25B6814E-EA7D-469A-A9A5-714B015E6A50 at iro.umontreal.ca>
<4980AC02.8010705 at gmail.com>
<AB1AC1EE-9D9D-416F-81B4-AB035A663DC0 at iro.umontreal.ca> <4980B46A.5040602 at 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 at david-laptop ~/sources/gambit-sources $ git log | head -n 3
commit fd8910a5c8649c037be72ec3349ffe535f0a7cd1
Author: Marc Feeley <feeley at iro.umontreal.ca>
Date:   Wed Jan 28 11:33:16 2009 -0500

I still get the bad performances...

dave at david-laptop ~/sources/gambit-sources $ gsi/gsi ~/toto.scm
102
dave at david-laptop ~/sources/gambit-sources $ gsc/gsc ~/toto.scm
dave at 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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: not available
URL: <http://mailman.iro.umontreal.ca/pipermail/gambit-list/attachments/20090128/561010cf/attachment.sig>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.iro.umontreal.ca/pipermail/gambit-list/attachments/20090128/561010cf/attachment-0001.sig>


More information about the Gambit-list mailing list