* short term task list for Reiser4
@ 2006-07-11 22:04 Hans Reiser
2006-07-11 22:29 ` Clay Barnes
2006-07-13 19:17 ` Christoph Lameter
0 siblings, 2 replies; 9+ messages in thread
From: Hans Reiser @ 2006-07-11 22:04 UTC (permalink / raw)
To: Reiserfs mail-list; +Cc: LKML
Please feel free to comment on this list and the order of its tasks:
0) fix all bugs as they arise
1) get batch_write into the -mm kernel --- small task
2) get read optimization code into the -mm kernel (coded and probably
debugged but not fully tested and not sent in yet) --- small task
3) get EVERYTHING into wiki (migration has started already, thanks flx).
4) review complaints of pauses while using reiser4 --- size of task
unknown, and it is also unknown how much we may have fixed it while
writing recent patches.
5) review crypt-compress code --- full code review --- substantive task
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.
7) review all of our installation instructions --- I am already doing
that, but volunteers who will help out our wiki would be sorely
appreciated. Installing reiser4 as the root for each distro needs
step-by-step instructions.
8) review our kernel documentation --- I should do that but when will I
have time?
Unfortunately, our code stability is going to decrease for a bit due to
all these changes to the read and write code --- no way to cure that but
passage of time. On the other hand, our CPU usage went way down.
Reiser4's only performance weakness now is fsync.
Once the crypt-compress code is ready, we will release Reiser4.1-beta
(with plugins, releasing a beta means telling users that if they mount
-o reiser4.1-beta then cryptcompress will be their default plugin, and
if they don't, then they are using Reiser4.0 still). Doubling our
performance and halving our disk usage is going to be fun.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: short term task list for Reiser4
2006-07-11 22:04 short term task list for Reiser4 Hans Reiser
@ 2006-07-11 22:29 ` Clay Barnes
2006-07-11 23:11 ` Hans Reiser
2006-07-13 19:17 ` Christoph Lameter
1 sibling, 1 reply; 9+ messages in thread
From: Clay Barnes @ 2006-07-11 22:29 UTC (permalink / raw)
To: Hans Reiser; +Cc: Reiserfs mail-list, LKML
On 15:04 Tue 11 Jul , Hans Reiser wrote:
> Please feel free to comment on this list and the order of its tasks:
>
> 0) fix all bugs as they arise
>
> 1) get batch_write into the -mm kernel --- small task
>
> 2) get read optimization code into the -mm kernel (coded and probably
> debugged but not fully tested and not sent in yet) --- small task
>
> 3) get EVERYTHING into wiki (migration has started already, thanks flx).
>
> 4) review complaints of pauses while using reiser4 --- size of task
> unknown, and it is also unknown how much we may have fixed it while
> writing recent patches.
>
> 5) review crypt-compress code --- full code review --- substantive task
>
> 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 except in situations where you want to keep the HDD spun down
as much as possible. If you keep as much of the writes in RAM as you
would have if you used lazy fsyncs, then you get the same temporal
locality speed up, with the added advantages that you can clear the RAM
under memory pressure immediately and crashes result in lower likelyhood
of data loss than with lazy fsync. I suppose it isn't a bad idea to give
people more options (unless you're a GNOME UI developer :-P), but at the
very least I think that slow streaming to disk would be a very wise
default option.
My CS focus is Human Interfaces, so I may be way out of my league here
with FSs, but I thought I'd still throw in my two cents.
>
> 7) review all of our installation instructions --- I am already doing
> that, but volunteers who will help out our wiki would be sorely
> appreciated. Installing reiser4 as the root for each distro needs
> step-by-step instructions.
I've been meaning to hose my laptop (assuming I fix one problem with my
desktop), so I am willing to help write Gentoo install docs (or possibly
Arch Linux). I can also test exsiting instructions.
>
> 8) review our kernel documentation --- I should do that but when will I
> have time?
>
> Unfortunately, our code stability is going to decrease for a bit due to
> all these changes to the read and write code --- no way to cure that but
> passage of time. On the other hand, our CPU usage went way down.
> Reiser4's only performance weakness now is fsync.
>
> Once the crypt-compress code is ready, we will release Reiser4.1-beta
> (with plugins, releasing a beta means telling users that if they mount
> -o reiser4.1-beta then cryptcompress will be their default plugin, and
> if they don't, then they are using Reiser4.0 still). Doubling our
> performance and halving our disk usage is going to be fun.
--Clay
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: short term task list for Reiser4
2006-07-11 22:29 ` Clay Barnes
@ 2006-07-11 23:11 ` Hans Reiser
2006-07-11 23:55 ` Clay Barnes
0 siblings, 1 reply; 9+ messages in thread
From: Hans Reiser @ 2006-07-11 23:11 UTC (permalink / raw)
To: Clay Barnes; +Cc: Reiserfs mail-list, LKML, Alexander Lyamin aka FLX
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.)
> except in situations where you want to keep the HDD spun down
>as much as possible.
>
No, that is not when you do it.
>I've been meaning to hose my laptop (assuming I fix one problem with my
>desktop), so I am willing to help write Gentoo install docs (or possibly
>Arch Linux). I can also test exsiting instructions.
>
>
That would be way cool.
<http://wiki.namesys.com/Reiser4-GettingStarted#preview>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: short term task list for Reiser4
2006-07-11 23:11 ` Hans Reiser
@ 2006-07-11 23:55 ` Clay Barnes
2006-07-12 0:06 ` Hans Reiser
0 siblings, 1 reply; 9+ messages in thread
From: Clay Barnes @ 2006-07-11 23:55 UTC (permalink / raw)
To: Hans Reiser; +Cc: Reiserfs mail-list, LKML, Alexander Lyamin aka FLX
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
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: short term task list for Reiser4
2006-07-11 23:55 ` Clay Barnes
@ 2006-07-12 0:06 ` Hans Reiser
0 siblings, 0 replies; 9+ messages in thread
From: Hans Reiser @ 2006-07-12 0:06 UTC (permalink / raw)
To: Clay Barnes; +Cc: Reiserfs mail-list, LKML, Alexander Lyamin aka FLX
Reiser4 generally could use some knobs controlling things like whether
we trickle data slowly and continuously
>
>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
>
>
>
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: short term task list for Reiser4
2006-07-11 22:04 short term task list for Reiser4 Hans Reiser
2006-07-11 22:29 ` Clay Barnes
@ 2006-07-13 19:17 ` Christoph Lameter
2006-07-13 19:53 ` Hans Reiser
1 sibling, 1 reply; 9+ messages in thread
From: Christoph Lameter @ 2006-07-13 19:17 UTC (permalink / raw)
To: Hans Reiser; +Cc: Reiserfs mail-list, LKML
Will there be any NUMA /SMP fixes? Reiserfs performance is severely
impacted at higher processor counts by the mandatory centralized locking
in both read and write paths in the filesystem.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: short term task list for Reiser4
2006-07-13 19:17 ` Christoph Lameter
@ 2006-07-13 19:53 ` Hans Reiser
2006-07-13 20:11 ` Christoph Lameter
0 siblings, 1 reply; 9+ messages in thread
From: Hans Reiser @ 2006-07-13 19:53 UTC (permalink / raw)
To: Christoph Lameter; +Cc: Reiserfs mail-list, LKML
Christoph Lameter wrote:
>Will there be any NUMA /SMP fixes? Reiserfs performance is severely
>impacted at higher processor counts by the mandatory centralized locking
>in both read and write paths in the filesystem.
>
>
>
>
Reiserfs or Reiser4?
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: short term task list for Reiser4
2006-07-13 19:53 ` Hans Reiser
@ 2006-07-13 20:11 ` Christoph Lameter
2006-07-14 7:05 ` Hans Reiser
0 siblings, 1 reply; 9+ messages in thread
From: Christoph Lameter @ 2006-07-13 20:11 UTC (permalink / raw)
To: Hans Reiser; +Cc: Reiserfs mail-list, LKML
On Thu, 13 Jul 2006, Hans Reiser wrote:
> Christoph Lameter wrote:
>
> >Will there be any NUMA /SMP fixes? Reiserfs performance is severely
> >impacted at higher processor counts by the mandatory centralized locking
> >in both read and write paths in the filesystem.
> Reiserfs or Reiser4?
Either.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: short term task list for Reiser4
2006-07-13 20:11 ` Christoph Lameter
@ 2006-07-14 7:05 ` Hans Reiser
0 siblings, 0 replies; 9+ messages in thread
From: Hans Reiser @ 2006-07-14 7:05 UTC (permalink / raw)
To: Christoph Lameter; +Cc: Reiserfs mail-list, LKML
Christoph Lameter wrote:
>On Thu, 13 Jul 2006, Hans Reiser wrote:
>
>
>
>>Christoph Lameter wrote:
>>
>>
>>
>>>Will there be any NUMA /SMP fixes? Reiserfs performance is severely
>>>impacted at higher processor counts by the mandatory centralized locking
>>>in both read and write paths in the filesystem.
>>>
>>>
>>Reiserfs or Reiser4?
>>
>>
>
>Either.
>
>
>
>
>
What big locks are you running into in V4? Please tell me more.
Hans
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2006-07-14 7:05 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-11 22:04 short term task list for Reiser4 Hans Reiser
2006-07-11 22:29 ` Clay Barnes
2006-07-11 23:11 ` Hans Reiser
2006-07-11 23:55 ` Clay Barnes
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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox