You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/cephfs/createfs.rst
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -137,5 +137,11 @@ You may use Erasure Coded pools as CephFS data pools as long as they have overwr
137
137
138
138
Note that EC overwrites are only supported when using OSDs with the BlueStore backend.
139
139
140
+
If you are storing lots of small files or are frequently modifying files you can improve performance by enabling EC optimizations, which is done as follows:
141
+
142
+
.. code:: bash
143
+
144
+
ceph osd pool set my_ec_pool allow_ec_optimizations true
145
+
140
146
You may not use Erasure Coded pools as CephFS metadata pools, because CephFS metadata is stored using RADOS *OMAP* data structures, which EC pools cannot store.
Copy file name to clipboardExpand all lines: doc/rados/operations/pools.rst
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -451,7 +451,14 @@ You may set values for the following keys:
451
451
:Type: Boolean
452
452
453
453
.. versionadded:: 12.2.0
454
+
455
+
.. describe:: allow_ec_optimizations
454
456
457
+
:Description: Enables performance and capacity optimizations for an erasure-coded pool. These optimizations were designed for CephFS and RBD workloads; RGW workloads with signficant numbers of small objects or with small random access reads of objects will also benefit. RGW workloads with large sequential read and writes will see little benefit. For more details, see `Erasure Coding Optimizations`_.
458
+
:Type: Boolean
459
+
460
+
.. versionadded:: 20.2.0
461
+
455
462
.. describe:: hashpspool
456
463
457
464
:Description: Sets or unsets the ``HASHPSPOOL`` flag on a given pool.
@@ -900,6 +907,7 @@ Here are the break downs of the argument:
0 commit comments