Received: from localhost (unknown [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 084062E003D for ; Fri, 28 Mar 2008 07:06:08 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 71411-02 for ; Fri, 28 Mar 2008 07:05:55 -0300 (ADT) X-Greylist: delayed 00:05:09.50352 by SQLgrey-1.7.5 Received: from www.liukuma.net (www.liukuma.net [62.220.235.15]) by postgresql.org (Postfix) with ESMTP id 1A7AD2E0031 for ; Fri, 28 Mar 2008 07:06:01 -0300 (ADT) Received: from localhost (unknown [127.0.0.1]) by www.liukuma.net (Postfix) with ESMTP id DDF4A1CC39; Fri, 28 Mar 2008 11:55:57 +0200 (EET) Received: from www.liukuma.net ([127.0.0.1]) by localhost (www.liukuma.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 4TllAQaxVBHS; Fri, 28 Mar 2008 11:55:53 +0200 (EET) Received: from rivendell (c-a30471d5.019-61-68617010.cust.bredbandsbolaget.se [213.113.4.163]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) (Authenticated sender: ignatz@www.liukuma.net) by www.liukuma.net (Postfix) with ESMTP id B71C41CC74; Fri, 28 Mar 2008 11:55:46 +0200 (EET) Message-ID: <0262F63EF2164C598FBA1CD8980BE206@rivendell> From: "Reko Turja" To: "Laszlo Nagy" , Cc: "Tony Nagy" References: <47ECB4F6.1040901@shopzeus.com> Subject: Re: Planning a new server - help needed Date: Fri, 28 Mar 2008 12:00:41 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 12.0.1606 X-MimeOLE: Produced By Microsoft MimeOLE V12.0.1606 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200803/513 X-Sequence-Number: 29467 > Question 1. We are going to use PostgreSQL 3.1 with FreeBSD. The pg > docs say that it is better to use FreeBSD because it can alter the > I/O priority of processes dynamically. The latest legacy release is > 6.3 which is probably more stable. However, folks say that 7.0 has > superior performance on the same hardware. Can I use 7.0 on a > production server? FreeBSD 7.x is pretty stable, and it has the advantage of having the new ULE and other things that can't be MFC'd to 6.x branch. And as a long time FreeBSD enthusiast having Cisco sponsoring Dtrace, Nokia sponsoring scheduler development etc. 7.x is definitely in my opinion now the branch to install and start following for ease of upgrading later. Of course, as always check that your intended hardware is supported. ULE which is pretty much the key for performance boost in 7.x branch isn't yet the default scheduler, but will be in 7.1 and afterwards. This means you have to roll custom kernel if you want to use ULE. > Question 3. FreeBSD 7.0 can use the ZFS file system. I suspect that > UFS 2 + soft updates will be better, but I'm not sure. Which is > better? For now I'd choose between UFS+gjournal or plain UFS, although with bigger disks journaling is a boon compared to fsck'ing plain UFS partition. ZFS isn't yet ready for production I think, but it seems to be getting there. This is opinion based on bug reports and discussions in stable and current mailing lists, not on personal testing though. My experiences with gjournal have been positive so far. On the drives and controller - I'm not sure whether SCSI/SAS will give any noticeable boost over SATA, but based on personal experience SCSI is still ahead on terms of drive reliability. Whatever technology I'd choose, for production server getting decent battery backed controller would be the start. And of course a controller that does the RAID's in hardware. -Reko