From owner-freebsd-arch Wed Nov 6 13: 5:55 2002 Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6386537B401; Wed, 6 Nov 2002 13:05:54 -0800 (PST) Received: from flamingo.mail.pas.earthlink.net (flamingo.mail.pas.earthlink.net [207.217.120.232]) by mx1.FreeBSD.org (Postfix) with ESMTP id F32E543E42; Wed, 6 Nov 2002 13:05:53 -0800 (PST) (envelope-from tlambert2@mindspring.com) Received: from pool0355.cvx40-bradley.dialup.earthlink.net ([216.244.43.100] helo=mindspring.com) by flamingo.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 189XMy-0001S5-00; Wed, 06 Nov 2002 13:05:49 -0800 Message-ID: <3DC983D9.B94F1474@mindspring.com> Date: Wed, 06 Nov 2002 13:04:25 -0800 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Nate Lawson Cc: Jeff Roberson , Poul-Henning Kamp , arch@freebsd.org Subject: Re: malloc(9) performance References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Nate Lawson wrote: > (*) For me, fast enough means sustaining 100000 small (400 byte) and big > (64k) allocations/frees per second (one every 10 us). Maximum memory in > use at any point in time would be a few MB. Latency is my main concern > and memory fragmentation much less so. For me, the number is closer to 600,000: theoretically, this should be the combined mbuf and tcpcb connection struct allocation rate, given the maximum possible connection per second rate on a Gigabit ethernet's packets-per-secon throughput. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message