Project

General

Profile

Actions

Documentation #41004

closed

doc: pg_num should always be a power of two

Added by Kai Wagner almost 5 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
% Done:

0%

Tags:
Backport:
nautilus
Reviewed:
Affected Versions:
Pull request ID:

Description

Hi,

I updated the pg_num section in the docs just a little to be more strict.
I think we should make it crystal clear that pg num should be a power of two and only if there's a real good reason and someone knows exactly why they need a different value they can proceed.

I think this is the first step of several to make this clearer to the end user. Next step would be to show a Health WARN and also to flag the pool creation red in the dashboard if someone would like to add a pool and the pg count isn't a power of two.

Why do I would like to be more strict about it? We've seen more and more clusters were the osd variation was really high. The fix to that was always to set the pg_num + balancer. Also the pg autoscaler only uses power of two so we shouldn't even encourage people to use something different right from the beginning or to phrase i differently, we should protect the end-user right away.


Related issues 2 (0 open2 closed)

Related to Dashboard - Feature #40983: mgr/dashboard: Warn when setting pg_num to not-a-power-of-twoRejectedStephan Müller

Actions
Copied to RADOS - Backport #41568: nautilus: doc: pg_num should always be a power of twoResolvedNathan CutlerActions
Actions #2

Updated by Sebastian Wagner almost 5 years ago

  • Related to Feature #40983: mgr/dashboard: Warn when setting pg_num to not-a-power-of-two added
Actions #3

Updated by Sebastian Wagner almost 5 years ago

  • Project changed from Ceph to RADOS
  • Category deleted (documentation)
  • Status changed from New to In Progress
  • Pull request ID set to 29364
Actions #4

Updated by Neha Ojha over 4 years ago

  • Status changed from In Progress to Pending Backport
Actions #5

Updated by Nathan Cutler over 4 years ago

  • Copied to Backport #41568: nautilus: doc: pg_num should always be a power of two added
Actions #6

Updated by Nathan Cutler over 4 years ago

  • Status changed from Pending Backport to Resolved

While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved".

Actions

Also available in: Atom PDF