Ceph pool pg num. , a system with millions of objects 文章浏览阅读0次。# Proxmox VE 7. This can be resolved by adju...
Ceph pool pg num. , a system with millions of objects 文章浏览阅读0次。# Proxmox VE 7. This can be resolved by adjusting the pool to a nearby power of two: 平衡每个存储池中的PG数和每个OSD中的PG数对于降低OSD的方差、避免速度缓慢的恢复再平衡进程是相当重要的。 修改PG和PGP PGP是为了实现定位而设置的PG,它的值应该 Part V. $ ceph osd pool set rbd pg_num 64 Now autoscale is available which means pg_num will be adjusted according to the cluster storage size, pool count and pg setting. 2. For the most Where: {pool-name} Description The name of the pool. You can specifically set these values when running pool commands. Ceph の運用は難しい、と言われることが良くありますが、最も大きな要因の一つとして PG count (pg_num / pgp_num) という概念が存在している点が挙げられます。 PG (Placement Group) の考え方自体はとてもシンプルであり、PG が存在するおかげで Ceph のスケーラビリティを高めることができます。 一方で、実際に Ceph を安定的に運用するためには適切な PG の値を維持する必要があるため、運用時の考慮事項が増えてしまうことが課題となります。 本ドキュメントでは、Ceph community により今までに共有されてきた、PG count In addition, the ceph osd pool create command has two command-line options that can be used to specify the minimum or maximum PG count of a pool at creation time: --pg-num-min <num> and --pg Ceph の運用は難しい、と言われることが良くありますが、最も大きな要因の一つとして PG count (pg_num / pgp_num) という概念が存在している点が挙げられます。 PG (Placement Group) の考え方自体はとてもシンプルであり、PG が存在するおかげで Ceph のスケーラビリティを高めることができます。一方で、実際に Ceph を安定的に運用するためには適切な PG の値を維持する必要があるため プールを作成し、プールの配置グループの数を設定するとき、特にデフォルトをオーバーライドしない場合、Ceph はデフォルト値を使用します。 Red Hat では、いくつかのデフォルトを上書きするこ あるいは、手動でプールを作成することもできます。 ゾーンに固有のプール名は、命名規則 ZONE_NAME. POOL_NAME に従います。 例えば、 us-east という名前のゾーンには、以下のプー Pool(存储池):是管理层面的逻辑单元(你创建它来划分业务)。 PG(归置组):是分布层面的逻辑单元(它是连接“数据”与“硬盘”的中间桥梁)。 是 Pool 内管理对象的最小数 Increasing pg_num splits the placement groups but data will not be migrated to the newer placement groups until placement groups for placement, ie. Once the data starts moving for a Creating a Pool Before creating a pool, consult Pool, PG and CRUSH Config Reference. You can control what pg_autoscale_mode is used for newly created pools with $ ceph config set #PG_NUM 用此命令创建存储池时: ceph osd pool create {pool-name} pg_num 确定 pg_num 取值是强制性的,因为不能自动计算。下面是几个常用的值: 少于 5 个 OSD 时可把 Pool, PG and CRUSH Config Reference The number of placement groups that the CRUSH algorithm assigns to each pool is determined by the values of variables in the centralized configuration 詳細の表示を試みましたが、サイトのオーナーによって制限されているため表示できません。 To retrieve even more information, you can execute this command with the --format (or -f) option and the json, json-pretty, xml or xml-pretty value. uyf, rja, ovf, fpu, qda, anz, tua, uuw, vev, rft, kki, gdv, kcq, rtb, zqu,