You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
./placementoptimizer.py -v balance --max-pg-moves 10 --osdused delta --osdsize device --osdfrom fullest --ignore-ideal-pgcounts all --only-crushclass ssd | tee /tmp/balance-upmaps
to adjust the osds with inconsistent usage to achieve balanced usage, but I can only turn off the ceph default balancer, which is too uncomfortable. If I can use JJ to balance and then hand it over to the default balancer, it would be perfect.
The text was updated successfully, but these errors were encountered:
in principle, this already works. what is the problem that you don't do it?
of course the built-in balancer balances differently than mine - the default only considers the ideal pg counts on an osd, nothing else. since you explicitly ignore the ideal pg counts, the two balancers will fight each other.
maybe splitting into more pgs and not ignoring the ideal count is enough for the default balancer to keep things as-is in your setup?
why not run my balancer periodically in a systemd timer? :)
First of all, JJ is great, but if I use the method of balancing without ignoring the ideal number, it is not very effective in most scenarios and cannot narrow the utilization gap between osds. As for why I don't set JJ as a scheduled task, it is because I found that when I use the method of balancing without ignoring the ideal number until the utilization between osds is close, there will be calculation errors, and some pgs will be placed on a certain osd, and the cycle will repeat, so I can only execute it manually at present.
Is there a standard command that allows me to solve the problem of uneven osd utilization and is compatible with ceph by default? Thank you!
apart from what i said before i fear there's no other compatible way yet, because this count-ignoring makes the difference the default balancer fights it in the first place. what for do you need the default balancer?
do you need an option to ignore certain osds, or what precisely prevents automatic operations?
I now use
./placementoptimizer.py -v balance --max-pg-moves 10 --osdused delta --osdsize device --osdfrom fullest --ignore-ideal-pgcounts all --only-crushclass ssd | tee /tmp/balance-upmaps
to adjust the osds with inconsistent usage to achieve balanced usage, but I can only turn off the ceph default balancer, which is too uncomfortable. If I can use JJ to balance and then hand it over to the default balancer, it would be perfect.
The text was updated successfully, but these errors were encountered: