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 4F627D1E0D8; Fri, 26 Mar 2004 06:27:03 +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 46232-10; Fri, 26 Mar 2004 02:26:40 -0400 (AST) Received: from dbl.q-ag.de (dbl.q-ag.de [213.172.117.3]) by svr1.postgresql.org (Postfix) with ESMTP id 77082D1D2AC; Fri, 26 Mar 2004 02:26:37 -0400 (AST) Received: from colorfullife.com (dbl [127.0.0.1]) by dbl.q-ag.de (8.12.3/8.12.3/Debian-6.6) with ESMTP id i2Q6Prro018891; Fri, 26 Mar 2004 07:25:54 +0100 Message-ID: <4063CCF1.2030307@colorfullife.com> Date: Fri, 26 Mar 2004 07:25:53 +0100 From: Manfred Spraul User-Agent: Mozilla/5.0 (X11; U; Linux i686; fr-FR; rv:1.4.1) Gecko/20031114 X-Accept-Language: en-us, en MIME-Version: 1.0 To: markw@osdl.org 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 Subject: Re: [HACKERS] fsync method checking References: <200403252147.i2PLkx209812@mail.osdl.org> In-Reply-To: <200403252147.i2PLkx209812@mail.osdl.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200403/382 X-Sequence-Number: 6238 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. -- Manfred