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 SAA25394; Fri, 25 Jun 2004 18:08:45 +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 SAA25291 for ; Fri, 25 Jun 2004 18:08:43 +0200 (MET DST) Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by concorde.inria.fr (8.12.10/8.12.10) with ESMTP id i5PG8fSH019772 for ; Fri, 25 Jun 2004 18:08:42 +0200 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1BdtFp-0008UL-00 for ; Fri, 25 Jun 2004 18:08:41 +0200 Received: from pcmath208.unice.fr ([134.59.10.208]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 25 Jun 2004 18:08:41 +0200 Received: from maggesi by pcmath208.unice.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 25 Jun 2004 18:08:41 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: caml-list@inria.fr From: Marco Maggesi Subject: [Caml-list] Re: Thread and kernel 2.6 pb still there in CVS Date: Fri, 25 Jun 2004 16:08:39 +0000 (UTC) Message-ID: References: <20040624194603.2A91010EF06@clark.cs.brown.edu> <1088158825.1941.113.camel@pelican.wigram> <20040625110748.GB2707@bourg.inria.fr> <1088166608.1941.120.camel@pelican.wigram> <40DC38D3.4010009@univ-savoie.fr> X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: pcmath208.unice.fr User-Agent: slrn/0.9.8.0 (Linux) X-Miltered: at concorde with ID 40DC4E09.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; maggesi:01 maggesi:01 unice:01 2004:99 raffalli:01 raffalli:01 univ-savoie:01 openpgp:01 2440:01 3156:01 vouillon's:01 bug:01 bug:01 posix:01 mandrake:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On 2004-06-25, Christophe Raffalli wrote: > 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 ? Ah, so this should be also the answer to this bug in Coq http://coq.inria.fr/bin/coq-bugs/open?id=729 -- M ------------------- 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