[Mauiusers] Patch to fix Group Component of % based FS.

Josh Butikofer josh at clusterresources.com
Wed Jun 27 14:07:34 MDT 2007


This patch has been rolled into the source trunk in Subversion and will be available in the future
Maui patches. The current snapshot,
http://www.clusterresources.com/downloads/maui/temp/maui-3.2.6p20-snap.1182974819.tar.gz,
also has this patch included.

Your name has been added to the CHANGELOG. Thanks for your contribution!

Regards,

-- 
Joshua Butikofer
Cluster Resources, Inc.

josh at clusterresources.com
Voice: (801) 717-3707
Fax:   (801) 717-3738
--------------------------


Steve Traylen wrote:
> 
> When using
> 
> FSPOLICY DEDICATEDPS%
> 
> the construction of the group component was slightly wrong in
> maui-3.2.6p19-snap.1171482917.tar.gz
> 
>         if (MSched.PercentBasedFS == TRUE)
>           {
>           SFactor[mpsFU] =  1.0 -
>             (((J->Cred.G->F.FSUsage[0] + J->Cred.G->F.FSFactor) /
>             (GP->F.FSUsage[0] + GP->F.FSFactor) * 100.0)/FSTargetUsage);
>           }
>         else
>           {
>           SFactor[mpsFG] = FSTargetUsage -
>             (J->Cred.G->F.FSUsage[0] + J->Cred.G->F.FSFactor) /
>             (GP->F.FSUsage[0] + GP->F.FSFactor) * 100.0;
>           }
> 
> 
> should be SFactor[mpsFG] = 1.0 - ....
> 
> 
> patch attached.
> 
>  Steve
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> mauiusers mailing list
> mauiusers at supercluster.org
> http://www.supercluster.org/mailman/listinfo/mauiusers


More information about the mauiusers mailing list