From: Clay Barnes <clay.barnes@gmail.com>
To: Hans Reiser <reiser@namesys.com>
Cc: Reiserfs mail-list <Reiserfs-List@namesys.com>,
LKML <linux-kernel@vger.kernel.org>,
Alexander Lyamin aka FLX <flx@namesys.com>
Subject: Re: short term task list for Reiser4
Date: Tue, 11 Jul 2006 16:55:53 -0700 [thread overview]
Message-ID: <20060711235553.GH9220@HAL_5000D.tc.ph.cox.net> (raw)
In-Reply-To: <44B43019.9010402@namesys.com>
On 16:11 Tue 11 Jul , Hans Reiser wrote:
> Clay Barnes wrote:
> >On 15:04 Tue 11 Jul , Hans Reiser wrote:
> >>6) optimize fsync --- substantive task which requires using fixed area
> >>for write twice logging, and using write twice logging for fsync'd
> >>data. It might require creating mount options to choose whether to
> >>optimize for serialized sequential fsyncs vs. lazy fsyncs.
> >With the serialized sequential fsync, is that essentially what I was
> >talking about earlier with slowly streaming dirty writes to disk when
> >the HDD is idle? If that's the case, I don't see the advantage in having
> >lazy fsyncs
> if you are optimizing throughput rather than latency, then you let
> things get to disk whenever they get there, and you let the app hang
> while it waits. A mailer processing many requests in parallel might find
> 30 seconds of latency to be just fine but a database might find 3
> seconds of latency to be too much. (I make up these examples, mailer
> programmers please correct me.)
I see your point, but here's where I'm still uncertain:
If you have a lazy write policy, what exactly is gained by intentionally
delaying writes (beyond a certain size that is necessary to make things
like dancing trees actually effecient)? If you trickle some data to
disk, then when memory pressure causes (or an app calls) a big sync,
then you have less to actually write. What I'm suggesting, now, is not
a major write policy change, but rather a light process that is limited
to extremely low resource use (I/O, CPU, etc.). It would take some of
the edge off of major syncs, and for many (most?) non-server users, it
could wholly eliminate memory pressure-induced heavy syncs.
--Clay
next prev parent reply other threads:[~2006-07-11 23:56 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-11 22:04 Hans Reiser
2006-07-11 22:29 ` Clay Barnes
2006-07-11 23:11 ` Hans Reiser
2006-07-11 23:55 ` Clay Barnes [this message]
2006-07-12 0:06 ` Hans Reiser
2006-07-13 19:17 ` Christoph Lameter
2006-07-13 19:53 ` Hans Reiser
2006-07-13 20:11 ` Christoph Lameter
2006-07-14 7:05 ` 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=20060711235553.GH9220@HAL_5000D.tc.ph.cox.net \
--to=clay.barnes@gmail.com \
--cc=Reiserfs-List@namesys.com \
--cc=flx@namesys.com \
--cc=linux-kernel@vger.kernel.org \
--cc=reiser@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®