From owner-freebsd-current@FreeBSD.ORG Thu Dec 29 05:41:53 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6176E16A41F; Thu, 29 Dec 2005 05:41:53 +0000 (GMT) (envelope-from jasone@freebsd.org) Received: from lh.synack.net (lh.synack.net [204.152.188.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id B204D43D5A; Thu, 29 Dec 2005 05:41:52 +0000 (GMT) (envelope-from jasone@freebsd.org) Received: by lh.synack.net (Postfix, from userid 100) id 8319B5E48E3; Wed, 28 Dec 2005 21:41:52 -0800 (PST) Received: from [192.168.168.203] (moscow-cuda-gen2-68-64-60-20.losaca.adelphia.net [68.64.60.20]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by lh.synack.net (Postfix) with ESMTP id DD6FE5E488C; Wed, 28 Dec 2005 21:41:50 -0800 (PST) In-Reply-To: <43B3768F.40704@freebsd.org> References: <43B36B83.7080404@freebsd.org> <32729773-B07C-4AEE-92D0-62ACE0E3AFEB@freebsd.org> <43B36EB9.70205@freebsd.org> <2E722A13-C880-41B6-A84C-3927C8FE90E5@freebsd.org> <43B3768F.40704@freebsd.org> Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <811F628B-A89B-4359-A219-13B5337726A9@freebsd.org> Content-Transfer-Encoding: 7bit From: Jason Evans Date: Wed, 28 Dec 2005 21:41:47 -0800 To: David Xu X-Mailer: Apple Mail (2.746.2) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on lh.synack.net X-Spam-Level: * X-Spam-Status: No, score=1.8 required=5.0 tests=RCVD_IN_NJABL_DUL, RCVD_IN_SORBS_DUL autolearn=no version=3.0.4 Cc: freebsd-current@freebsd.org Subject: Re: New malloc ready, take 42 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Dec 2005 05:41:53 -0000 On Dec 28, 2005, at 9:39 PM, David Xu wrote: > > OK, I have linked /etc/malloc.conf to aj, this changes the > performance: > > %super-smack ./select-key.smack 4 10000 > Query Barrel Report for client smacker1 > connect: max=23ms min=0ms avg= 5ms from 4 clients > Query_type num_queries max_time min_time > q_per_s > select_index 80000 0 0 20480.54 > select_index 80000 0 0 19734.14 > select_index 80000 0 0 19846.49 > select_index 80000 0 0 20045.10 > select_index 80000 0 0 19544.33 > > but it still can not beat phkmalloc. :-) What is the performance of phkmalloc under those testing conditions? Thanks, Jason