All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ric Wheeler <ric@emc.com>
To: Hans Reiser <reiser@namesys.com>
Cc: mingz@ele.uri.edu, Grzegorz Kulewski <kangur@polcom.net>,
	"Vladimir V. Saveliev" <vs@namesys.com>,
	Sandeep Tyagi <sandeepktyagi@gmail.com>,
	okuyamak@dd.iij4u.or.jp, reiserfs <reiserfs-list@namesys.com>
Subject: Re: fs_mark benchmark - update
Date: Mon, 29 Aug 2005 17:15:42 -0400	[thread overview]
Message-ID: <43137AFE.1070706@emc.com> (raw)
In-Reply-To: <43137081.6070304@namesys.com>


Since you still are in the thinking stage, there are some neat tricks 
that you might be able to do in this space ;-)

One thing that I think might be very interesting is to export some of 
the transaction like semantics explicitely to applications to allow a 
type of bulk async fsync. For example, I am untarring a 10,000 file set 
into a directory - you want a hard promise that it is all on disk, but 
you really don't need that promise until the end of the application.  If 
the application could flag the start of this kind of batch and then wait 
or kick off a group fsync at the end, you could really boost your 
performance.

The benchmark has some kludgy support for testing this kind of sync 
performance through the "-S X" flag.  When X==0, you don't sync, when it 
is 1 you do the file at a time fsync, and then it does some other 
combinations that work well on reiserfs.  By simply delaying the fsync() 
stage into a separate iteration over the file set, you can approach the 
non-fsynced behavior ;-)

ric


Hans Reiser wrote:

>reiser4 will suck at fsync performance, I guarantee it.  fsync is
>completely unoptimized.  It works reliably, but it will be slow. 
>
>The suckage is all eminently fixable,  but not before vanilla inclusion
>is resolved will we address it.
>  
>

  reply	other threads:[~2005-08-29 21:15 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-25 12:01 fsync performance of reiser 4 Sandeep Tyagi
2005-08-25 13:23 ` Vladimir V. Saveliev
2005-08-29 12:32   ` Ric Wheeler
2005-08-29 12:37     ` Grzegorz Kulewski
2005-08-29 12:40       ` Ming Zhang
2005-08-29 13:25         ` Ric Wheeler
     [not found]         ` <43130DC1.20105@emc.com>
     [not found]           ` <1125322484.5544.23.camel@localhost.localdomain>
2005-08-29 13:46             ` fs_mark benchmark - update Ric Wheeler
2005-08-29 13:57               ` Ming Zhang
2005-08-29 14:07                 ` Ric Wheeler
2005-08-29 14:44                   ` Ming Zhang
2005-08-29 20:30                   ` Hans Reiser
2005-08-29 21:15                     ` Ric Wheeler [this message]
2005-08-29 21:29                       ` Hans Reiser

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=43137AFE.1070706@emc.com \
    --to=ric@emc.com \
    --cc=kangur@polcom.net \
    --cc=mingz@ele.uri.edu \
    --cc=okuyamak@dd.iij4u.or.jp \
    --cc=reiser@namesys.com \
    --cc=reiserfs-list@namesys.com \
    --cc=sandeepktyagi@gmail.com \
    --cc=vs@namesys.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.