From owner-freebsd-threads@FreeBSD.ORG Wed Apr 13 23:54:51 2005 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2EFA216A4CE for ; Wed, 13 Apr 2005 23:54:51 +0000 (GMT) Received: from pinus.cc.fer.hr (pinus.cc.fer.hr [161.53.73.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 54D6B43D49 for ; Wed, 13 Apr 2005 23:54:50 +0000 (GMT) (envelope-from ivoras@fer.hr) Received: from [161.53.72.113] (lara.cc.fer.hr [161.53.72.113]) by pinus.cc.fer.hr (8.12.2/8.12.2) with ESMTP id j3DNtOB2012403; Thu, 14 Apr 2005 01:55:24 +0200 (MEST) Message-ID: <425DB142.7010905@fer.hr> Date: Thu, 14 Apr 2005 01:54:42 +0200 From: Ivan Voras User-Agent: Mozilla Thunderbird 1.0 (X11/20041213) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Niall Douglas References: <425DAE1F.5558.EDA8BD7@localhost> <425DBC35.18797.F118E6C@localhost> In-Reply-To: <425DBC35.18797.F118E6C@localhost> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-threads@freebsd.org Subject: Re: thread aware malloc X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Apr 2005 23:54:51 -0000 Niall Douglas wrote: > KSE threads, FreeBSD v5.3. It's a mixture of process and system > threads. As I mentioned in a previous post, it's eight times slower > than Linux. See http://www.nedprod.com/Tn/ (scroll down to the > screenshots). Did you test on a "real" FreeBSD & Linux hardware (not VMWare)? Because VMWare **greatly** pessimizes low-level operations that depend on atomic/bus locks, CMPXCHG & similar operations that are used in synchronization, context switches & multithreading, and IO operations are also very very slow compared to real hardware. It simply cannot be used to do benchmarks on (except if you're benchmarking vmware, not the guest system :) )