From owner-freebsd-current@FreeBSD.ORG Wed Nov 19 14:34:39 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A7F5A1065670 for ; Wed, 19 Nov 2008 14:34:39 +0000 (UTC) (envelope-from channa.kad@gmail.com) Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.28]) by mx1.freebsd.org (Postfix) with ESMTP id 595218FC1D for ; Wed, 19 Nov 2008 14:34:39 +0000 (UTC) (envelope-from channa.kad@gmail.com) Received: by yx-out-2324.google.com with SMTP id 8so1441318yxb.13 for ; Wed, 19 Nov 2008 06:34:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=MrWD5LRdwwLTAcVjvT/llJQS5+sYbEj7N5KXW0HEu5U=; b=hw1AM4H3AiXgzy7ShrXHezgZ1k4bMddO7bkx2PdeuZADjndbaAx0zlr5q+wzJBWLiF F+yHvbR4RyP1zxLGSYfA91JCN7POMWaCn1LyNoAQyntInV7iSruB/hMfQrQszds8gXCP op8ZdQT+67FRFg1UV/uoXAJTsh2iJ9p5evM9E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=JWWLcLM5gFYmOLhl/zU+IwSqV3yDPhWi5RRp5QE9VdJ2c5wJUwH+blaz8kQRuOY4BT JUzYb0QdfDNMZCcDcYdzyq5FxwGtGq1DDBRgtr7RsMA/hzmPY46vl73EE4SCAZmpK6sz hwF6AkxRWCzlO0QQJeTu4TDkphtqvBXgfKD1E= Received: by 10.65.241.15 with SMTP id t15mr1123088qbr.8.1227103478527; Wed, 19 Nov 2008 06:04:38 -0800 (PST) Received: by 10.64.156.4 with HTTP; Wed, 19 Nov 2008 06:04:38 -0800 (PST) Message-ID: <515c64960811190604w4f22e5a0ta4ed07323fcb697d@mail.gmail.com> Date: Wed, 19 Nov 2008 19:34:38 +0530 From: Channa To: freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: FreeBSD performance on single CPU. 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: Wed, 19 Nov 2008 14:34:39 -0000 Hi, I am using FreeBSD malloc from the current working branch. I hope its jemalloc. I tested it on a single CPU machine i could get the following results # ./malloc-test 1024 10000000 4 Starting test... Thread -1096811184 adjusted timing: 102.369100 seconds for 10000000 requests of 1024 bytes. Thread -1101005488 adjusted timing: 103.212512 seconds for 10000000 requests of 1024 bytes. Thread -1098908336 adjusted timing: 103.491399 seconds for 10000000 requests of 1024 bytes. Thread -1094714032 adjusted timing: 103.605124 seconds for 10000000 requests of 1024 bytes. I checked the result in the FreeBSD mailing list link given below: http://unix.derkeiler.com/Mailing-Lists/FreeBSD/current/2005-12/msg00294.html The jemalloc gives very good results. Is that the performance is good only on SMP? Or on single processor also it should perform well? But on single CPU i could see bad results. Could anyone help me out? Thanks in Advance, Channa