X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 83A04329CB7 for ; Sat, 18 Sep 2004 02:22:49 +0100 (BST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 74506-06 for ; Sat, 18 Sep 2004 01:22:42 +0000 (GMT) Received: from mail0.rawbw.com (mail0.rawbw.com [198.144.192.41]) by svr1.postgresql.org (Postfix) with ESMTP id 9CA85329C63 for ; Sat, 18 Sep 2004 02:22:44 +0100 (BST) Received: (from www@localhost) by mail0.rawbw.com (8.11.6p2/8.11.6) id i8I1Mht01537 for pgsql-performance@postgresql.org; Fri, 17 Sep 2004 18:22:43 -0700 (PDT) Received: from cybs-gw.ic3.com (cybs-gw.ic3.com [66.185.177.10]) by webmail.rawbw.com (IMP) with HTTP for ; Fri, 17 Sep 2004 18:22:43 -0700 Message-ID: <1095470563.414b8de381c99@webmail.rawbw.com> Date: Fri, 17 Sep 2004 18:22:43 -0700 From: mudfoot@rawbw.com To: pgsql-performance@postgresql.org Subject: Re: Tryint to match Solaris-Oracle performance with directio? References: <414B7661.7000108@bigfoot.com> In-Reply-To: <414B7661.7000108@bigfoot.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.1 X-Originating-IP: 66.185.177.10 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.3 tagged_above=0.0 required=5.0 tests=NO_REAL_NAME X-Spam-Level: X-Archive-Number: 200409/190 X-Sequence-Number: 8318 I fully agree with Gaetano about testing sync methods. From testing I've done on two different Solaris 8 boxes, the O_DSYNC option on Solaris 8 beats fsync and fdatasync easily. Test it yourself though. There's probably some opportuntiy there for better performance for you. > > BTW this is Postgres 7.4.1, and our customers are Solaris 8 and 9. > > If you care your data upgrade to more recent 7.4.5 > > Test your better sync method using /src/tools/fsync however do some > experiment changing the sync method, you can also avoid to update the > acces time for the inodes mounting the partition with noatime option > ( this however have more impact on performance for read activities ) > > > Regards > Gaetano Mendola > > > > ---------------------------(end of broadcast)--------------------------- > TIP 2: you can get off all lists at once with the unregister command > (send "unregister YourEmailAddressHere" to majordomo@postgresql.org) >