#include <MetaBalancer.h>
void | pup (PUP::er &p) |
void | ResumeClients () |
void | ResetAdaptive () |
int | get_iteration () |
int | get_finished_iteration () |
void | ContributeStats (int iteration) |
void | AdjustCountForDeadContributor (int iteration) |
void | AdjustCountForNewContributor (int iteration) |
bool | AddLoad (int iteration, double load) |
void | SetCharePupSize (size_t psize) |
void | ReceiveMinStats (double *load, int n) |
void | TriggerSoon (int iteration_no, double imbalance_ratio, double tolerate_imb) |
void | LoadBalanceDecision (int, int) |
void | LoadBalanceDecisionFinal (int, int) |
void | MetaLBCallLBOnChares () |
void | MetaLBSetLBOnChares (int switchFrom, int switchTo) |
void | ReceiveIterationNo (int) |
void | HandleAdaptiveNoObj () |
void | RegisterNoObjCallback (int index) |
void | TriggerAdaptiveReduction () |
void | PreviousAvgLoad (double avg) |
bool | generatePlan (int &period, double &ratio_at_t) |
bool | getLineEq (double new_load_percent, double &aslope, double &ac, double &mslope, double &mc) |
bool | getPeriodForLinear (double a, double b, double c, int &period) |
bool | getPeriodForStrategy (double new_load, double overhead_percent, int &period, double &ratio_at_t) |
int | getPredictedLBPeriod (bool &is_tentative) |
bool | isStrategyComm () |
void | UpdateAfterLBData (int is_lb_refine, double lb_max, double lb_avg, double local_comm, double remote_comm) |
void | UpdateAfterLBData (double max_load, double max_cpu, double avg_load) |
void | UpdateAfterLBComm (double alpha_beta_cost) |
void | GetPrevLBData (int &lb_type, double &lb_max_avg_ratio, double &local_remote_comm_ratio) |
void | GetLBDataForLB (int lb_type, double &lb_max_avg_ratio, double &local_remote_comm_ratio) |
void | SetMigrationCost (double lb_migration_cost) |
void | SetStrategyCost (double lb_strategy_cost) |
void | init () |
static void | initnodeFn (void) |
static void | periodicCall (void *ad) |
static void | checkForNoObj (void *ad) |
Public Member Functions | |
MetaBalancer (void) | |
MetaBalancer (CkMigrateMessage *m) | |
~MetaBalancer () | |
Static Public Member Functions | |
static MetaBalancer * | Object () |
Data Fields | |
bool | lb_in_progress |
Private Attributes | |
MetaBalancerRedn * | metaRdnGroup |
LBDatabase * | lbdatabase |
std::vector< double > | total_load_vec |
std::vector< int > | total_count_vec |
std::vector< double > | max_load_vec |
std::vector< double > | min_load_vec |
std::vector< int > | lbdb_no_obj_callback |
double | prev_idle |
double | alpha_beta_cost_to_load |
int | is_prev_lb_refine |
int | prev_bytes |
int | prev_msgs |
int | prev_outsidepemsgs |
int | prev_outsidepebytes |
int | prev_hops |
int | prev_hopbytes |
bool | print_iteration_time |
double | prev_iteration_time |
double | prev_avg_load |
int | chare_pup_size |
double | pe_ld_kurtosis |
double | pe_ld_skewness |
int | total_ovld_pes |
int | current_balancer |
ForestModel * | rFmodel |
struct MetaBalancer::AdaptiveMetaBalancer | adaptive_lbdb |
struct MetaBalancer::AdaptiveLBStructure | adaptive_struct |
Data Structures | |
struct | AdaptiveData |
struct | AdaptiveLBInfo |
struct | AdaptiveLBStructure |
struct | AdaptiveMetaBalancer |
Definition at line 87 of file MetaBalancer.h.
MetaBalancer::MetaBalancer | ( | void | ) | [inline] |
Definition at line 89 of file MetaBalancer.h.
References init().
MetaBalancer::MetaBalancer | ( | CkMigrateMessage * | m | ) | [inline] |
Definition at line 90 of file MetaBalancer.h.
References init().
MetaBalancer::~MetaBalancer | ( | ) | [inline] |
Definition at line 91 of file MetaBalancer.h.
References Converse::CkMyPe(), and rFmodel.
void MetaBalancer::init | ( | void | ) | [private] |
Definition at line 122 of file MetaBalancer.C.
References _lb_args, _lbdb, adaptive_lbdb, adaptive_struct, alpha_beta_cost_to_load, chare_pup_size, CkLocalBranch(), Converse::CkMyPe(), current_balancer, MetaBalancer::AdaptiveLBStructure::final_lb_period, MetaBalancer::AdaptiveLBStructure::finished_iteration_no, MetaBalancer::AdaptiveLBStructure::global_max_iter_no, MetaBalancer::AdaptiveLBStructure::in_progress, is_prev_lb_refine, MetaBalancer::AdaptiveLBStructure::last_lb_type, MetaBalancer::AdaptiveLBStructure::lb_calculated_period, lb_in_progress, MetaBalancer::AdaptiveMetaBalancer::lb_iter_no, MetaBalancer::AdaptiveLBStructure::lb_iteration_no, MetaBalancer::AdaptiveLBStructure::lb_migration_cost, MetaBalancer::AdaptiveLBStructure::lb_msg_recv_no, MetaBalancer::AdaptiveLBStructure::lb_msg_send_no, MetaBalancer::AdaptiveLBStructure::lb_strategy_cost, lbdatabase, max_load_vec, CkLBArgs::metaLbModelDir(), CkLBArgs::metaLbOn(), metaRdnGroup, min_load_vec, periodicCall(), prev_avg_load, prev_bytes, prev_hopbytes, prev_hops, prev_idle, prev_msgs, prev_outsidepebytes, prev_outsidepemsgs, rFmodel, MetaBalancer::AdaptiveLBStructure::tentative_max_iter_no, MetaBalancer::AdaptiveLBStructure::tentative_period, stats::time(), total_count_vec, total_load_vec, and MetaBalancer::AdaptiveLBStructure::total_syncs_called.
Referenced by MetaBalancer().
static MetaBalancer* MetaBalancer::Object | ( | ) | [inline, static] |
Definition at line 100 of file MetaBalancer.h.
References CkLocalBranch().
Referenced by MetaBalancerObj().
void MetaBalancer::initnodeFn | ( | void | ) | [static] |
Definition at line 118 of file MetaBalancer.C.
void MetaBalancer::pup | ( | PUP::er & | p | ) |
Definition at line 179 of file MetaBalancer.C.
References _lbdb, alpha_beta_cost_to_load, chare_pup_size, CkLocalBranch(), is_prev_lb_refine, PUP::er::isUnpacking(), lb_in_progress, lbdatabase, metaRdnGroup, prev_avg_load, prev_bytes, prev_hopbytes, prev_hops, prev_idle, prev_msgs, prev_outsidepebytes, and prev_outsidepemsgs.
void MetaBalancer::ResumeClients | ( | void | ) |
Definition at line 199 of file MetaBalancer.C.
References adaptive_lbdb, adaptive_struct, MetaBalancer::AdaptiveLBStructure::final_lb_period, MetaBalancer::AdaptiveLBStructure::finished_iteration_no, MetaBalancer::AdaptiveLBStructure::global_max_iter_no, HandleAdaptiveNoObj(), MetaBalancer::AdaptiveMetaBalancer::history_data, MetaBalancer::AdaptiveLBStructure::in_progress, MetaBalancer::AdaptiveLBStructure::lb_calculated_period, lb_in_progress, MetaBalancer::AdaptiveLBStructure::lb_iteration_no, MetaBalancer::AdaptiveLBStructure::lb_migration_cost, MetaBalancer::AdaptiveLBStructure::lb_msg_recv_no, MetaBalancer::AdaptiveLBStructure::lb_msg_send_no, MetaBalancer::AdaptiveLBStructure::lb_strategy_cost, lbdb_no_obj_callback, prev_bytes, prev_hopbytes, prev_hops, prev_idle, prev_msgs, prev_outsidepebytes, prev_outsidepemsgs, MetaBalancer::AdaptiveLBStructure::tentative_max_iter_no, MetaBalancer::AdaptiveLBStructure::tentative_period, and MetaBalancer::AdaptiveLBStructure::total_syncs_called.
Referenced by LBDatabase::ResumeClients().
void MetaBalancer::ResetAdaptive | ( | ) |
Definition at line 964 of file MetaBalancer.C.
References adaptive_lbdb, lb_in_progress, and MetaBalancer::AdaptiveMetaBalancer::lb_iter_no.
Referenced by LBDatabase::ResetAdaptive().
int MetaBalancer::get_iteration | ( | ) |
Definition at line 230 of file MetaBalancer.C.
References adaptive_struct, and MetaBalancer::AdaptiveLBStructure::lb_iteration_no.
Referenced by CkMigratable::commonInit().
int MetaBalancer::get_finished_iteration | ( | ) |
Definition at line 234 of file MetaBalancer.C.
References adaptive_struct, and MetaBalancer::AdaptiveLBStructure::finished_iteration_no.
Referenced by AdjustCountForDeadContributor(), AdjustCountForNewContributor(), and CkMigratable::AtSync().
void MetaBalancer::ContributeStats | ( | int | iteration | ) |
Definition at line 316 of file MetaBalancer.C.
References _lb_args, adaptive_struct, LBDatabase::BackgroundLoad(), cb, Converse::CkMyPe(), MetaBalancer::AdaptiveLBStructure::finished_iteration_no, LBDB::GetCommInfo(), LBDatabase::getLBDB(), IDLE_TIME, LBDatabase::IdleTime(), index, lbdatabase, lbDataCollectionType, LOAD_KURTOSIS, LOAD_SKEWNESS, LOAD_STDEV2, MAX_COMM_NEIGHBORS, MAX_ITER_TIME, MAX_LOAD, max_load_vec, MAX_LOAD_W_BG, MAX_OBJ_COUNT, MAX_OBJ_LOAD, MAX_UTIL, MIN_BG, MIN_LOAD, min_load_vec, MIN_OBJ_LOAD, NUM_PROCS, LBDB::ObjDataCount(), OUTSIDE_PE_KBYTES, prev_avg_load, prev_idle, ReceiveMinStats(), SUM_COMM_NEIGHBORS, SUM_HOP_KBYTES, SUM_HOPS, SUM_OBJ_COUNT, SUM_OBJ_LOAD, total_count_vec, TOTAL_KBYTES, TOTAL_KMSGS, TOTAL_LOAD, total_load_vec, TOTAL_LOAD_W_BG, TOTAL_OVERLOADED_PES, MetaBalancer::AdaptiveLBStructure::total_syncs_called, CkLBArgs::traceComm(), UTILIZATION, and WITHIN_PE_KBYTES.
Referenced by AddLoad(), and AdjustCountForDeadContributor().
void MetaBalancer::AdjustCountForDeadContributor | ( | int | iteration | ) |
Definition at line 253 of file MetaBalancer.C.
References adaptive_struct, ContributeStats(), get_finished_iteration(), LBDatabase::getLBDB(), index, MetaBalancer::AdaptiveLBStructure::lb_iteration_no, lbdatabase, LBDB::ObjDataCount(), and total_count_vec.
Referenced by CkMigratable::~CkMigratable().
void MetaBalancer::AdjustCountForNewContributor | ( | int | iteration | ) |
Definition at line 238 of file MetaBalancer.C.
References get_finished_iteration(), index, and total_count_vec.
Referenced by CkMigratable::commonInit().
Definition at line 282 of file MetaBalancer.C.
References adaptive_struct, Converse::CkMyPe(), ContributeStats(), MetaBalancer::AdaptiveLBStructure::finished_iteration_no, LBDatabase::getLBDB(), index, MetaBalancer::AdaptiveLBStructure::lb_iteration_no, lbdatabase, max_load_vec, min_load_vec, LBDB::ObjDataCount(), total_count_vec, total_load_vec, and MetaBalancer::AdaptiveLBStructure::total_syncs_called.
Referenced by CkMigratable::AtSync().
void MetaBalancer::SetCharePupSize | ( | size_t | psize | ) |
Definition at line 276 of file MetaBalancer.C.
References chare_pup_size.
Referenced by CkMigratable::AtSync().
void MetaBalancer::ReceiveMinStats | ( | double * | load, | |
int | n | |||
) |
Definition at line 411 of file MetaBalancer.C.
References _lb_args, adaptive_lbdb, adaptive_struct, CkLBArgs::alpha(), alpha_beta_cost_to_load, MetaBalancer::AdaptiveData::avg_load, MetaBalancer::AdaptiveData::avg_utilization, CkLBArgs::beta(), chare_pup_size, current_balancer, data, MetaBalancer::AdaptiveLBStructure::doCommStrategy, MetaBalancer::AdaptiveLBStructure::final_lb_period, generatePlan(), getLineEq(), GetPrevLBData(), MetaBalancer::AdaptiveMetaBalancer::history_data, IDLE_TIME, MetaBalancer::AdaptiveLBStructure::in_progress, MetaBalancer::AdaptiveLBStructure::info_first_iter, int, ITER_NO, MetaBalancer::AdaptiveData::iteration, MetaBalancer::AdaptiveLBStructure::lb_calculated_period, MetaBalancer::AdaptiveMetaBalancer::lb_iter_no, MetaBalancer::AdaptiveLBStructure::lb_msg_send_no, lbdb_no_obj_callback, LOAD_KURTOSIS, LOAD_SKEWNESS, LOAD_STDEV2, max(), MetaBalancer::AdaptiveLBInfo::max_avg_ratio, MAX_COMM_NEIGHBORS, MAX_ITER_TIME, MetaBalancer::AdaptiveData::max_load, MAX_LOAD, MAX_LOAD_W_BG, MAX_OBJ_LOAD, MAX_UTIL, CkLBArgs::metaLbModelDir(), min(), MIN_BG, MIN_LOAD, MIN_OBJ_LOAD, MetaBalancer::AdaptiveData::min_utilization, NUM_PROCS, OUTSIDE_PE_KBYTES, pe_ld_kurtosis, pe_ld_skewness, rFmodel, SUM_COMM_NEIGHBORS, SUM_HOP_KBYTES, SUM_HOPS, SUM_OBJ_COUNT, SUM_OBJ_LOAD, MetaBalancer::AdaptiveLBStructure::tentative_max_iter_no, TOTAL_KBYTES, TOTAL_KMSGS, TOTAL_LOAD, TOTAL_LOAD_W_BG, TOTAL_OVERLOADED_PES, total_ovld_pes, TriggerSoon(), UTILIZATION, and WITHIN_PE_KBYTES.
Referenced by ContributeStats(), and TriggerAdaptiveReduction().
void MetaBalancer::TriggerSoon | ( | int | iteration_no, | |
double | imbalance_ratio, | |||
double | tolerate_imb | |||
) |
Definition at line 664 of file MetaBalancer.C.
References adaptive_struct, MetaBalancer::AdaptiveLBStructure::doCommStrategy, MetaBalancer::AdaptiveLBStructure::final_lb_period, MetaBalancer::AdaptiveLBStructure::in_progress, MetaBalancer::AdaptiveLBStructure::lb_calculated_period, MetaBalancer::AdaptiveLBStructure::lb_msg_send_no, and MetaBalancer::AdaptiveLBStructure::tentative_max_iter_no.
Referenced by ReceiveMinStats().
Definition at line 883 of file MetaBalancer.C.
References adaptive_struct, CkLocalBranch(), Converse::CkMyPe(), MetaBalancerRedn::getMaxIter(), MetaBalancer::AdaptiveLBStructure::lb_iteration_no, MetaBalancer::AdaptiveLBStructure::lb_msg_recv_no, metaRdnGroup, and MetaBalancer::AdaptiveLBStructure::tentative_period.
Definition at line 900 of file MetaBalancer.C.
References adaptive_struct, Converse::CkMyPe(), MetaBalancer::AdaptiveLBStructure::final_lb_period, MetaBalancer::AdaptiveLBStructure::lb_iteration_no, MetaBalancer::AdaptiveLBStructure::lb_msg_recv_no, lbdatabase, LBDatabase::MetaLBResumeWaitingChares(), and MetaBalancer::AdaptiveLBStructure::tentative_period.
void MetaBalancer::MetaLBCallLBOnChares | ( | ) |
Definition at line 911 of file MetaBalancer.C.
References lbdatabase, and LBDatabase::MetaLBCallLBOnChares().
Definition at line 915 of file MetaBalancer.C.
References lbdatabase, and LBDatabase::switchLoadbalancer().
void MetaBalancer::ReceiveIterationNo | ( | int | local_iter_no | ) |
Definition at line 919 of file MetaBalancer.C.
References adaptive_struct, Converse::CkMyPe(), MetaBalancer::AdaptiveLBStructure::final_lb_period, MetaBalancer::AdaptiveLBStructure::global_max_iter_no, MetaBalancer::AdaptiveLBStructure::in_progress, MetaBalancer::AdaptiveLBStructure::lb_msg_recv_no, MetaBalancer::AdaptiveLBStructure::tentative_max_iter_no, and MetaBalancer::AdaptiveLBStructure::tentative_period.
Referenced by MetaBalancerRedn::ReceiveIterNo().
void MetaBalancer::periodicCall | ( | void * | ad | ) | [static] |
Definition at line 970 of file MetaBalancer.C.
References _nobj_timer, CcdCallFnAfterOnPE(), checkForNoObj(), Converse::CkMyPe(), and PUP::s.
Referenced by init().
void MetaBalancer::checkForNoObj | ( | void * | ad | ) | [static] |
Definition at line 975 of file MetaBalancer.C.
References HandleAdaptiveNoObj(), and PUP::s.
Referenced by periodicCall().
void MetaBalancer::HandleAdaptiveNoObj | ( | ) |
Definition at line 981 of file MetaBalancer.C.
References adaptive_struct, Converse::CkMyPe(), MetaBalancer::AdaptiveLBStructure::finished_iteration_no, LBDatabase::getLBDB(), MetaBalancer::AdaptiveLBStructure::lb_iteration_no, lbdatabase, LBDB::ObjDataCount(), and TriggerAdaptiveReduction().
Referenced by checkForNoObj(), and ResumeClients().
void MetaBalancer::RegisterNoObjCallback | ( | int | index | ) |
Definition at line 994 of file MetaBalancer.C.
References adaptive_lbdb, adaptive_struct, MetaBalancer::AdaptiveLBStructure::finished_iteration_no, lb_in_progress, MetaBalancer::AdaptiveMetaBalancer::lb_iter_no, and lbdb_no_obj_callback.
void MetaBalancer::TriggerAdaptiveReduction | ( | ) |
Definition at line 1015 of file MetaBalancer.C.
References adaptive_struct, cb, Converse::CkMyPe(), MetaBalancer::AdaptiveLBStructure::finished_iteration_no, LBDatabase::getLBDB(), IDLE_TIME, ITER_NO, MetaBalancer::AdaptiveLBStructure::lb_iteration_no, lbdatabase, lbDataCollectionType, MAX_LOAD, MAX_LOAD_W_BG, LBDB::ObjDataCount(), ReceiveMinStats(), TOTAL_LOAD, TOTAL_LOAD_W_BG, and UTILIZATION.
Referenced by HandleAdaptiveNoObj().
void MetaBalancer::PreviousAvgLoad | ( | double | avg | ) |
Definition at line 689 of file MetaBalancer.C.
References adaptive_lbdb, adaptive_struct, MetaBalancer::AdaptiveData::avg_load, data, MetaBalancer::AdaptiveLBStructure::final_lb_period, GetLBDataForLB(), getPeriodForStrategy(), GetPrevLBData(), MetaBalancer::AdaptiveMetaBalancer::history_data, int, MetaBalancer::AdaptiveLBStructure::lb_migration_cost, MetaBalancer::AdaptiveLBStructure::lb_strategy_cost, and MetaBalancer::AdaptiveData::max_load.
Referenced by ReceiveMinStats().
bool MetaBalancer::getLineEq | ( | double | new_load_percent, | |
double & | aslope, | |||
double & | ac, | |||
double & | mslope, | |||
double & | mc | |||
) |
Definition at line 841 of file MetaBalancer.C.
References adaptive_lbdb, MetaBalancer::AdaptiveData::avg_load, data, MetaBalancer::AdaptiveMetaBalancer::history_data, int, and MetaBalancer::AdaptiveData::max_load.
Referenced by getPeriodForStrategy(), and ReceiveMinStats().
Definition at line 812 of file MetaBalancer.C.
References int, PUP::t, and x.
Referenced by getPeriodForStrategy().
bool MetaBalancer::getPeriodForStrategy | ( | double | new_load, | |
double | overhead_percent, | |||
int & | period, | |||
double & | ratio_at_t | |||
) |
Definition at line 771 of file MetaBalancer.C.
References PUP::a, adaptive_struct, PUP::b, c, getLineEq(), getPeriodForLinear(), int, MetaBalancer::AdaptiveLBStructure::lb_migration_cost, and MetaBalancer::AdaptiveLBStructure::lb_strategy_cost.
Referenced by generatePlan().
Definition at line 946 of file MetaBalancer.C.
References adaptive_struct, MetaBalancer::AdaptiveLBStructure::final_lb_period, and MetaBalancer::AdaptiveLBStructure::tentative_period.
Referenced by CkMigratable::recvLBPeriod().
bool MetaBalancer::isStrategyComm | ( | ) |
Definition at line 1041 of file MetaBalancer.C.
References adaptive_struct, and MetaBalancer::AdaptiveLBStructure::doCommStrategy.
void MetaBalancer::UpdateAfterLBData | ( | int | is_lb_refine, | |
double | lb_max, | |||
double | lb_avg, | |||
double | local_comm, | |||
double | remote_comm | |||
) |
Definition at line 1053 of file MetaBalancer.C.
References adaptive_struct, MetaBalancer::AdaptiveLBStructure::comm_info, MetaBalancer::AdaptiveLBStructure::comm_refine_info, MetaBalancer::AdaptiveLBStructure::greedy_info, MetaBalancer::AdaptiveLBStructure::last_lb_type, MetaBalancer::AdaptiveLBInfo::max_avg_ratio, MetaBalancer::AdaptiveLBStructure::refine_info, and MetaBalancer::AdaptiveLBInfo::remote_local_ratio.
Referenced by LBDatabase::UpdateDataAfterLB().
void MetaBalancer::UpdateAfterLBData | ( | double | max_load, | |
double | max_cpu, | |||
double | avg_load | |||
) |
Definition at line 1068 of file MetaBalancer.C.
References adaptive_struct, MetaBalancer::AdaptiveLBStructure::comm_info, MetaBalancer::AdaptiveLBStructure::comm_refine_info, MetaBalancer::AdaptiveLBStructure::greedy_info, MetaBalancer::AdaptiveLBStructure::last_lb_type, lb, MetaBalancer::AdaptiveLBInfo::max_avg_ratio, and MetaBalancer::AdaptiveLBStructure::refine_info.
void MetaBalancer::UpdateAfterLBComm | ( | double | alpha_beta_cost | ) |
void MetaBalancer::GetPrevLBData | ( | int & | lb_type, | |
double & | lb_max_avg_ratio, | |||
double & | local_remote_comm_ratio | |||
) |
Definition at line 1091 of file MetaBalancer.C.
References adaptive_struct, GetLBDataForLB(), MetaBalancer::AdaptiveLBStructure::info_first_iter, MetaBalancer::AdaptiveLBStructure::last_lb_type, and MetaBalancer::AdaptiveLBInfo::max_avg_ratio.
Referenced by generatePlan(), ReceiveMinStats(), and AdaptiveLB::work().
void MetaBalancer::GetLBDataForLB | ( | int | lb_type, | |
double & | lb_max_avg_ratio, | |||
double & | local_remote_comm_ratio | |||
) |
Definition at line 1102 of file MetaBalancer.C.
References adaptive_struct, MetaBalancer::AdaptiveLBStructure::comm_info, MetaBalancer::AdaptiveLBStructure::comm_refine_info, MetaBalancer::AdaptiveLBStructure::greedy_info, MetaBalancer::AdaptiveLBInfo::max_avg_ratio, MetaBalancer::AdaptiveLBStructure::refine_info, and MetaBalancer::AdaptiveLBInfo::remote_local_ratio.
Referenced by generatePlan(), GetPrevLBData(), and AdaptiveLB::work().
void MetaBalancer::SetMigrationCost | ( | double | lb_migration_cost | ) |
Definition at line 1045 of file MetaBalancer.C.
References adaptive_struct, and MetaBalancer::AdaptiveLBStructure::lb_migration_cost.
Referenced by LBDatabase::SetMigrationCost().
void MetaBalancer::SetStrategyCost | ( | double | lb_strategy_cost | ) |
Definition at line 1049 of file MetaBalancer.C.
References adaptive_struct, and MetaBalancer::AdaptiveLBStructure::lb_strategy_cost.
Referenced by LBDatabase::SetStrategyCost().
MetaBalancerRedn* MetaBalancer::metaRdnGroup [private] |
Definition at line 97 of file MetaBalancer.h.
Referenced by init(), LoadBalanceDecision(), and pup().
LBDatabase* MetaBalancer::lbdatabase [private] |
Definition at line 156 of file MetaBalancer.h.
Referenced by AddLoad(), AdjustCountForDeadContributor(), ContributeStats(), HandleAdaptiveNoObj(), init(), LoadBalanceDecisionFinal(), MetaLBCallLBOnChares(), MetaLBSetLBOnChares(), pup(), and TriggerAdaptiveReduction().
std::vector<double> MetaBalancer::total_load_vec [private] |
Definition at line 157 of file MetaBalancer.h.
Referenced by AddLoad(), ContributeStats(), and init().
std::vector<int> MetaBalancer::total_count_vec [private] |
Definition at line 159 of file MetaBalancer.h.
Referenced by AddLoad(), AdjustCountForDeadContributor(), AdjustCountForNewContributor(), ContributeStats(), and init().
std::vector<double> MetaBalancer::max_load_vec [private] |
Definition at line 160 of file MetaBalancer.h.
Referenced by AddLoad(), ContributeStats(), and init().
std::vector<double> MetaBalancer::min_load_vec [private] |
Definition at line 161 of file MetaBalancer.h.
Referenced by AddLoad(), ContributeStats(), and init().
std::vector<int> MetaBalancer::lbdb_no_obj_callback [private] |
Definition at line 162 of file MetaBalancer.h.
Referenced by ReceiveMinStats(), RegisterNoObjCallback(), and ResumeClients().
double MetaBalancer::prev_idle [private] |
Definition at line 164 of file MetaBalancer.h.
Referenced by ContributeStats(), init(), pup(), and ResumeClients().
double MetaBalancer::alpha_beta_cost_to_load [private] |
Definition at line 165 of file MetaBalancer.h.
Referenced by init(), pup(), ReceiveMinStats(), and UpdateAfterLBComm().
int MetaBalancer::is_prev_lb_refine [private] |
int MetaBalancer::prev_bytes [private] |
int MetaBalancer::prev_msgs [private] |
int MetaBalancer::prev_outsidepemsgs [private] |
int MetaBalancer::prev_outsidepebytes [private] |
int MetaBalancer::prev_hops [private] |
int MetaBalancer::prev_hopbytes [private] |
bool MetaBalancer::print_iteration_time [private] |
Definition at line 170 of file MetaBalancer.h.
double MetaBalancer::prev_iteration_time [private] |
Definition at line 171 of file MetaBalancer.h.
double MetaBalancer::prev_avg_load [private] |
Definition at line 172 of file MetaBalancer.h.
Referenced by ContributeStats(), init(), PreviousAvgLoad(), and pup().
int MetaBalancer::chare_pup_size [private] |
Definition at line 173 of file MetaBalancer.h.
Referenced by init(), pup(), ReceiveMinStats(), and SetCharePupSize().
double MetaBalancer::pe_ld_kurtosis [private] |
double MetaBalancer::pe_ld_skewness [private] |
int MetaBalancer::total_ovld_pes [private] |
int MetaBalancer::current_balancer [private] |
ForestModel* MetaBalancer::rFmodel [private] |
Definition at line 178 of file MetaBalancer.h.
Referenced by init(), ReceiveMinStats(), and ~MetaBalancer().
struct MetaBalancer::AdaptiveMetaBalancer MetaBalancer::adaptive_lbdb [private] |
Referenced by generatePlan(), getLineEq(), init(), ReceiveMinStats(), RegisterNoObjCallback(), ResetAdaptive(), and ResumeClients().
struct MetaBalancer::AdaptiveLBStructure MetaBalancer::adaptive_struct [private] |
Referenced by AddLoad(), AdjustCountForDeadContributor(), ContributeStats(), generatePlan(), get_finished_iteration(), get_iteration(), GetLBDataForLB(), getPeriodForStrategy(), getPredictedLBPeriod(), GetPrevLBData(), HandleAdaptiveNoObj(), init(), isStrategyComm(), LoadBalanceDecision(), LoadBalanceDecisionFinal(), ReceiveIterationNo(), ReceiveMinStats(), RegisterNoObjCallback(), ResumeClients(), SetMigrationCost(), SetStrategyCost(), TriggerAdaptiveReduction(), TriggerSoon(), and UpdateAfterLBData().
Definition at line 238 of file MetaBalancer.h.
Referenced by init(), pup(), RegisterNoObjCallback(), ResetAdaptive(), and ResumeClients().