Opened 14 years ago
Last modified 14 years ago
#1034 closed Defect
--max_granted_credit not respected by fallback credit calculation mechanism — at Version 1
Reported by: | dhardy | Owned by: | |
---|---|---|---|
Priority: | Undetermined | Milestone: | Undetermined |
Component: | Undetermined | Version: | 6.10.58 |
Keywords: | Cc: |
Description (last modified by )
We (malariacontrol.net) recently had a problem where PFC was too high for some hosts (or in some cases still is). This has resulted in credits being calculated using an alternate mechanism:
if (pfc > wu.rsc_fpops_bound) { log_messages.printf(MSG_NORMAL, "[credit] PFC too high: %f\n", pfc*COBBLESTONE_SCALE ); pfc = wu_estimated_pfc(wu, app); }
Unfortunately in our case this wasn't always correct. The attached patch at least allows the --max_granted_credit mechanism to still limit the credit granted.
Change History (2)
Changed 14 years ago by
Attachment: | sched_credit.patch added |
---|
comment:1 Changed 14 years ago by
Description: | modified (diff) |
---|
patch against boinc/sched/credit.cpp