From: Sander <sander@humilis.net>
To: Erwin van Londen <erwin.vanlonden@hds.com>
Cc: linux-btrfs@vger.kernel.org
Subject: Re: btrfs for enterprise raid arrays
Date: Fri, 3 Apr 2009 09:32:28 +0200 [thread overview]
Message-ID: <20090403073228.GA22406@cumulus> (raw)
In-Reply-To: <B7F26A02AFF8EB44B8635EB1D34BAC2C0536C8BF@USSCCEVS102.corp.hds.com>
Dear Erwin,
Erwin van Londen wrote (ao):
> Another thing is that some arrays have the capability to
> "thin-provision" volumes. In the back-end on the physical layer the
> array configures, let say, a 1 TB volume and virtually provisions 5TB
> to the host. On writes it dynamically allocates more pages in the pool
> up to the 5TB point. Now if for some reason large holes occur on the
> volume, maybe a couple of ISO images that have been deleted, what
> normally happens is just some pointers in the inodes get deleted so
> from an array perspective there is still data on those locations and
> will never release those allocated blocks. New firmware/microcode
> versions are able to reclaim that space if it sees a certain number of
> consecutive zero's and will reclaim that space to the volume pool. Are
> there any thoughts on writing a low-priority tread that zeros out
> those "non-used" blocks?
SSD would also benefit from such a feature as it doesn't need to copy
deleted data when erasing blocks.
The storage could use the ATA/SCSI commands TRIM, UNMAP and DISCARD for
that?
I have one question on thin provisioning: if Windows XP performs defrag
on a 20GB 'virtual' size LUN with 2GB in actuall use, whil the volume
grow to 20GB on the storage and never shrink afterwards anymore, while
the client still has only 2GB in use?
This would make thin provisioning on virtual desktops less useful.
Do you have any numbers on the performance impact of thin provisioning?
I can imagine that thin provisioning causes on-storage defragmentation
of disk images, which would kill any OS optimisations like grouping often
read files.
With kind regards, Sander
--
Humilis IT Services and Solutions
http://www.humilis.net
next prev parent reply other threads:[~2009-04-03 7:32 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-03 4:34 btrfs for enterprise raid arrays Erwin van Londen
2009-04-03 7:32 ` Sander [this message]
2009-04-03 11:51 ` Ric Wheeler
2009-04-03 11:43 ` Ric Wheeler
2009-04-03 11:58 ` David Woodhouse
2009-04-03 12:02 ` Ric Wheeler
2009-04-03 13:27 ` Matthew Wilcox
2009-04-03 13:48 ` James Bottomley
2009-04-03 13:51 ` James Bottomley
2009-04-03 13:22 ` Chris Mason
2009-04-06 0:29 ` Erwin van Londen
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=20090403073228.GA22406@cumulus \
--to=sander@humilis.net \
--cc=erwin.vanlonden@hds.com \
--cc=linux-btrfs@vger.kernel.org \
/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.