Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 325451337B4F for ; Wed, 17 Nov 2010 12:13:07 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 13344-03 for ; Wed, 17 Nov 2010 16:12:59 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mail.postgresql.org (Postfix) with ESMTP id 730541337B58 for ; Wed, 17 Nov 2010 12:12:59 -0400 (AST) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PIkct-0000RD-5i for pgsql-performance@postgresql.org; Wed, 17 Nov 2010 17:12:51 +0100 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 17 Nov 2010 17:12:51 +0100 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 17 Nov 2010 17:12:51 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: pgsql-performance@postgresql.org From: Ivan Voras Subject: Re: How to achieve sustained disk performance of 1.25 GB write for 5 mins Date: Wed, 17 Nov 2010 17:12:44 +0100 Lines: 26 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.12) Gecko/20101102 Thunderbird/3.1.6 In-Reply-To: X-Enigmail-Version: 1.1.2 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201011/287 X-Sequence-Number: 41311 On 11/17/10 15:26, Eric Comeau wrote: > This is not directly a PostgreSQL performance question but I'm hoping > some of the chaps that build high IO PostgreSQL servers on here can help. > > We build file transfer acceleration s/w (and use PostgreSQL as our > database) but we need to build a test server that can handle a sustained > write throughput of 1,25 GB for 5 mins. Just to clarify: you need 1.25 GB/s write throughput? For one thing, you need not only fast storage but also a fast CPU and file system. If you are going to stream this data directly over the network in a single FTP-like session, you need fast single-core performance (so buy the fastest low-core-count CPU possible) and a file system which doesn't interfere much with raw data streaming. If you're using Linux I'd guess either something very simple like ext2 or complex but designed for the task like XFS might be best. On FreeBSD, ZFS is great for streaming but you'll spend a lot of time tuning it :) From the hardware POW, since you don't really need high IOPS rates, you can go much cheaper with a large number of cheap desktop drives than with SSD-s, if you can build something like this: http://blog.backblaze.com/2009/09/01/petabytes-on-a-budget-how-to-build-cheap-cloud-storage/ You don't need the storage space here, but you *do* need many drives to achieve speed in RAID (remember to overdesign and assume 50 MB/s per drive).