Does FreeBSD's ZFS reserve 1/64 of the capacity for COW?

Trond Endrestøl Trond.Endrestol at fagskolen.gjovik.no
Mon Dec 9 07:15:17 UTC 2013


On Fri, 6 Dec 2013 11:23-0600, Mark Felder wrote:

> 
> 
> On Fri, Dec 6, 2013, at 6:46, Trond Endrestøl wrote:
> > Hi,
> > 
> > Today I came across "Becoming a ZFS Ninja Part 1" 
> > http://www.youtube.com/watch?v=tPsV_8k-aVU featuring Ben Rockwood who 
> > stated that ZFS reserves 1/64 of the capacity for COW safe-guarding. 
> > Fast forward to 00:49:44. Thus, one should take this fact into account 
> > when planning the storage capacity of your (larger) zpools.
> > 
> > Does FreeBSD's ZFS also reserve 1/64 of the capacity for COW?
> > 
> > If it's true, then I guess this should be noted in zpool(8) and in the 
> > Handbook.
> > 
> 
> Well, the rule-of-thumb / urban legend tends to be "don't let your zpool
> go over ~80% or you'll have severe performance issues" so I'm not sure
> that statement is accurate or COW wouldn't be so painful when your pool
> is over ~80%. I could be wrong though; I often am :-)

As it turns out, you're in good company, I'm also wrong far too often.

-- 
+-------------------------------+------------------------------------+
| Vennlig hilsen,               | Best regards,                      |
| Trond Endrestøl,              | Trond Endrestøl,                   |
| IT-ansvarlig,                 | System administrator,              |
| Fagskolen Innlandet,          | Gjøvik Technical College, Norway,  |
| tlf. mob.   952 62 567,       | Cellular...: +47 952 62 567,       |
| sentralbord 61 14 54 00.      | Switchboard: +47 61 14 54 00.      |
+-------------------------------+------------------------------------+


More information about the freebsd-stable mailing list