From owner-freebsd-hackers@FreeBSD.ORG Sun Sep 19 11:42:35 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3417C1065670; Sun, 19 Sep 2010 11:42:35 +0000 (UTC) (envelope-from rwatson@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 0C8748FC21; Sun, 19 Sep 2010 11:42:35 +0000 (UTC) Received: from [127.0.0.1] (rhee.cl.cam.ac.uk [128.232.1.202]) by cyrus.watson.org (Postfix) with ESMTPSA id 9D1B546B91; Sun, 19 Sep 2010 07:42:33 -0400 (EDT) Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset=us-ascii From: "Robert N. M. Watson" In-Reply-To: <4C95CCDA.7010007@freebsd.org> Date: Sun, 19 Sep 2010 12:42:31 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <4C93236B.4050906@freebsd.org> <4C935F56.4030903@freebsd.org> <4C95C804.1010701@freebsd.org> <4C95CCDA.7010007@freebsd.org> To: Andriy Gapon X-Mailer: Apple Mail (2.1081) Cc: Andre Oppermann , Jeff Roberson , Jeff Roberson , freebsd-hackers@freebsd.org Subject: Re: zfs + uma X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Sep 2010 11:42:35 -0000 On 19 Sep 2010, at 09:42, Andriy Gapon wrote: > on 19/09/2010 11:27 Jeff Roberson said the following: >> I don't like this because even with very large buffers you can still = have high >> enough turnover to require per-cpu caching. Kip specifically added = UMA support >> to address this issue in zfs. If you have allocations which don't = require >> per-cpu caching and are very large why even use UMA? >=20 > Good point. > Right now I am running with 4 items/bucket limit for items larger than = 32KB. If allocate turnover is low, I'd think that malloc(9) would do better = here. How many allocs/frees per second are there in peak operation? Robert=