From owner-freebsd-threads@FreeBSD.ORG Tue Jan 18 23:40:33 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 0F4FC16A4CE for ; Tue, 18 Jan 2005 23:40:33 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id BC3B543D2D; Tue, 18 Jan 2005 23:40:32 +0000 (GMT) (envelope-from davidxu@freebsd.org) Received: from [127.0.0.1] (davidxu@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id j0INeURP082643; Tue, 18 Jan 2005 23:40:32 GMT (envelope-from davidxu@freebsd.org) Message-ID: <41ED9E6D.4000509@freebsd.org> Date: Wed, 19 Jan 2005 07:40:29 +0800 From: David Xu User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.5) Gecko/20041226 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Julian Elischer References: <41DCEA91.6040402@he.iki.fi> <41DCFD2F.2040207@freebsd.org> <41DD01CE.70004@he.iki.fi> <41DFED9A.8070202@freebsd.org> <41E0256A.1000801@he.iki.fi> <41ED18D5.80304@freebsd.org> <41ED4B68.6090803@elischer.org> In-Reply-To: <41ED4B68.6090803@elischer.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-threads@freebsd.org Subject: Re: higher speed mutexes 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: Tue, 18 Jan 2005 23:40:34 -0000 Julian Elischer wrote: > > > David Xu wrote: > >> I have put it at: >> http://people.freebsd.org/~davidxu/libthread.fbsd.tgz >> >> Anyone wants to see how fast supersmack can be on FreeBSD >> should try it. > > > > Oh come on.. give us some numbers :-) > Linuxthreads: ============================================ Script started on Mon Jan 17 19:16:10 2005 davidxu@alona:/home/davidxu/super-smack-1.2/smacks> super-smack ./update-select.smack 10 1000 Query Barrel Report for client smacker connect: max=12ms min=2ms avg= 7ms from 10 clients Query_type num_queries max_time min_time q_per_s select_index 10000 3 0 1425.98 update_index 10000 5 0 1425.98 davidxu@alona:/home/davidxu/super-smack-1.2/smacks> super-smack ./update-select.smack 10 1000 Query Barrel Report for client smacker connect: max=10ms min=2ms avg= 6ms from 10 clients Query_type num_queries max_time min_time q_per_s select_index 10000 7 0 1423.48 update_index 10000 4 0 1423.48 davidxu@alona:/home/davidxu/super-smack-1.2/smacks> ./sup-super-smack ./update-select.smack 50 10000 Query Barrel Report for client smacker connect: max=59ms min=2ms avg= 30ms from 50 clients Query_type num_queries max_time min_time q_per_s select_index 500000 26 0 1283.48 update_index 500000 23 0 1283.48 davidxu@alona:/home/davidxu/super-smack-1.2/smacks> exit exit Script done on Mon Jan 17 19:24:40 2005 ============================================= libthread: Script started on Mon Jan 17 19:27:21 2005 davidxu@alona:/home/davidxu/super-smack-1.2/smacks> super-smack ./update-select.smack 10 1000 Query Barrel Report for client smacker connect: max=12ms min=2ms avg= 6ms from 10 clients Query_type num_queries max_time min_time q_per_s select_index 10000 4 0 1650.14 update_index 10000 4 0 1650.14 davidxu@alona:/home/davidxu/super-smack-1.2/smacks> super-smack ./update-select.smack 10 1000 Query Barrel Report for client smacker connect: max=15ms min=2ms avg= 7ms from 10 clients Query_type num_queries max_time min_time q_per_s select_index 10000 5 0 1664.94 update_index 10000 3 0 1664.94 davidxu@alona:/home/davidxu/super-smack-1.2/smacks> super-smack ./update-select.smack 10 100050 10000 Query Barrel Report for client smacker connect: max=82ms min=2ms avg= 40ms from 50 clients Query_type num_queries max_time min_time q_per_s select_index 500000 25 0 1485.13 update_index 500000 17 0 1485.13 davidxu@alona:/home/davidxu/super-smack-1.2/smacks> exit exit Script done on Mon Jan 17 19:33:41 2005