]> git.proxmox.com Git - ceph.git/blob - ceph/doc/rados/configuration/pool-pg-config-ref.rst
902c80346bbe2ba0981b996f3d372d6d62a2e482
[ceph.git] / ceph / doc / rados / configuration / pool-pg-config-ref.rst
1 .. _rados_config_pool_pg_crush_ref:
2
3 ======================================
4 Pool, PG and CRUSH Config Reference
5 ======================================
6
7 .. index:: pools; configuration
8
9 Ceph uses default values to determine how many placement groups (PGs) will be
10 assigned to each pool. We recommend overriding some of the defaults.
11 Specifically, we recommend setting a pool's replica size and overriding the
12 default number of placement groups. You can set these values when running
13 `pool`_ commands. You can also override the defaults by adding new ones in the
14 ``[global]`` section of your Ceph configuration file.
15
16
17 .. literalinclude:: pool-pg.conf
18 :language: ini
19
20 .. confval:: mon_max_pool_pg_num
21 .. confval:: mon_pg_stuck_threshold
22 .. confval:: mon_pg_warn_min_per_osd
23 .. confval:: mon_pg_warn_min_objects
24 .. confval:: mon_pg_warn_min_pool_objects
25 .. confval:: mon_pg_check_down_all_threshold
26 .. confval:: mon_pg_warn_max_object_skew
27 .. confval:: mon_delta_reset_interval
28 .. confval:: osd_crush_chooseleaf_type
29 .. confval:: osd_crush_initial_weight
30 .. confval:: osd_pool_default_crush_rule
31 .. confval:: osd_pool_erasure_code_stripe_unit
32 .. confval:: osd_pool_default_size
33 .. confval:: osd_pool_default_min_size
34 .. confval:: osd_pool_default_pg_num
35 .. confval:: osd_pool_default_pgp_num
36 .. confval:: osd_pool_default_pg_autoscale_mode
37 .. confval:: osd_pool_default_flags
38 .. confval:: osd_max_pgls
39 .. confval:: osd_min_pg_log_entries
40 .. confval:: osd_max_pg_log_entries
41 .. confval:: osd_default_data_pool_replay_window
42 .. confval:: osd_max_pg_per_osd_hard_ratio
43
44 .. _pool: ../../operations/pools
45 .. _Monitoring OSDs and PGs: ../../operations/monitoring-osd-pg#peering
46 .. _Weighting Bucket Items: ../../operations/crush-map#weightingbucketitems