* write-intent bitmaps
@ 2008-01-27 10:34 Russell Coker
2008-01-27 11:21 ` Neil Brown
0 siblings, 1 reply; 6+ messages in thread
From: Russell Coker @ 2008-01-27 10:34 UTC (permalink / raw)
To: linux-raid; +Cc: pkg-mdadm-devel
http://lists.debian.org/debian-devel/2008/01/msg00921.html
Are they regarded as a stable feature? If so I'd like to see distributions
supporting them by default. I've started a discussion in Debian on this
topic, see the above URL for details.
--
russell@coker.com.au
http://etbe.coker.com.au/ My Blog
http://www.coker.com.au/sponsorship.html Sponsoring Free Software development
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: write-intent bitmaps
2008-01-27 10:34 write-intent bitmaps Russell Coker
@ 2008-01-27 11:21 ` Neil Brown
2008-01-27 15:12 ` Russell Coker
0 siblings, 1 reply; 6+ messages in thread
From: Neil Brown @ 2008-01-27 11:21 UTC (permalink / raw)
To: russell; +Cc: linux-raid, pkg-mdadm-devel
On Sunday January 27, russell@coker.com.au wrote:
> http://lists.debian.org/debian-devel/2008/01/msg00921.html
>
> Are they regarded as a stable feature? If so I'd like to see distributions
> supporting them by default. I've started a discussion in Debian on this
> topic, see the above URL for details.
Yes, it is regarded as stable.
However it can be expected to reduce write throughput. A reduction of
several percent would not be surprising, and depending in workload it
could probably be much higher.
It is quite easy to add or remove a bitmap on an active array, so
making it a default would probably be fine providing it was easy for
an admin to find out about it and remove the bitmap is they wanted the
extra performance.
NeilBrown
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: write-intent bitmaps
2008-01-27 11:21 ` Neil Brown
@ 2008-01-27 15:12 ` Russell Coker
[not found] ` <479E1BB3.2080702@tmr.com>
0 siblings, 1 reply; 6+ messages in thread
From: Russell Coker @ 2008-01-27 15:12 UTC (permalink / raw)
To: Neil Brown; +Cc: linux-raid, pkg-mdadm-devel
On Sunday 27 January 2008 22:21, Neil Brown <neilb@suse.de> wrote:
> On Sunday January 27, russell@coker.com.au wrote:
> > http://lists.debian.org/debian-devel/2008/01/msg00921.html
> >
> > Are they regarded as a stable feature? If so I'd like to see
> > distributions supporting them by default. I've started a discussion in
> > Debian on this topic, see the above URL for details.
>
> Yes, it is regarded as stable.
Thanks for that information.
> However it can be expected to reduce write throughput. A reduction of
> several percent would not be surprising, and depending in workload it
> could probably be much higher.
It seems to me that losing a few percent of performance all the time is better
than a dramatic performance loss for an hour or two when things go wrong.
> It is quite easy to add or remove a bitmap on an active array, so
> making it a default would probably be fine providing it was easy for
> an admin to find out about it and remove the bitmap is they wanted the
> extra performance.
I hadn't realised that. So having this in the installer is not as important
as I previously thought.
--
russell@coker.com.au
http://etbe.coker.com.au/ My Blog
http://www.coker.com.au/sponsorship.html Sponsoring Free Software development
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: write-intent bitmaps
[not found] ` <479E1BB3.2080702@tmr.com>
@ 2008-01-29 7:32 ` Russell Coker
2008-01-29 9:13 ` Peter Rabbitson
0 siblings, 1 reply; 6+ messages in thread
From: Russell Coker @ 2008-01-29 7:32 UTC (permalink / raw)
To: Bill Davidsen; +Cc: Neil Brown, linux-raid, pkg-mdadm-devel
On Tuesday 29 January 2008 05:15, Bill Davidsen <davidsen@tmr.com> wrote:
> You may have missed the "much higher" part of the previous paragraph.
> And given the reliability of modern drives, unless you have a LOT of
> them you may be looking at years of degraded performance to save a few
> hours of slow performance after a power fail or similar. In other words,
> it's not as black and white as it seems.
What is the pathological case? 1/2 or 1/3 write performance?
For serious write performance of a RAID you want a NVRAM write-back cache for
RAID-5 stripes, and the NVRAM cache removes the need for write-intent
bitmaps. AFAIK Linux software RAID doesn't support such things and that
putting filesystem journals and the write-intent bitmap blocks on NVRAM
devices is the best that you could achieve.
It seems that if you want the best performance for small synchronous writes
(EG a mail server - which may be the most pessimal application for
write-intent bitmaps) then hardware RAID is the only option.
Are there plans for supporting a NVRAM write-back cache with Linux software
RAID?
--
russell@coker.com.au
http://etbe.coker.com.au/ My Blog
http://www.coker.com.au/sponsorship.html Sponsoring Free Software development
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: write-intent bitmaps
2008-01-29 7:32 ` Russell Coker
@ 2008-01-29 9:13 ` Peter Rabbitson
2008-01-29 9:40 ` Russell Coker
0 siblings, 1 reply; 6+ messages in thread
From: Peter Rabbitson @ 2008-01-29 9:13 UTC (permalink / raw)
To: russell; +Cc: linux-raid, pkg-mdadm-devel
Russell Coker wrote:
> Are there plans for supporting a NVRAM write-back cache with Linux software
> RAID?
>
AFAIK even today you can place the bitmap in an external file residing on a
file system which in turn can reside on the nvram...
Peter
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: write-intent bitmaps
2008-01-29 9:13 ` Peter Rabbitson
@ 2008-01-29 9:40 ` Russell Coker
0 siblings, 0 replies; 6+ messages in thread
From: Russell Coker @ 2008-01-29 9:40 UTC (permalink / raw)
To: Peter Rabbitson; +Cc: linux-raid, pkg-mdadm-devel
On Tuesday 29 January 2008 20:13, Peter Rabbitson <rabbit+list@rabbit.us>
wrote:
> Russell Coker wrote:
> > Are there plans for supporting a NVRAM write-back cache with Linux
> > software RAID?
>
> AFAIK even today you can place the bitmap in an external file residing on a
> file system which in turn can reside on the nvram...
True, and you can also put the journal of a filesystem on a NVRAM device. But
that doesn't give the stripe aggregating benefits for RAID-5 or the general
write-back cache benefits for everything else.
--
russell@coker.com.au
http://etbe.coker.com.au/ My Blog
http://www.coker.com.au/sponsorship.html Sponsoring Free Software development
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2008-01-29 9:40 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-27 10:34 write-intent bitmaps Russell Coker
2008-01-27 11:21 ` Neil Brown
2008-01-27 15:12 ` Russell Coker
[not found] ` <479E1BB3.2080702@tmr.com>
2008-01-29 7:32 ` Russell Coker
2008-01-29 9:13 ` Peter Rabbitson
2008-01-29 9:40 ` Russell Coker
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).