public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jeffrey Siegal <jbs@quiotix.com>
To: Andrew Morton <akpm@osdl.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Why is fsync so much slower than O_SYNC?
Date: Thu, 18 Mar 2004 08:36:02 -0800	[thread overview]
Message-ID: <4059CFF2.6060209@quiotix.com> (raw)
In-Reply-To: <20040318003335.6bf3eb41.akpm@osdl.org>

Some odd results on ext2 as well:

README: Make sure you have turned off hardware write caching (hdparm -W0 
/dev/hda for IDE)

O_SYNC:
Creating
Starting
iter = 1000, latency = 8.419908ms

O_DSYNC:
Creating
Starting
iter = 1000, latency = 8.369892ms

fsync:
Creating
Starting
iter = 1000, latency = 13.191030ms

fdatasync:
Creating
Starting
iter = 1000, latency = 8.829373ms


      parent reply	other threads:[~2004-03-18 16:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-17 16:40 Why is fsync so much slower than O_SYNC? Jeffrey Siegal
2004-03-18  8:33 ` Andrew Morton
2004-03-18 15:42   ` Jeffrey Siegal
2004-03-18 17:07     ` Andrew Morton
2004-03-18 16:36   ` Jeffrey Siegal [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4059CFF2.6060209@quiotix.com \
    --to=jbs@quiotix.com \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox