X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id B07959DCC0E for ; Fri, 17 Mar 2006 20:00:38 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 27146-09 for ; Fri, 17 Mar 2006 20:00:41 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from linda-4.paradise.net.nz (bm-4a.paradise.net.nz [203.96.152.183]) by postgresql.org (Postfix) with ESMTP id 947DE9DCC6C for ; Fri, 17 Mar 2006 20:00:36 -0400 (AST) Received: from smtp-3.paradise.net.nz (tclsnelb1-src-1.paradise.net.nz [203.96.152.172]) by linda-4.paradise.net.nz (Paradise.net.nz) with ESMTP id <0IWA00K5PQP3NK@linda-4.paradise.net.nz> for pgsql-performance@postgresql.org; Sat, 18 Mar 2006 13:00:39 +1300 (NZDT) Received: from [192.168.1.11] (218-101-28-28.dsl.clear.net.nz [218.101.28.28]) by smtp-3.paradise.net.nz (Postfix) with ESMTP id 6CBFBA1416; Sat, 18 Mar 2006 13:00:38 +1300 (NZDT) Date: Sat, 18 Mar 2006 13:00:37 +1300 From: Mark Kirkwood Subject: Re: Best OS & Configuration for Dual Xeon w/4GB & In-reply-to: <1142636433.1141.33.camel@state.g2switchworks.com> To: Scott Marlowe Cc: Kenji Morishige , pgsql-performance@postgresql.org Message-id: <441B4DA5.1020002@paradise.net.nz> MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=ISO-8859-1 Content-transfer-encoding: 7bit X-Accept-Language: en-us, en User-Agent: Mozilla Thunderbird 1.0.6 (X11/20051106) References: <20060317221116.GA14661@juniper.net> <1142636433.1141.33.camel@state.g2switchworks.com> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.176 required=5 tests=[AWL=0.176] X-Spam-Score: 0.176 X-Spam-Level: X-Archive-Number: 200603/298 X-Sequence-Number: 17735 Scott Marlowe wrote: > On Fri, 2006-03-17 at 16:11, Kenji Morishige wrote: > >>About a year ago we decided to migrate our central database that powers various >>intranet tools from MySQL to PostgreSQL. We have about 130 tables and about >>10GB of data that stores various status information for a variety of services >>for our intranet. We generally have somewhere between 150-200 connections to >>the database at any given time and probably anywhere between 5-10 new >>connections being made every second and about 100 queries per second. Most >>of the queries and transactions are very small due to the fact that the tools >>were designed to work around the small functionality of MySQL 3.23 DB. >>Our company primarily uses FreeBSD and we are stuck on FreeBSD 4.X series due >>to IT support issues, > > > There were a LOT of performance enhancements to FreeBSD with the 5.x > series release. I'd recommend fast tracking the database server to the > 5.x branch. 4-stable was release 6 years ago. 5-stable was released > two years ago. > > I would recommend skipping 5.x and using 6.0 - as it performs measurably better than 5.x. In particular the vfs layer is no longer under the GIANT lock, so you will get considerably improved concurrent filesystem access on your dual Xeon. Regards Mark