All of lore.kernel.org
 help / color / mirror / Atom feed
* pg balancing
@ 2013-05-14  0:35 Sage Weil
  2013-05-14 15:10 ` Chen, Xiaoxi
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Sage Weil @ 2013-05-14  0:35 UTC (permalink / raw)
  To: jaschut; +Cc: ceph-devel

Hi Jim-

You mentioned the other day your concerns about the uniformity of the PG 
and data distribution.  There are several ways to attack it (including 
increasing the number of PGs), but one that we haven't tested much yet is 
the 'reweight-by-utilization' function in the monitor.

The idea is that there will always be some statistical variance in the 
distribution and a non-zero probability of having outlier OSDs with too 
many PG.  We adjust for this by taking nodes that are substantially above 
the mean down by some adjustment factor in an automated way.

 ceph osd reweight-by-utilization MIN

where MIN is the minimum relative utilization at which we will start 
adjusting down.  It is always > 100 (100% of the mean), and defaults to 
120.  After it adjusts the reweights, you should see the result in 'ceph 
osd tree' output

Have you played with this at all on your cluster?  I'd be very interested 
in how well this does/does not improve things for you.

Thanks!
sage


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-06-05 19:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-14  0:35 pg balancing Sage Weil
2013-05-14 15:10 ` Chen, Xiaoxi
2013-05-14 15:25   ` Sage Weil
2013-05-14 15:39 ` Jim Schutt
2013-06-05 19:49 ` Jim Schutt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.