X-Original-To: pgsql-hackers-win32-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 7B07432C0D3 for ; Fri, 15 Oct 2004 18:55:19 +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 09572-05 for ; Fri, 15 Oct 2004 17:55:13 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 430A232C037 for ; Fri, 15 Oct 2004 18:55:13 +0100 (BST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id i9FHtCE1011491; Fri, 15 Oct 2004 13:55:12 -0400 (EDT) To: "Merlin Moncure" Cc: "MikeSmialek2@Hotmail.com" , pgsql-hackers-win32@postgresql.org, pgsql-performance@postgresql.org, "Magnus Hagander" Subject: Re: [PERFORM] Performance on Win32 vs Cygwin In-reply-to: <6EE64EF3AB31D5448D0007DD34EEB3412A7506@Herge.rcsinc.local> References: <6EE64EF3AB31D5448D0007DD34EEB3412A7506@Herge.rcsinc.local> Comments: In-reply-to "Merlin Moncure" message dated "Fri, 15 Oct 2004 12:22:40 -0400" Date: Fri, 15 Oct 2004 13:55:11 -0400 Message-ID: <11490.1097862911@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200410/73 X-Sequence-Number: 2363 "Merlin Moncure" writes: > I'm pretty certain that previous to 8.0 no win32 based postgesql > properly sync()ed the files. Win32 does not have sync(), and it is > impossible to emulate it without relying on the application to track > which files to sync. 8.0 does this because it fsync()s the files > individually. Therefore, benchmarking fsync=on on 8.0 to a <8.0 version > of windows is not apples to apples. This includes, by the way, the SFU > based port of postgresql because they didn't implement sync() there, > either. This is all true, but for performance testing I am not sure that you'd notice much difference, because the sync or lack of it only happens within checkpoints. regards, tom lane