Project

General

Profile

Actions

Support #15337

closed

OSDs are very unbalanced

Added by Mehdi Abaakouk about 8 years ago. Updated about 7 years ago.

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

0%

Tags:
Reviewed:
Affected Versions:
Pull request ID:

Description

Hi,

we are experiencing that our OSDS are very unbalanced, some of them are filled to 50% and some others go up to 93%, I have attached the details (ceph osd tree/ceph osd df/crushmap)

For the cluster story, it have started we 3 hosts and 9 OSDs with firefly version and now it have 50 OSDs across 13 hosts with hammer (0.94.6) on ubuntu trusty. (We have used giant for while between)

The weight of each OSDs was ~ 1.0 for 1T, but we started to have trouble about data repartition, we got our first OSD full and then start reducing the weight to free space on full OSDs.

After some reading, we discover that we should enable the tunable "straw_calc_version = 1" to fix the situation, we do, got a big data rebalancing.

But the data repartition was not better.

So we try to use straw2 instead of straw1. The data have moved a lot too but we are still experiencing a bad data repartition.

Cheers,


Files

crushmap.txt (6.64 KB) crushmap.txt Mehdi Abaakouk, 03/31/2016 01:45 PM
ceph-osd-df.txt (2.78 KB) ceph-osd-df.txt Mehdi Abaakouk, 03/31/2016 01:46 PM
ceph-osd-tree.txt (5.09 KB) ceph-osd-tree.txt Mehdi Abaakouk, 03/31/2016 01:46 PM
ceph-pg-dump.json.txt.gz (594 KB) ceph-pg-dump.json.txt.gz Mehdi Abaakouk, 03/31/2016 01:49 PM
ceph-osd-dump.txt (13.1 KB) ceph-osd-dump.txt Mehdi Abaakouk, 04/05/2016 06:13 AM
Actions #2

Updated by Greg Farnum about 8 years ago

  • Project changed from CephFS to Ceph
Actions #3

Updated by Sage Weil about 8 years ago

can you attach 'ceph osd dump'?

Actions #4

Updated by Anonymous about 8 years ago

As per a discussion with sage, can you make a try with ceph osd reweight-by-utilization ?

Actions #5

Updated by Anonymous about 8 years ago

Erwan Velu wrote:

As per a discussion with sage, can you make a try with ceph osd reweight-by-utilization ?

I didn't saw sage's comment before posting that. Please ignore it for now.

Actions #7

Updated by Anonymous about 8 years ago

Sage, what's your opinion on that very unbalanced OSDs ?

Actions #8

Updated by Greg Farnum about 7 years ago

  • Tracker changed from Bug to Support
  • Status changed from New to Closed

Lots of ongoing improvements to CRUSH around this.

Actions

Also available in: Atom PDF