From: Gurudas Pai <gurudas.pai@oracle.com>
To: Chris Worley <worleys@gmail.com>
Cc: fio@vger.kernel.org
Subject: Re: Periodic sync?
Date: Tue, 16 Jun 2009 11:22:07 +0530 [thread overview]
Message-ID: <4A373307.4040009@oracle.com> (raw)
In-Reply-To: <f3177b9e0906151816q3eaeac73i79047866d4d487a2@mail.gmail.com>
Hello Chris,
> Is there any way to tell fio to insert a periodically sync... not sync
> every I/O, but every N I/O's, or maybe on some period?
fsync=int If writing to a file, issue a sync of the dirty data
for every number of blocks given. For example, if you give
32 as a parameter, fio will sync the file for every 32
writes issued. If fio is using non-buffered io, we may
not sync the file. The exception is the sg io engine, which
synchronizes the disk cache anyway.
This should help you.
Thanks,
-Guru
prev parent reply other threads:[~2009-06-16 6:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-16 1:16 Periodic sync? Chris Worley
2009-06-16 5:52 ` Gurudas Pai [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=4A373307.4040009@oracle.com \
--to=gurudas.pai@oracle.com \
--cc=fio@vger.kernel.org \
--cc=worleys@gmail.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.