The wu template is used when creating the workunit. So in order to get 
fixed credit for each workunit you have to create new work after 
changing the template. Then the validator will give fixed credit to each 
workunit created with the new wu template.

Regards
Christian


Kunsheng Chen schrieb:
> Hi, everyone,
>
>
> I try to fix credit for each workunit other than let it decided by FLOPs.
>
> I added tag <credit> in wu template (the value is set to 20) and start 
> "sample_trivial_validator" with parameter "-credit_from_wu" in config.xml as 
> below:
>
> -----------------
> sample_trivial_validator -d 3 -app <appname>  -credit_from_wu 
>
> -----------------
>
>
> The system works fine but the log keep reminds "error rate" when assigning 
> credits: 
> -----------------------------------
>
> 2009-09-14 19:47:01.2641 [normal  ] [WU#22529 anansi_1252708009_12299] 
> handle_wu(): No canonical result yet
> 2009-09-14 19:47:01.2647 [debug   ]   [WU#22529 anansi_1252708009_12299] 
> Found 1 successful results
> 2009-09-14 19:47:01.2647 [debug   ]   [WU#22529 anansi_1252708009_12299] 
> Enough for quorum, checking set.
> 2009-09-14 19:47:01.2769 [debug   ]   [HOST#260] error rate 0.000087->0.000083
> 2009-09-14 19:47:01.2777 [normal  ]   [RESULT#24202 
> anansi_1252708009_12299_0] Valid; granted 0.002849 credit [HOST#260]
> 2009-09-14 19:47:01.2792 [debug   ]   [WU#22529 anansi_1252708009_12299] 
> Found a canonical result: id=24202
>
> ---------------------------------
>
>
> Anyone has some idea ?
>
>
> Thanks,
>
> -Kunsheng
>
>
>
>
>
>       
> _______________________________________________
> boinc_dev mailing list
> [email protected]
> http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
> To unsubscribe, visit the above URL and
> (near bottom of page) enter your email address.
>
>   

_______________________________________________
boinc_dev mailing list
[email protected]
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.

Reply via email to