From owner-freebsd-threads@FreeBSD.ORG Tue Dec 5 11:29:18 2006 Return-Path: X-Original-To: freebsd-threads@freebsd.org Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 34DB416A407 for ; Tue, 5 Dec 2006 11:29:18 +0000 (UTC) (envelope-from katsuo_harada_evil_does@hotmail.com) Received: from bay0-omc3-s31.bay0.hotmail.com (bay0-omc3-s31.bay0.hotmail.com [65.54.246.231]) by mx1.FreeBSD.org (Postfix) with ESMTP id 524DE43CA2 for ; Tue, 5 Dec 2006 11:28:39 +0000 (GMT) (envelope-from katsuo_harada_evil_does@hotmail.com) Received: from hotmail.com ([65.55.133.89]) by bay0-omc3-s31.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 5 Dec 2006 03:29:17 -0800 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 5 Dec 2006 03:29:17 -0800 Message-ID: Received: from 65.55.133.123 by by128fd.bay128.hotmail.msn.com with HTTP; Tue, 05 Dec 2006 11:29:14 GMT X-Originating-IP: [130.238.13.124] X-Originating-Email: [katsuo_harada_evil_does@hotmail.com] X-Sender: katsuo_harada_evil_does@hotmail.com In-Reply-To: <457499BD.9080000@elischer.org> From: "Joshua M" To: julian@elischer.org Date: Tue, 05 Dec 2006 12:29:14 +0100 Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed X-OriginalArrivalTime: 05 Dec 2006 11:29:17.0230 (UTC) FILETIME=[995D3CE0:01C71860] X-Mailman-Approved-At: Tue, 05 Dec 2006 13:00:05 +0000 Cc: freebsd-threads@freebsd.org Subject: Re: Threading arch quetions X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Dec 2006 11:29:18 -0000 >From: Julian Elischer >To: Joshua M >CC: freebsd-threads@freebsd.org >Subject: Re: Threading arch quetions >Date: Mon, 04 Dec 2006 13:57:17 -0800 >We adopted a scheme which would allow us to implement both M:N threads >and 1:1 threads with compatible libraries that do it each way. >The hope was that this would allow people to experiment with these. >and for us to be able to select the best approach. Thank you for your response. Can you please name those libs ? >There are examples where M:N outperforms 1:1 but they are the >minority, so we will be switching the default library to >1:1 threads What is the default library ? > >Note that the kernel support for threads is the same for both models, >where processes have sub-entities (kernel schedulable entities) called >threads, as opposed to in Linux where each thread is a separate process. This is the point i dont understand at all. As i understood KSE is an N to M approach and it is implemented in FBSD. So how 1:1 is supposed to coexist if finally everythig is converted to N to M ? does it mean that basically FBSD if it wants 1 to 1 always creates 1 KSEG per thread and thus create a *simulation* of 1 to 1 approach ? Thank you again. _________________________________________________________________ Windows Live Spaces : créez votre Space à votre image ! http://www.windowslivespaces.fr/