1. Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

Simple WCG PPD Estimator

Discussion in 'World Community Grid (WCG)' started by [Ion], Dec 21, 2009.

  1. brandonwh64

    brandonwh64 Addicted to Bacon and StarCrunches!!!

    Joined:
    Sep 6, 2009
    Messages:
    18,246 (10.80/day)
    Thanks Received:
    5,883
    Location:
    Chatsworth, GA
    Yea you have to go easy on me, this is only my third week of C++ class LOL, Im learning but picking up pretty quick. It would have been easier to have his code, Is there a way we could decompile his last update?
    Crunching for Team TPU
  2. KieX

    Joined:
    Dec 18, 2009
    Messages:
    2,408 (1.52/day)
    Thanks Received:
    2,461
    Location:
    London, UK
    Values are based off the formula:

    Multi = Points/MHz
    (Where points are averaged over a few days).

    Then you simply multiply the Multi x MHz. Detract 10% for 32-bit. Divide by 7 for the BOINC points

    Give me a few minutes and I can work out the values for:
    -i7 Sandybridge
    -i7 Sandybridge-E

    For the bulldozers, would need to ask mjkmike as I think he's the only one crunching that in our team?

    EDIT: Got them!
    Code:
                _ProcessorDatabase.Add(new Processor("Intel", "Core i7", "SB Quad-core", 9));
                _ProcessorDatabase.Add(new Processor("Intel", "Core i7", "SB-E Hexa-core", 13.5));
    Last edited: Jan 16, 2012
    FordGT90Concept says thanks.
  3. FordGT90Concept

    FordGT90Concept "I go fast!1!11!1!"

    Joined:
    Oct 13, 2008
    Messages:
    12,994 (6.44/day)
    Thanks Received:
    3,094
    Location:
    IA, USA
    Looking through the source, the numbers I posted appear to be for 32-bit. It times by 1.1 for 64-bit.

    It does...

    BaseScore = ProcessorValue * ProcessorSpeed * ProcessorCount
    WCG = BaseScore * (CpuUsage / 100)
    BOINC = WCG / 7
    KieX says thanks.
    Crunching for Team TPU
  4. brandonwh64

    brandonwh64 Addicted to Bacon and StarCrunches!!!

    Joined:
    Sep 6, 2009
    Messages:
    18,246 (10.80/day)
    Thanks Received:
    5,883
    Location:
    Chatsworth, GA
    Ok from what I see here are the values from one of the previous releases

    C2D (Conroe): 2
    C2D (Wolfdale): 2.2
    C2Q (Kentsfield): 4
    C2Q (Yorkfield): 4.45
    Ci3/Ci5 (Clarkdale): 4.1
    Ci5 (Lynnfield): 5.9
    Ci7 (quad-core): 8.1
    Ci7 (hex-core): 12.1
    Athlon 64X2 / Athlon X2: 1.7
    PhI X3: 2.3
    PhI X4: 3.2
    AII X2: 2.0
    AII X3: 3.0
    AII X4: 3.9
    PhII X2: 2.1
    PhII X3: 3.1
    PhII X4: 4.2
    PhII X6: 6.7
    Crunching for Team TPU
  5. FordGT90Concept

    FordGT90Concept "I go fast!1!11!1!"

    Joined:
    Oct 13, 2008
    Messages:
    12,994 (6.44/day)
    Thanks Received:
    3,094
    Location:
    IA, USA
    Added to my source.
    KieX says thanks.
    Crunching for Team TPU
  6. brandonwh64

    brandonwh64 Addicted to Bacon and StarCrunches!!!

    Joined:
    Sep 6, 2009
    Messages:
    18,246 (10.80/day)
    Thanks Received:
    5,883
    Location:
    Chatsworth, GA
    I could probably base it off last weeks assignments in class just add a few more details

    Code:
    #include <iostream>
    #include <iomanip>
    
    using namespace std;
    
    int main(void)
    {
    char first [20],
    last [20];
    double monpay;
    
    
    cout << "Employee First Name: " << endl;
    cin >> first;
    cout << "Employee Last Name: " << endl;
    cin >> last;
    cout << "Monthly Pay: " << endl;
    cin >> monpay;
    
    
    double fed, state, ssmed;
    
    fed = monpay * 0.15;
    state = monpay * 0.035;
    ssmed = monpay * 0.085;
    
    
    cout << "Employee: " << first << last << endl
    << "Gross Amount: " << fixed << setprecision(2) << setw(15) << setfill('.') << monpay << "$" << endl
    << "Federal Tax: " << fixed << setprecision(2) << setw(15) << setfill('.') << fed << "$" << endl
    << "State Tax: " << fixed << setprecision(2) << setw(15) << setfill('.') << state << "$" << endl
    << "Social Security and Medicare Tax: " << fixed << setprecision(2) << setw(15) << setfill('.') << ssmed << "$" << endl
    << "Health Insurance: " << fixed << setprecision(2) << setw(15) << setfill('.') << "75$" << endl
    << "Net Pay: " << fixed << setprecision(2) << setw(15) << setfill('.') << monpay - fed - state - ssmed - 75 << "$" << endl;
    
    
    cout << "Press any key to exit." << endl;
    cin.ignore(2);
    
    return 0;
    } 
    From what I tested in his latest one, they are accurate.
    Crunching for Team TPU
  7. KieX

    Joined:
    Dec 18, 2009
    Messages:
    2,408 (1.52/day)
    Thanks Received:
    2,461
    Location:
    London, UK
    Ah, works it out the other way round. So:
    SB Quad: ProcessorValue = 9
    SB-E Hex: ProcessorValue = 13.5

    Using 4.5GHz 2600K as an example on 32bit 100% CPU use:

    BaseScore = ProcessorValue * ProcessorSpeed * ProcessorCount
    40500 = 9 * 4500 * 1
    WCG = BaseScore * (CpuUsage / 100)
    40500 = 40500 *1
    BOINC = WCG / 7
    5786 = 40500 / 7

    Then the 1.1x to get 64bit results.


    I missed a ";" on the last one ;) just noticed
  8. FordGT90Concept

    FordGT90Concept "I go fast!1!11!1!"

    Joined:
    Oct 13, 2008
    Messages:
    12,994 (6.44/day)
    Thanks Received:
    3,094
    Location:
    IA, USA
    I double checked and they all match mine...

    Attached Files:

    KieX says thanks.
    Crunching for Team TPU
  9. brandonwh64

    brandonwh64 Addicted to Bacon and StarCrunches!!!

    Joined:
    Sep 6, 2009
    Messages:
    18,246 (10.80/day)
    Thanks Received:
    5,883
    Location:
    Chatsworth, GA
    Cin << Mhz * CPU / 7;
    ^ will give you the 32bit points and without the / 7 you get WCG points right?
    Crunching for Team TPU
  10. FordGT90Concept

    FordGT90Concept "I go fast!1!11!1!"

    Joined:
    Oct 13, 2008
    Messages:
    12,994 (6.44/day)
    Thanks Received:
    3,094
    Location:
    IA, USA
    It calculates for WCG (the numbers you gave are for WCG). BOINC is 7 times less than WCG.
    Crunching for Team TPU
  11. [XC] Oj101

    [XC] Oj101 New Member

    Joined:
    Jan 23, 2012
    Messages:
    109 (0.13/day)
    Thanks Received:
    59
    Location:
    South Africa
    If anyone would like an update, I am the author of the web based version.
    brandonwh64 and Chicken Patty say thanks.
  12. Chicken Patty

    Chicken Patty WCG Moderator Staff Member

    Joined:
    Nov 27, 2007
    Messages:
    28,341 (12.11/day)
    Thanks Received:
    12,224
    Location:
    Miami, Florida
    What's the link to yours?
    Crunching for Team TPU
  13. [XC] Oj101

    [XC] Oj101 New Member

    Joined:
    Jan 23, 2012
    Messages:
    109 (0.13/day)
    Thanks Received:
    59
    Location:
    South Africa
    I wrote it specifically for Ion, I never hosted it myself. If you want I'll have a copy up within the next few hours, I must just dig up the source code.
  14. [XC] Oj101

    [XC] Oj101 New Member

    Joined:
    Jan 23, 2012
    Messages:
    109 (0.13/day)
    Thanks Received:
    59
    Location:
    South Africa
    brandonwh64 and Chicken Patty say thanks.
  15. Chicken Patty

    Chicken Patty WCG Moderator Staff Member

    Joined:
    Nov 27, 2007
    Messages:
    28,341 (12.11/day)
    Thanks Received:
    12,224
    Location:
    Miami, Florida
    This is the same as the one in the OP correct? Obviously this being a web based version.
    Crunching for Team TPU
  16. [XC] Oj101

    [XC] Oj101 New Member

    Joined:
    Jan 23, 2012
    Messages:
    109 (0.13/day)
    Thanks Received:
    59
    Location:
    South Africa
    It's similar, it's the one listed here, I wrote it for the OP.
    KieX and brandonwh64 say thanks.
  17. Delta6326

    Delta6326

    Joined:
    May 21, 2008
    Messages:
    3,739 (1.73/day)
    Thanks Received:
    628
    Location:
    Iowa, USA
  18. Chicken Patty

    Chicken Patty WCG Moderator Staff Member

    Joined:
    Nov 27, 2007
    Messages:
    28,341 (12.11/day)
    Thanks Received:
    12,224
    Location:
    Miami, Florida
    F150 might be able to have an idea as he has an AMD Quad CPU setup crunching. I would say though at least 8000 ppd.
    Crunching for Team TPU
  19. KieX

    Joined:
    Dec 18, 2009
    Messages:
    2,408 (1.52/day)
    Thanks Received:
    2,461
    Location:
    London, UK
    A 4x 6272 cruncher will average 15-17K PPD. That would mean each CPU can do roughly 3.8K-4.3K PPD. 2.1GHz vs 2.2GHz of the 6274 would be a small increase perhaps 4.4K?

    Been inactive the last few days, but you can see from the other days what they can do:
    http://stats.free-dc.org/stats.php?page=host&proj=bwcg&hostid=1820078
    Delta6326 says thanks.
  20. Delta6326

    Delta6326

    Joined:
    May 21, 2008
    Messages:
    3,739 (1.73/day)
    Thanks Received:
    628
    Location:
    Iowa, USA
    Ok thanks. I have been looking at a server rack-mount systems.
    KieX says thanks.
  21. KieX

    Joined:
    Dec 18, 2009
    Messages:
    2,408 (1.52/day)
    Thanks Received:
    2,461
    Location:
    London, UK
    That sounds like a whole lot of fun to be had :)
  22. FordGT90Concept

    FordGT90Concept "I go fast!1!11!1!"

    Joined:
    Oct 13, 2008
    Messages:
    12,994 (6.44/day)
    Thanks Received:
    3,094
    Location:
    IA, USA
    And headaches when it breaks. XD
    Crunching for Team TPU
  23. [Ion]

    [Ion] WCG Team Assistant

    Joined:
    Sep 15, 2009
    Messages:
    11,786 (7.01/day)
    Thanks Received:
    10,889
    Location:
    North Carolina, United States
    Hey guys, I'm back! I recognize that my program is...more than a bit out of date. If I can get people to PM/post values for the new Sandy & Ivy Bridge CPUs & Bulldozer, I'll get things up-to-date!
    Crunching for Team TPU
  24. mstenholm

    Joined:
    Nov 7, 2009
    Messages:
    1,972 (1.21/day)
    Thanks Received:
    1,102
    :toast: Welcome back

    I noticed that a kpresler (from Sweden :) ) re-joined.
    Crunching for Team TPU More than 25k PPD
  25. Mindweaver

    Mindweaver Moderato®™ Staff Member

    Joined:
    Apr 16, 2009
    Messages:
    5,060 (2.76/day)
    Thanks Received:
    2,607
    Location:
    Statesville, NC
    Welcome back [Ion]! :toast:
    [Ion] says thanks.
    Crunching for Team TPU

Currently Active Users Viewing This Thread: 1 (0 members and 1 guest)

Share This Page