Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc/mds: fixup "mds bal mode" Description #12127

Merged
merged 1 commit into from Nov 23, 2016

Conversation

renhwztetecs
Copy link
Contributor

@renhwztetecs renhwztetecs commented Nov 22, 2016

from Brett Niver bniver@redhat.com ceph-devel maillist

Signed-off-by: huanwen ren ren.huanwen@zte.com.cn

mds_load code is: 
switch(g_conf->mds_bal_mode) {
  case 0:
    return
      .8 * auth.meta_load() +
      .2 * all.meta_load() +
      req_rate +
      10.0 * queue_len;

  case 1:
    return req_rate + 10.0*queue_len;

  case 2:
    return cpu_load_avg;
  }

from Brett Niver <bniver@redhat.com> 

Signed-off-by: huanwen ren <ren.huanwen@zte.com.cn>
@renhwztetecs
Copy link
Contributor Author

@jcsp ping

@liewegas liewegas merged commit 58f9387 into ceph:master Nov 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants