* Periodic sync?
@ 2009-06-16 1:16 Chris Worley
2009-06-16 5:52 ` Gurudas Pai
0 siblings, 1 reply; 2+ messages in thread
From: Chris Worley @ 2009-06-16 1:16 UTC (permalink / raw)
To: fio
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?
Thanks,
Chris
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Periodic sync?
2009-06-16 1:16 Periodic sync? Chris Worley
@ 2009-06-16 5:52 ` Gurudas Pai
0 siblings, 0 replies; 2+ messages in thread
From: Gurudas Pai @ 2009-06-16 5:52 UTC (permalink / raw)
To: Chris Worley; +Cc: fio
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-06-16 6:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-16 1:16 Periodic sync? Chris Worley
2009-06-16 5:52 ` Gurudas Pai
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.