+ Reply to Thread
Results 1 to 7 of 7

Predicting/Regression Calculation For Server Utilization Power/CPU/Mem

  1. #1
    Registered User
    Join Date
    02-10-2009
    Location
    San Diego, CA
    MS-Off Ver
    Excel 365
    Posts
    30

    Predicting/Regression Calculation For Server Utilization Power/CPU/Mem

    Hello,

    I am trying to come up with a formula to create a prediction table of server utilization based on known collected data (Total Power (kW)), %_CPU_util and %_MEM_util. My goal is to correlate the %_CPU and %_MEM and predict what the total power load of the server would be. I know I am not articulating this very well. I have attached a sanitized sheet that has the collected data in raw form, also an unfortunate attempt by me at tackling this (columns H - J), and then an example of what I would like the output to look like.

    I hope the attachment will help explain what I'm looking for better than I can! ;P

    Thanks for any help you can provide!

    Bryce
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,811

    Re: Predicting/Regression Calculation For Server Utilization Power/CPU/Mem

    I'm not quite sure I understand exactly what you are trying to do. Your title mentioned regression (without mentioning what kind of regression equation you want to use), so I tried a regression approach to the problem:

    1) You did not give a regression equation (I'm not sure if regression is even what you are trying to do), so I assumed power load would be a simple linear regression against %CPUutil and %Memutil load=m2*%CPUutil+m1*%MEMutil+b
    2) I normally perform linear regression in the spreadsheet using the LINEST() function (https://support.office.com/en-us/art...a-fa7abf772b6d ), so I entered =LINEST(B4:B877,E4:F877,TRUE) across H1:J1 (note that LINEST() is an array formula and must be entered as such by confirming with ctrl-shift-enter and not just enter).
    3) In N6 I entered =$J$1+$I$1*N$5+$H$1*$M6. Note the mix of relative and absolute references.
    4) Copy/paste/fill N6 into the rest of the table.

    Is that close to what you are trying to do?
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  3. #3
    Registered User
    Join Date
    02-10-2009
    Location
    San Diego, CA
    MS-Off Ver
    Excel 365
    Posts
    30

    Re: Predicting/Regression Calculation For Server Utilization Power/CPU/Mem

    Hi MrShorty, thank you for your reply and help. I tried running regression against the data and wasn't getting the info that I am looking for.

    What I am looking for are prediction relationships that can give me power usage based on any given CPU% or MEM%. Cells E421 and F421 show that this server at ~13% CPU and 13% MEM usage, yields power usage of ~4.3kW. I would like to be able to tell our engineers that if they optimize their jobs and increase their utilization of the server to say 70% CPU and 80% MEM, we would see an X increase in power within the data centers. Again, I apologize for not being able to explain it very well.

    Thank you!
    Bryce

  4. #4
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,811

    Re: Predicting/Regression Calculation For Server Utilization Power/CPU/Mem

    I must not be understanding, because I thought that was what my regression analysis would give you -- a way to calculated load at any given %CPU and %MEM.

    Using row 421 as an example:
    Measured values: E421=13.44, F421=13.25 B421=4.28 kW.
    Regression equation using E421 and F421 as inputs: Estimated load of 4.26 kW.
    Estimated load at 70% for each input value: Estimated load=6.14 kW.

    Can you help me understand why that analysis is not correct and what you expect to get out of the analysis?

  5. #5
    Registered User
    Join Date
    02-10-2009
    Location
    San Diego, CA
    MS-Off Ver
    Excel 365
    Posts
    30

    Re: Predicting/Regression Calculation For Server Utilization Power/CPU/Mem

    Ah! I guess I'm not applying your formula correctly. I put the =linest formula into H1:J1. All 3 cells returned the same number, however now, the cells are returning a #VALUE!. Not sure what I am doing wrong here.

    Thanks for your help and patience!

  6. #6
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,811

    Re: Predicting/Regression Calculation For Server Utilization Power/CPU/Mem

    I put the =linest formula into H1:J1. All 3 cells returned the same number,
    That does not sound right, I get three different numbers from the regression. How are you entering the LINEST() function? I would expect
    1) Clear H1:J1
    2) Select H1:J1
    3) Type in the LINEST() formula as given above. Confirm entry with ctrl-shift-enter (not just enter).
    I get 0.00308 in H1, 0.0302 in I1, and 3.813 in J1.

    If you get a value error, make sure none of the entries has been cleared/deleted or changed to text.

  7. #7
    Registered User
    Join Date
    02-10-2009
    Location
    San Diego, CA
    MS-Off Ver
    Excel 365
    Posts
    30

    Re: Predicting/Regression Calculation For Server Utilization Power/CPU/Mem

    That did it! Guess there was something going on in those 3 cells. Once I cleared all, and then input the formula again it worked! I appreciate your help and patience!

    Thanks,

    Bryce

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Sub-Forum for Excel Power Tools (Power Query, Power Pivot & Power BI)
    By chullan88 in forum Suggestions for Improvement
    Replies: 10
    Last Post: 06-28-2018, 02:25 PM
  2. Power regression for a specific function with data
    By NocturnalSheep in forum Excel General
    Replies: 4
    Last Post: 03-01-2018, 12:32 PM
  3. Power regression - standard error values
    By David2017 in forum Excel General
    Replies: 8
    Last Post: 02-26-2017, 01:52 PM
  4. Predicting Future Periods based on Weekly Historic Data - Regression
    By rjnc in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-30-2016, 11:07 AM
  5. Regression - Predicting trends with LINEST
    By excelbuddy82 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-02-2013, 11:34 AM
  6. Available hours calculation in Utilization!!!
    By nandhamnk in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 05-05-2013, 12:41 AM
  7. Replies: 5
    Last Post: 03-18-2012, 04:20 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1