From owner-freebsd-current@FreeBSD.ORG Mon May 21 02:06:23 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 52FB316A400 for ; Mon, 21 May 2007 02:06:23 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 4415813C45A for ; Mon, 21 May 2007 02:06:23 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id A193E1A3C19; Sun, 20 May 2007 19:07:20 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 6DC9251453; Sun, 20 May 2007 22:06:22 -0400 (EDT) Date: Sun, 20 May 2007 22:06:22 -0400 From: Kris Kennaway To: Walter Vaughan Message-ID: <20070521020622.GB46734@xor.obsecurity.org> References: <4650E899.2070001@steelerubber.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4650E899.2070001@steelerubber.com> User-Agent: Mutt/1.4.2.2i Cc: freebsd-current@freebsd.org Subject: Re: 8 cores of fun 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: Mon, 21 May 2007 02:06:23 -0000 On Sun, May 20, 2007 at 08:32:25PM -0400, Walter Vaughan wrote: > I've got a few days to experiment with an 8 core box, and someone pointed > this page out to me http://people.freebsd.org/~kris/scaling/mysql.html > before I purchased the box. > > Looking at the patch http://people.freebsd.org/~jeff/tophalf.diff it > doesn't appear to be patchable with 7-CURRENT. A more scalable alternative was committed a while ago. > What I am interested in is Hi-speed Java (really wanted to work with Java6) > and Postgresql-8.2. > > Does anyone have any pointers for optimizing Posgresql & Java on AMD-64 > with 8 cores? I have not used java, but would be very interested to see how it goes. The most important thing to do with pgsql is disable the process title updating (there is a config option in 8.2). Also use ULE with sched.kern.pick_pri=0. Comparisons against other OSes on a suitably interesting benchmark are most useful to us, otherwise if you have a particular workload and performance expectation we can try to work with that. Kris