Project

General

Profile

Actions

Bug #54180

closed

In some cases osdmaptool takes forever to complete

Added by Josh Salomon about 2 years ago. Updated about 2 years ago.

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

100%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

with the attached file run the command:
osdmaptool osdmap.GD.bin --upmap out-file --upmap-deviation 1 --upmap-pool default.rgw.buckets.data --upmap-max 25
on my laptop it takes 13 minutes to complete - the whole time is wasted in OSDMap::calc_pg_upmaps function. It eventually completes. Note that it runs OK for smaller values of --upmap-max, then it suddenly starts to become extremely slow.

I plan to post a PR for fixing this (on my laptop from 13 minutes to 15 seconds).


Files

osdmap.GD.bin (231 KB) osdmap.GD.bin Josh Salomon, 02/07/2022 02:37 PM
Actions #1

Updated by Josh Salomon about 2 years ago

  • Pull request ID set to 44925
Actions #2

Updated by Neha Ojha about 2 years ago

  • Project changed from 12 to RADOS
Actions #3

Updated by Neha Ojha about 2 years ago

  • Status changed from New to In Progress
Actions #5

Updated by Laura Flores about 2 years ago

  • Status changed from In Progress to Resolved
Actions

Also available in: Atom PDF