X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 2E897D1B995; Fri, 26 Mar 2004 16:10:29 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 46171-08; Fri, 26 Mar 2004 12:10:32 -0400 (AST) Received: from mail.osdl.org (fw.osdl.org [65.172.181.6]) by svr1.postgresql.org (Postfix) with ESMTP id 4B380D1B973; Fri, 26 Mar 2004 12:10:25 -0400 (AST) Received: from osdl.org (markw@ibm-b.pdx.osdl.net [172.20.1.51]) by mail.osdl.org (8.11.6/8.11.6) with ESMTP id i2QG9l220991; Fri, 26 Mar 2004 08:09:48 -0800 Message-Id: <200403261609.i2QG9l220991@mail.osdl.org> Date: Fri, 26 Mar 2004 08:09:43 -0800 (PST) From: markw@osdl.org Subject: Re: [HACKERS] fsync method checking To: manfred@colorfullife.com Cc: tgl@sss.pgh.pa.us, josh@agliodbs.com, Q@ping.be, pgman@candle.pha.pa.us, markir@paradise.net.nz, pgsql-performance@postgresql.org, pgsql-hackers@postgresql.org In-Reply-To: <4063CCF1.2030307@colorfullife.com> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200403/378 X-Sequence-Number: 6234 On 26 Mar, Manfred Spraul wrote: > markw@osdl.org wrote: > >>Compare file sync methods with one 8k write: >> (o_dsync unavailable) >> open o_sync, write 6.270724 >> write, fdatasync 13.275225 >> write, fsync, 13.359847 >> >> > Odd. Which filesystem, which kernel? It seems fdatasync is broken and > syncs the inode, too. It's linux-2.6.5-rc1 with ext2 filesystems.