From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: weis Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id SAA10819 for caml-redistribution; Wed, 1 Mar 2000 18:07:42 +0100 (MET) Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id EAA23138 for ; Wed, 1 Mar 2000 04:46:55 +0100 (MET) Received: from ot-link.ot.com.au ([203.5.3.1]) by nez-perce.inria.fr (8.8.7/8.8.7) with SMTP id EAA03229 for ; Wed, 1 Mar 2000 04:46:50 +0100 (MET) Received: (qmail 9648 invoked from network); 1 Mar 2000 03:46:37 -0000 Received: from unknown (HELO druid.in.ot.com.au) (203.5.4.202) by 203.5.4.251 with SMTP; 1 Mar 2000 03:46:37 -0000 Received: (qmail 4160 invoked from network); 1 Mar 2000 03:46:26 -0000 Received: from merlin.in.ot.com.au (HELO in.ot.com.au) (203.5.4.26) by druid.in.ot.com.au with SMTP; 1 Mar 2000 03:46:26 -0000 Sender: weis Message-ID: <38BC93FC.65E3ED43@in.ot.com.au> Date: Wed, 01 Mar 2000 14:52:28 +1100 From: Max Skaller Organization: Open Telecommunications Ltd X-Mailer: Mozilla 4.61 [en] (X11; I; Linux 2.2.12-20 i686) X-Accept-Language: en MIME-Version: 1.0 CC: caml-list@inria.fr Subject: Interpreter vs hardware threads References: <14518.34203.741447.637489@gargle.gargle.HOWL> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Does anyone know how fast the ocaml bytecode interpreter 'switches' between threads (that is, what is the scheduling overhead?) Assume most of the threads are waiting (say, on a condition variable). Asume LOTS of threads (thousands). [Hardware threads are not fast enough] -- John (Max) Skaller at OTT [Open Telecommications Ltd] mailto:maxs@in.ot.com.au -- at work mailto:skaller@maxtal.com.au -- at home