Opened 14 years ago

Last modified 14 years ago

#1034 closed Defect

--max_granted_credit not respected by fallback credit calculation mechanism — at Initial Version

Reported by: dhardy Owned by:
Priority: Undetermined Milestone: Undetermined
Component: Undetermined Version: 6.10.58
Keywords: Cc:

Description

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 (1)

Changed 14 years ago by dhardy

Attachment: sched_credit.patch added

patch against boinc/sched/credit.cpp

Note: See TracTickets for help on using tickets.