From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 25 23:55:01 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AFD9B37B404 for ; Tue, 25 Mar 2003 23:55:01 -0800 (PST) Received: from undead.dnn.ru (dnn.ru [212.158.164.253]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3CA2243FA3 for ; Tue, 25 Mar 2003 23:55:00 -0800 (PST) (envelope-from alex@dynaweb.ru) Received: from dynaweb.ru (dynaweb.dnn.ru [212.158.164.112]) by undead.dnn.ru (8.9.3/8.9.3) with ESMTP id KAA52543 for ; Wed, 26 Mar 2003 10:57:21 +0300 (MSK) (envelope-from alex@dynaweb.ru) Message-ID: <3E815D53.6010404@dynaweb.ru> Date: Wed, 26 Mar 2003 10:57:07 +0300 From: Alex User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, en MIME-Version: 1.0 To: FreeBSD hackers list Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=-5.8 required=5.0 tests=USER_AGENT_MOZILLA_UA autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Subject: Some specific questions about 5.x X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: alex@dynaweb.ru List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Mar 2003 07:55:02 -0000 X-List-Received-Date: Wed, 26 Mar 2003 07:55:02 -0000 Hi everybody! I was so much enthusiastic about kernel threads implemented in 5.x but some ugly rumors spoiled my dreams :0) So I want to get if these rumors are myths or not. 1. Is it true that kernel threads are more "heavy" than userspace ones (pthread) and hence application with hundreds of threads will work evidently slower than that using pthreads due to more switching penalties? 2. Is it true that even 5.x has no implementation for inter-process semaphores that are blocking calling thread only not the whole process as usually in FreeBSD? Alex