From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id QAA20256; Fri, 25 Jun 2004 16:37:58 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id QAA20252 for ; Fri, 25 Jun 2004 16:37:57 +0200 (MET DST) Received: from post.bourget.univ-savoie.fr (post.bourget.univ-savoie.fr [193.48.120.73]) by concorde.inria.fr (8.12.10/8.12.10) with ESMTP id i5PEbuSH008284 for ; Fri, 25 Jun 2004 16:37:56 +0200 Received: from univ-savoie.fr (d85.lama.univ-savoie.fr [193.48.123.85]) by post.bourget.univ-savoie.fr (8.12.3/jtpda-5.4) with ESMTP id i5PEbn4J032583 ; Fri, 25 Jun 2004 16:37:49 +0200 Message-ID: <40DC38D3.4010009@univ-savoie.fr> Date: Fri, 25 Jun 2004 16:38:11 +0200 From: Christophe Raffalli User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040115 X-Accept-Language: en-us, en MIME-Version: 1.0 CC: caml-list Subject: [Caml-list] Thread and kernel 2.6 pb still there in CVS References: <20040624194603.2A91010EF06@clark.cs.brown.edu> <1088158825.1941.113.camel@pelican.wigram> <20040625110748.GB2707@bourg.inria.fr> <1088166608.1941.120.camel@pelican.wigram> In-Reply-To: <1088166608.1941.120.camel@pelican.wigram> X-Enigmail-Version: 0.83.3.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigAA0A01B71AF5B0A0E7B1B37F" Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.33 (www . roaringpenguin . com / mimedefang) X-Miltered: at concorde with ID 40DC38C4.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; raffalli:01 raffalli:01 univ-savoie:01 openpgp:01 2440:01 3156:01 vouillon's:01 bug:01 bug:01 posix:01 mandrake:01 glsurf:01 savoie:01 chablais:01 73376:01 X-Attachments: type="application/pgp-signature" name="signature.asc" name="signature.asc" Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigAA0A01B71AF5B0A0E7B1B37F Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit I tried to submit a change in vouillon's entry in the bug tracking system (classed as not a bug because can not reproduce), but as I am not sure it worked, So I also post this here In the latest CVS of ocaml there is still the periodic call Thread.yield (through a sigalarm) in thread_posix.ml This implies that a threaded OCaml program ON A LINUX KERNEL 2.6 (at least 2.6.3 on Mandrake 10, but probaby all 2.6) gets very little CPU when another process is running (the usual figure is 10% CPU for the threaded OCaml program against 90% for another program) Could you do something before the next release, because GlSurf is really not working on my linux boxes without this change. -- By the way, why does OCaml needs that periodic call Thread.yield ? -- Christophe Raffalli Université de Savoie Batiment Le Chablais, bureau 21 73376 Le Bourget-du-Lac Cedex tél: (33) 4 79 75 81 03 fax: (33) 4 79 75 87 42 mail: Christophe.Raffalli@univ-savoie.fr www: http://www.lama.univ-savoie.fr/~RAFFALLI --------------------------------------------- IMPORTANT: this mail is signed using PGP/MIME At least Enigmail/Mozilla, mutt or evolution can check this signature --------------------------------------------- --------------enigAA0A01B71AF5B0A0E7B1B37F Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFA3DjTSQDyWB/+xBwRAmXBAKDaJD+N6cnm44Wzr3pXAP7y7kA7sQCfUYcc mfTbg+eZjeIiBymNCMLJs+s= =SOK1 -----END PGP SIGNATURE----- --------------enigAA0A01B71AF5B0A0E7B1B37F-- ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners