Difference between "static volumes" and "thick volumes"
-
- Starting out
- Posts: 38
- Joined: Wed Dec 10, 2014 4:21 am
Difference between "static volumes" and "thick volumes"
Hi.
Does anybody know what the difference between static volumes and thick volumes is?
It looks like both use LVMs. Static volumes are described as having the "best performance",
while thick volumes (on a storage pool) have "good performance".
I would like to understand what are the pros and cons of both options, but I haven't found anything helpful.
There is one topic that discusses something similar: http://forum.qnap.com/viewtopic.php?f=25&t=101473
with comments saying that storage pools are an improvement and people should want them.
But I would really like to know *why*...
I tried setting up both, and both give me options to add RAID groups (either to the storage pool or to the volume),
or expand existing RAIDs with additional disks (unless, sadly, for RAID 10 is used).
One difference that I noticed is that when I create a storage pool and thick volume, I perform operations
from "storage pool" screen, while when I create a thick volume, I have to use "volumes" screen - but it looks
like both offer similar functions.
Another difference is that since I don't have a storage pool, I cannot create additional volumes.
And that difference is not relevant if I only want to have a single volume.
Also, I don't see how that would affect performance (in both cases LVM is used)...
And, before someone starts talking about thin provisioning,
I am trying to determine differences between "thick" volumes and "static" volumes.
Does anybody know what the difference between static volumes and thick volumes is?
It looks like both use LVMs. Static volumes are described as having the "best performance",
while thick volumes (on a storage pool) have "good performance".
I would like to understand what are the pros and cons of both options, but I haven't found anything helpful.
There is one topic that discusses something similar: http://forum.qnap.com/viewtopic.php?f=25&t=101473
with comments saying that storage pools are an improvement and people should want them.
But I would really like to know *why*...
I tried setting up both, and both give me options to add RAID groups (either to the storage pool or to the volume),
or expand existing RAIDs with additional disks (unless, sadly, for RAID 10 is used).
One difference that I noticed is that when I create a storage pool and thick volume, I perform operations
from "storage pool" screen, while when I create a thick volume, I have to use "volumes" screen - but it looks
like both offer similar functions.
Another difference is that since I don't have a storage pool, I cannot create additional volumes.
And that difference is not relevant if I only want to have a single volume.
Also, I don't see how that would affect performance (in both cases LVM is used)...
And, before someone starts talking about thin provisioning,
I am trying to determine differences between "thick" volumes and "static" volumes.
-
- Know my way around
- Posts: 249
- Joined: Thu Jul 10, 2008 6:17 pm
Re: Difference between "static volumes" and "thick volumes"
Have a read of this thread: Do home users have a use/need for Storage Pools?
Even though I ended up using a Storage Pool - I can't actually see any benefit over a static volume if you're creating a single volume.
Even though I ended up using a Storage Pool - I can't actually see any benefit over a static volume if you're creating a single volume.
TS-853 Pro; TS-859 Pro; TS-409
-
- Starting out
- Posts: 38
- Joined: Wed Dec 10, 2014 4:21 am
Re: Difference between "static volumes" and "thick volumes"
Yes, I've read it. That's the one I mentioned (and linked) in my post.
However, there is no actual explanation what the differences or trade-offs are...
However, there is no actual explanation what the differences or trade-offs are...
-
- Know my way around
- Posts: 249
- Joined: Thu Jul 10, 2008 6:17 pm
Re: Difference between "static volumes" and "thick volumes"
Doh! I completed missed your link.sjakub wrote:Yes, I've read it. That's the one I mentioned (and linked) in my post.
However, there is no actual explanation what the differences or trade-offs are...
No one, at least on this forum, seems to be able to explain the differences properly.
I'd previously asked basically the same question here, and got no reliable answer.
I did find this article which explains storage pools - but it still doesn't really help in making a decision on which to use.
TS-853 Pro; TS-859 Pro; TS-409
- schumaku
- Guru
- Posts: 43578
- Joined: Mon Jan 21, 2008 4:41 pm
- Location: Kloten (Zurich), Switzerland -- Skype: schumaku
- Contact:
Re: Difference between "static volumes" and "thick volumes"
QNAP originally introduced the "Static Volume" with the initial launch of the TS-x51/TS-x53/TS-x53S series - in the aim to offer a plain simple volume management, similar to what we have on the NAS with the "legacy" volume manager. Since 4.1.2, this "Static Volume" option became available on all newer NAS models with the new storage manager.
The Volume Creation Wizard says:
All differences are explained here. What is unclear please?
Because it's a new selection option - for certain NAS models (see above) it was - for some NAS models (ie. TS-x31 Plus) it still is the only choice.AdrianW wrote:No one, at least on this forum, seems to be able to explain the differences properly.
The Volume Creation Wizard says:
All differences are explained here. What is unclear please?
You do not have the required permissions to view the files attached to this post.
-
- Know my way around
- Posts: 249
- Joined: Thu Jul 10, 2008 6:17 pm
Re: Difference between "static volumes" and "thick volumes"
I would expect most home users would be creating a single volume comprised of all of their installed disks.schumaku wrote:All differences are explained here. What is unclear please?
What is not clear is why I should choose a storage pool with a single thick volume over a static volume. That screen shot says a Static Volume has the best performance - so it would seem that if all you want is a single volume using all your disks you should choose Static Volume.
Thick volume apparently gives you flexibility - but with a single volume I can't see what flexibility it is providing.
Patrick keeps saying in various threads that storage pools are an improvement and that you should "want them". But why? What is the actual benefit? (to someone who only wants a single volume).
And thin volume seems to make no sense at all - but that's another story. (I can't see the point in pretending you have more space than you actually do).
TS-853 Pro; TS-859 Pro; TS-409
- schumaku
- Guru
- Posts: 43578
- Joined: Mon Jan 21, 2008 4:41 pm
- Location: Kloten (Zurich), Switzerland -- Skype: schumaku
- Contact:
Re: Difference between "static volumes" and "thick volumes"
Probably yes, probably no. But that's why the Static Volume feature was made available, indeed.AdrianW wrote:I would expect most home users would be creating a single volume comprised of all of their installed disks.
Because they start with a smaller number of HDD today, say two 4 TB (because of costs), and plans to buy the next pair when the larger capacity HDD (say two 6 TB) when the prices are in the "linear" range, and you want to bring these two RAID1 into the same volume in a Storage Pool for example.AdrianW wrote:What is not clear is why I should choose a storage pool with a single thick volume over a static volume
Not convinced we are all talking of the same here.AdrianW wrote:Patrick keeps saying in various threads that storage pools are an improvement and that you should "want them". But why? What is the actual benefit? (to someone who only wants a single volume)
The point it that we both don't suggest to migrate legacy volumes to new NAS models supporting the new storage manager! This translated to using the fully fledged storage manager on most "SMB" NAS.
What is named Static Volumes was (implicitly) the default on the TS-x51/x53 at market launch with 4.1.1, and it's the only one for newer entry level system like the TS-x31 Plus - no other NAS model with the Flexible Storage Manager had this feature available.
Things have somewhat changed with 4.1.2 - all NAS with the Flexible Storage Manager have got the Static Volume option. As per the release notes, TS-x51/x53 got the option to combine multiple Static Volumes into a Storage Pool.
Even with a large playground of test NAS, it's hard to keep all these changed features under tested - time and resources is simply limited.
-
- Know my way around
- Posts: 249
- Joined: Thu Jul 10, 2008 6:17 pm
Re: Difference between "static volumes" and "thick volumes"
But you can do that with a static volume as well (can't you?). Say, if you started out with 3 drives in RAID 5 and then added a 4th to the array.schumaku wrote:Because they start with a smaller number of HDD today, say two 4 TB (because of costs), and plans to buy the next pair when the larger capacity HDD (say two 6 TB) when the prices are in the "linear" range, and you want to bring these two RAID1 into the same volume in a Storage Pool for example.
TS-853 Pro; TS-859 Pro; TS-409
- schumaku
- Guru
- Posts: 43578
- Joined: Mon Jan 21, 2008 4:41 pm
- Location: Kloten (Zurich), Switzerland -- Skype: schumaku
- Contact:
Re: Difference between "static volumes" and "thick volumes"
Of course - but you can't get an advantage if adding _bigger_ drives to the ones installed. If adding a 6 TB HDD to the 3 * 4 TB RAID5 you win 4 TB - or loose 2 TB.AdrianW wrote:Say, if you started out with 3 drives in RAID 5 and then added a 4th to the array.
Say you have a six bay, you can run 3*4TB RAID5 and add 3*6TB RAID5 to the same storage pool - the same volume.
While talking on this example, please note you can't add a non-redundant single HDD, RAID0, ... volume to a storage pool containing a redundant storage.
I can't see any major drawback of using the flexible storage manager - if really required with a thick allocated volume.
The thing with the thin allocated volumes is that things must be dynamically extended if adding data - when data is removed, the space will be freed up again (nightly job) - this does create some performance overhead.
edit: typo
Last edited by schumaku on Sat Jan 24, 2015 3:33 am, edited 1 time in total.
-
- Starting out
- Posts: 38
- Joined: Wed Dec 10, 2014 4:21 am
Re: Difference between "static volumes" and "thick volumes"
I played a bit with it, and even when I create a static volume there is an option to extend underlying RAID
group by adding new drives to it, as well as to add a completely new RAID group
(which should allow to take advantage of different disk sizes...).
The only difference that I can see is that if I create a static volume,
I cannot add more volumes to the same RAID group/groups (essentially "internal" storage pool).
But in both cases it looks like LVM is used.
So where would the performance difference ("best performance" vs "good performance") come from?
group by adding new drives to it, as well as to add a completely new RAID group
(which should allow to take advantage of different disk sizes...).
The only difference that I can see is that if I create a static volume,
I cannot add more volumes to the same RAID group/groups (essentially "internal" storage pool).
But in both cases it looks like LVM is used.
So where would the performance difference ("best performance" vs "good performance") come from?
- schumaku
- Guru
- Posts: 43578
- Joined: Mon Jan 21, 2008 4:41 pm
- Location: Kloten (Zurich), Switzerland -- Skype: schumaku
- Contact:
Re: Difference between "static volumes" and "thick volumes"
When we go the the bigger picture, all newer NAS models are based on the same Storage Manager, able to replace the "legacy" storage manager we're used to since QNAP v2 and v3.
The Storage Pool feature is not available on feature sets - this does permit permitting to combine multiple RAID groups into a single volume.
At product launch, the TS-x51/x53 models only have got Static Volumes, and no Storage Pool. The 4.1.2 build 1229 release notes say - "Adds support for multiple RAIDs in a storage pool (For TS-x51/x53 models only.)" ... so that's why it's possible on your NAS model now.
Yes, this is a basic functionality for all new Storage Manager feature sets.sjakub wrote: when I create a static volume there is an option to extend underlying RAID group by adding new drives to it
Yes, another basic functionality for all new Storage Manager feature sets.sjakub wrote:as well as to add a completely new RAID group
Correct - the standard RAID1/5/6/10 limitations apply per RAID group.sjakub wrote:(which should allow to take advantage of different disk sizes...).
The Storage Pool feature is not available on feature sets - this does permit permitting to combine multiple RAID groups into a single volume.
At product launch, the TS-x51/x53 models only have got Static Volumes, and no Storage Pool. The 4.1.2 build 1229 release notes say - "Adds support for multiple RAIDs in a storage pool (For TS-x51/x53 models only.)" ... so that's why it's possible on your NAS model now.
Hm, some more - essentially correct for the pure storage.sjakub wrote:The only difference that I can see is that if I create a static volume, I cannot add more volumes to the same RAID group/groups (essentially "internal" storage pool).
This why I wondered why QNAP has chosen this approach - and Static Volumes can't be changed to Thick Volumes.sjakub wrote:But in both cases it looks like LVM is used.
I don't have comparisons at hand - can't be much of a difference. Probably made to keep typical consumers away from the complex stuff.sjakub wrote:So where would the performance difference ("best performance" vs "good performance") come from?
-
- New here
- Posts: 6
- Joined: Wed Jan 21, 2015 4:19 pm
Re: Difference between "static volumes" and "thick volumes"
i have no idea about this.
-
- Starting out
- Posts: 38
- Joined: Wed Dec 10, 2014 4:21 am
Re: Difference between "static volumes" and "thick volumes"
If anybody else is interested in this, I did some tests.
First of all, it looks like "static volumes" use "traditional" LVM.
Logical volume on a volume group of physical volumes.
The limitation (I think it's just QNAP's, not LVM's)
is that there is only one volume per group of disks.
When storage pools are used, LVM is configured differently,
in a way that allows thin or thick volumes to be created.
This makes it possible to have several different volumes
on a single RAID group.
However, it looks like using pools has performance implications.
I run some simple tests - reading and writing (several times)
20 gigabytes of data using either small (1KB) blocks,
or large (1GB) blocks.
I did this with no other load on the system and using different
volume configurations.
For a single disk volume (which should represent a "base"
performance of a single disk) I was achieving 128 MB/s writing
and 160 MB/s reading speed with small blocks,
and 153/160 MB/s with large blocks.
All other tests were performed using different RAID groups with either
static volumes or thick volumes on a storage pool - all with 4 disks.
The tests were performed after the file system finished "optimizing"
and once the array synchronization was finished.
The next configuration was RAID 10 and static volume.
I was getting 131/323 MB/s with small blocks, and 247/323 MB/s with large blocks.
RAID 10 with a storage pool gave me following numbers:
123/344 MB/s (small blocks) and 174/345 MB/s (large blocks).
RAID 6 and a static volume: 126/76 and 168/73
RAID 6 and a storage pool: 123/75 and 160/72
RAID 0 and a static volume: 134/530 and 295/569
And, finally, RAID 0 and a storage pool: 131/311 and 272/298
Also, both RAID 10 and RAID 6 took significantly longer to synchronize after creating
thick volumes - about 26-27 hours with storage pools compared to 13-16 hours in "static volume" configuration.
So it looks like in almost all cases storage pools made things slower.
I'm not sure, however, why RAID10 read speeds were slightly higher.
I run everything again to check those cases, but results were consistent.
In all the other cases storage pools, for some reason, make both writing and reading consistently
(and sometimes, depending on the RAID, significantly) slower.
Also, RAID6 was significantly slower to read data - it was getting half of the read speeds of a single drive!
I am not claiming those are professional tests, and they most likely could be done better.
I was simply curious to see what I could expect from different volume configurations.
Also, I experimented with volume expansion. And it looks like static volumes can be extended in
a similar way to storage pools - by adding additional disks to the RAID group
(sadly, this doesn't work with RAID10). But they also allow to be extended by adding new RAID groups
to the same volume - of the same or different RAID level. I was actually able to create
a static volume on a two disk RAID 0 array, and later extend it with a new 2 disk RAID 1 array.
Not that configuration like that makes much sense... But it worked!
Given the results, the fact that I only need a single volume per RAID group
and that I don't need snapshots or thin volumes, I am going to stay away
from storage pools (and RAID 6 as well).
In addition to better performance, static volumes use simpler underlying LVM configuration.
I don't know much about LVM pools and I am not claiming that there is anything
wrong with them, but I like to keep things as simple as possible.
First of all, it looks like "static volumes" use "traditional" LVM.
Logical volume on a volume group of physical volumes.
The limitation (I think it's just QNAP's, not LVM's)
is that there is only one volume per group of disks.
When storage pools are used, LVM is configured differently,
in a way that allows thin or thick volumes to be created.
This makes it possible to have several different volumes
on a single RAID group.
However, it looks like using pools has performance implications.
I run some simple tests - reading and writing (several times)
20 gigabytes of data using either small (1KB) blocks,
or large (1GB) blocks.
I did this with no other load on the system and using different
volume configurations.
For a single disk volume (which should represent a "base"
performance of a single disk) I was achieving 128 MB/s writing
and 160 MB/s reading speed with small blocks,
and 153/160 MB/s with large blocks.
All other tests were performed using different RAID groups with either
static volumes or thick volumes on a storage pool - all with 4 disks.
The tests were performed after the file system finished "optimizing"
and once the array synchronization was finished.
The next configuration was RAID 10 and static volume.
I was getting 131/323 MB/s with small blocks, and 247/323 MB/s with large blocks.
RAID 10 with a storage pool gave me following numbers:
123/344 MB/s (small blocks) and 174/345 MB/s (large blocks).
RAID 6 and a static volume: 126/76 and 168/73
RAID 6 and a storage pool: 123/75 and 160/72
RAID 0 and a static volume: 134/530 and 295/569
And, finally, RAID 0 and a storage pool: 131/311 and 272/298
Also, both RAID 10 and RAID 6 took significantly longer to synchronize after creating
thick volumes - about 26-27 hours with storage pools compared to 13-16 hours in "static volume" configuration.
So it looks like in almost all cases storage pools made things slower.
I'm not sure, however, why RAID10 read speeds were slightly higher.
I run everything again to check those cases, but results were consistent.
In all the other cases storage pools, for some reason, make both writing and reading consistently
(and sometimes, depending on the RAID, significantly) slower.
Also, RAID6 was significantly slower to read data - it was getting half of the read speeds of a single drive!
I am not claiming those are professional tests, and they most likely could be done better.
I was simply curious to see what I could expect from different volume configurations.
Also, I experimented with volume expansion. And it looks like static volumes can be extended in
a similar way to storage pools - by adding additional disks to the RAID group
(sadly, this doesn't work with RAID10). But they also allow to be extended by adding new RAID groups
to the same volume - of the same or different RAID level. I was actually able to create
a static volume on a two disk RAID 0 array, and later extend it with a new 2 disk RAID 1 array.
Not that configuration like that makes much sense... But it worked!
Given the results, the fact that I only need a single volume per RAID group
and that I don't need snapshots or thin volumes, I am going to stay away
from storage pools (and RAID 6 as well).
In addition to better performance, static volumes use simpler underlying LVM configuration.
I don't know much about LVM pools and I am not claiming that there is anything
wrong with them, but I like to keep things as simple as possible.
-
- Know my way around
- Posts: 249
- Joined: Thu Jul 10, 2008 6:17 pm
Re: Difference between "static volumes" and "thick volumes"
@sjakub - thanks for that useful info.
I'm using RAID 6 in a storage pool - so even though your read speeds are strangely low - there's hardly any difference between storage pool and static volume:
* RAID 6 and a static volume: 126/76 and 168/73
* RAID 6 and a storage pool: 123/75 and 160/72
I'll have to check the read speed on mine to see what I'm getting.
I'm using RAID 6 in a storage pool - so even though your read speeds are strangely low - there's hardly any difference between storage pool and static volume:
* RAID 6 and a static volume: 126/76 and 168/73
* RAID 6 and a storage pool: 123/75 and 160/72
I'll have to check the read speed on mine to see what I'm getting.
TS-853 Pro; TS-859 Pro; TS-409
-
- Starting out
- Posts: 38
- Joined: Wed Dec 10, 2014 4:21 am
Re: Difference between "static volumes" and "thick volumes"
Yes, with RAID 6 they are very close. But even though they are this close, the speeds with storage pool are consistently lower.