Received: from maia.hub.org (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 27777632CCD for ; Fri, 2 Apr 2010 16:53:22 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 87490-09 for ; Fri, 2 Apr 2010 19:53:07 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from adonis.tweakers.net (adonis.tweakers.net [213.239.154.11]) by mail.postgresql.org (Postfix) with ESMTP id 7CC1363260F for ; Fri, 2 Apr 2010 16:53:11 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by adonis.tweakers.net (Postfix) with ESMTP id 751E65DC098 for ; Fri, 2 Apr 2010 21:53:09 +0200 (CEST) Received: from adonis.tweakers.net ([127.0.0.1]) by localhost (adonis.tweakers.net [127.0.0.1]) (amavisd-maia, port 10024) with ESMTP id 12835-05 for ; Fri, 2 Apr 2010 21:53:09 +0200 (CEST) Received: from [192.168.1.33] (82-169-23-111.ip.telfort.nl [82.169.23.111]) by adonis.tweakers.net (Postfix) with ESMTPSA id 3F4895DC036 for ; Fri, 2 Apr 2010 21:53:09 +0200 (CEST) Message-ID: <4BB64B24.2030001@tweakers.net> Date: Fri, 02 Apr 2010 21:53:08 +0200 From: Arjen van der Meijden User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.9) Gecko/20100317 Lightning/1.0b1 Thunderbird/3.0.4 MIME-Version: 1.0 To: pgsql-performance@postgresql.org Subject: Re: Using high speed swap to improve performance? References: In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.392 tagged_above=-10 required=5 tests=AWL=-1.207, BAYES_40=-0.185 X-Spam-Level: X-Archive-Number: 201004/19 X-Sequence-Number: 38269 What about FreeBSD with ZFS? I have no idea which features they support and which not, but it at least is a bit more free than Solaris and still offers that very nice file system. Best regards, Arjen On 2-4-2010 21:15 Christiaan Willemsen wrote: > Hi there, > > About a year ago we setup a machine with sixteen 15k disk spindles on > Solaris using ZFS. Now that Oracle has taken Sun, and is closing up > Solaris, we want to move away (we are more familiar with Linux anyway). > > So the plan is to move to Linux and put the data on a SAN using iSCSI > (two or four network interfaces). This however leaves us with with 16 > very nice disks dooing nothing. Sound like a wast of time. If we were to > use Solaris, ZFS would have a solution: use it as L2ARC. But there is no > Linux filesystem with those features (ZFS on fuse it not really an option). > > So I was thinking: Why not make a big fat array using 14 disks (raid 1, > 10 or 5), and make this a big and fast swap disk. Latency will be lower > than the SAN can provide, and throughput will also be better, and it > will relief the SAN from a lot of read iops. > > So I could create a 1TB swap disk, and put it onto the OS next to the > 64GB of memory. Then I can set Postgres to use more than the RAM size so > it will start swapping. It would appear to postgres that the complete > database will fit into memory. The question is: will this do any good? > And if so: what will happen? > > Kind regards, > > Christiaan >