]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
doc/rados, sample.ceph.conf: pg_num should always be a power of two
authorThomas Schneider <maxmusterm@gmail.com>
Mon, 11 Nov 2019 21:21:11 +0000 (22:21 +0100)
committerThomas Schneider <maxmusterm@gmail.com>
Mon, 11 Nov 2019 21:56:35 +0000 (22:56 +0100)
Signed-off-by: Thomas Schneider <thomas@brainfuck.space>
doc/rados/configuration/pool-pg.conf
src/sample.ceph.conf

index 0c69d0b956162a1b8bbbf170c8096cbd1a0904e6..096ef1f69f76f4a4c3c861c8274a38f109eef502 100644 (file)
@@ -15,6 +15,7 @@
        # divided by the number of replicas (i.e., osd pool default size). So for
        # 10 OSDs and osd pool default size = 4, we'd recommend approximately
        # (100 * 10) / 4 = 250.
+        # always use the nearest power of 2
 
-       osd pool default pg num = 250
-       osd pool default pgp num = 250
+       osd pool default pg num = 256
+       osd pool default pgp num = 256
index 8c24bd9cac6464a98e8144e7b41573f6327f8429..74ffd4134205b0379f9cb5003c9dcd49be6b4c1b 100644 (file)
     ## divided by the number of replicas (i.e., osd pool default size). So for
     ## 10 OSDs and osd pool default size = 3, we'd recommend approximately
     ## (100 * 10) / 3 = 333
+    ## always round to the nearest power of 2
 
     # Description: The default number of placement groups for a pool. The
     #              default value is the same as pg_num with mkpool.