TOCPREVNEXTINDEX

Lund Performance Solutions


Quick Tour for HP-UX Systems
In this tutorial, you will learn the following:
  • How to start Forecast
  • How to load a collection file
  • How to preview and validate a collection file
  • How to graph the information
  • How to specify workloads, CPUs, and gowth rates to be included in graphs
  • This section focuses on HP-UX data files. See "Quick Tour for MPE/iX Systems." for MPE data files.

    Overview

    The Quick Tour in this chapter introduces first-time users to the features and functions of Forecast Capacity Planner. For users upgrading from earlier versions of the software, these tours provide a quick and easy way to get acquainted with the changes in the current version.


    Before beginning the tour, install Forecast Capacity Planner along with the appropriate sample files on your personal computer.

    Running Forecast Capacity Planner

    Run Forecast Capacity Planner on your personal computer as described in "Starting Forecast Capacity Planner".

    Loading a New Model

    Forecast Capacity Planner creates a model of your system based on the data collection (*.col) files transferred from the host system. (See "HP-UX Host Data" for information on host data collection and data transfer.)


    Your software includes a sample collection file (HP9000A1.col) for use with this tour.


    To load the collection file:
  • On the File menu, click Load/Validate model. The Open dialog box displays (see Figure 6.1).
  • In the Files of type list, click Collections (*col).
  • Click once on the collection file, HP9000A1.col, to select the file.


  • Figure 6.1 Open dialog box
  • Click Open to load the collection file.
  • Choosing a CPU Equivalent

    In some instances, the CPU naming conventions on the host will differ from those on the PC. When that happens, Forecast will generate the Choose CPU dialog.




    Figure 6.2 Choose CPU dialog box
    The Choose CPU dialog states which CPU type cannot be found by the Forecast application. To resolve the issue, select the equivalent CPU name from the pull-down list and click OK.

    Validation Messages

    As the loading process runs, you will receive a list of warnings and informational messages in the Validation Messages dialog box (see Figure 6.3). These messages provide information about workload groups that may violate one or more modeling algorithm assumptions. (See "Validation Failures" for information on modeling algorithm assumptions.)


    Figure 6.3 Validation Messages dialog box
    Normally, you would investigate the causes of these messages and determine what, if any, influence they have on your model. It may be necessary to repeat running the data collection process to collect another sample from the host system. (See "Identifying and Characterizing Workload Groups" for more information on evaluating workload groups.)


    For this exercise, assume that the messages do not affect the validity of the model. Click OK to continue.

    Main Program Window

    When the loading procedure is complete, the Main Program window displays. This window contains the unvalidated data loaded from your host system. The model is not validated until it is saved in the Model (*.mdl) format.


    Figure 6.4 Main Program window
    The Main Program window contains the following panes:
  • The file manager pane is a representation of the unvalidated model in outline form.
  • To expand or collapse the outline, click the Plus (+) or Minus (-) icons (respectively).
  • To access detailed information, click the individual CPU, Disk, or Workload icons.
  • To edit items within the file manager pane, double-click the associated icon.
  • The global unvalidated centers pane displays the results for each CPU and disk drive in the model. To view detailed information on a single resources in the model, click on the associated icon in the file manager pane.
  • The global unvalidated workloads pane displays the results for each workload group included in the model. To view detailed information on a single workload group in the model, click on the associated icon in the file manager pane.
  • Reviewing Validation Thresholds

    Normally, you would review the data in the Main Program window to determine if the model is a valid representation of the system’s baseline performance. For this exercise, assume that the model is valid.
    Acceptable validation thresholds are listed in Table 6.1.
    Table 6.1 Acceptable resource validation thresholds
    Resource
    Acceptable Validation Threshold
    CPU utilization
    15 percent
    Transaction/hour (throughput)
    15 percent
    Response time
    30 percent
    Disk I/O/second
    Variances for disk I/O/second and disk queue length are ignored because most real-world situations do not account for issues like database spreading.
    Disk queue length
    It is common for values to be outside the acceptable range on the first attempt at validating a model. If your numbers are out of range, review your workload definitions as described in "Identifying and Characterizing Workload Groups".

    Validating the Baseline Model

    Validate the baseline model you have created:
  • On the Forecast menu, click Validated Model.
  • In the Forecast dialog box, click Yes to begin the validation process. Notice that the name of the document changes from HP9000A1.col to HP9000A1.mdl.
  • On the File menu, click Save Model.
  • In the Save As dialog box, click Save to save the model in the default location on your computer.
  • Graphing the Model

    The validated model created in the previous steps provides an accurate snapshot of your host system. The real power of Forecast Capacity Planner is its ability to predict future performance based on user-supplied "what-if" scenarios designed to illustrate the forecasting and graphing capabilities of the software.


    The examples in this section are based on the following assumptions:
  • Standard system performance tuning (defragging and balancing disk drives, repacking the database, etc.) will not significantly reduce CPU utilization or dramatically improve online response time, or reduce batch job completion time.
  • Workload definitions on the host system are unchanged.
  • Memory size and the type of disk drives are unchanged.
  • One CPU with Zero Growth Rate

    For this example, graph the model validated in the previous exercises and assume no change in utilization occurs for 12 months.
    To create the graph:
  • On the Forecast menu, click Forecast Options.


  • Figure 6.5 Forecast Options dialog box: Options tab
  • In the Forecast Options dialog box, verify the number in the Periods box is 12.
  • In the Growth Type list box, select Linear.
  • Verify the Period type is Month.
  • In the Workloads list box, verify that only the All Workloads check box is selected.
  • Select the Adjust Results check box.
  • In the Graph Type list box, verify that CPU Util is selected.
  • In the Growth Option list box, click Override.
  • In the CPUs list box, verify that only the S/9000/867 check box is selected (clear all other check boxes in the CPUs list box).


  • Figure 6.6 Forecast Options dialog box: Options tab with new settings
  • In the Forecast Options dialog box, click the Rates tab (see Figure 6.7).
  • Verify that Tiered Rate and Growth Rate are both set to 0 (zero).


  • Figure 6.7 Forecast Options dialog box: Rates tab
  • Click OK to close the Forecast Options dialog box and save your changes.
  • On the Options menu, ensure that Prompt for titles is not enabled. (See "Prompt for all disks".)
  • On the Forecast menu, click Graph Forecast. The forecast graph displays (see Figure 6.8).


  • Figure 6.8 Baseline graph for one CPU with zero growth rate


    NOTE If the graph labels are overlapped, adjust the Font and Size parameters in the Graph Options dialog box from the Options menu (see "Fonts Options" and "Sizes Options"). The graph in Figure 6.8 has the parameters listed in the following two tables:




    Table 6.2 Suggested Font parameters
    Font Parameter
    Font
    Bold
    Italic
    Header font
    Times New Roman
    3
     
    Footer font
    Times New Roman
    3
     
    Legend font
    Arial
     
     
    Label font
    Arial
     
     
    Table 6.3 Suggested Size parameters
    Size Parameter
    Size
    Header font size
    16
    Footer font size
    14
    Legend font size
    10
    Label font size
    10


    The lower line in the graph (HP-UX Threshold) represents the CPU utilization threshold of 85 percent. This is the default threshold limit for the HP-UX and is generally considered the level at which response time and batch process completion rates become unacceptable. (For information on changing threshold limits, see "Setting Thresholds".)
    The upper line in the graph represents overall CPU utilization for all workload groups identified in the model. The modeled CPU utilization of 87 percent is 2 percent above the threshold limit of 85 percent.

    Four CPUs with Zero Growth Rate

    For this example, compare the baseline forecast for your original model with three larger CPUs.
    To create the graph:
  • On the Forecast menu, click Forecast Options.
  • In the Forecast Options dialog box, select the following CPU check boxes in the CPUs list box:
  • S/9000/867 (CPU selected in original model)
  • S/9000/897
  • S/870S/400
  • S/890/400
  • Click OK to close the Forecast Options dialog box and update your graph.


  • Figure 6.9 Baseline graph for four CPUs with zero growth rate
    The second line in the graph (XL Threshold) represents the 85 percent CPU utilization threshold for HP-UX. The other four lines represent the CPU utilization for each of the four CPUs, based on the workload groups identified in the original model.


    As expected, the larger CPUs show a lower utilization rate for the modeled workload groups. The S/890/400, for example, can handle the same workload groups with approximately 29 percent CPU utilization, compared with 87 percent CPU utilization on the S/9000/867.

    Four CPUs with Five-percent Growth Rate

    Utilization and other system variables change over time. Repeat the forecast with a five-percent growth rate for all four CPUs.
    To create the graph:
  • On the Forecast menu, click Forecast Options.
  • In the Forecast Options dialog box, verify the check boxes for the following CPUs are selected in the CPUs list box:
  • S/9000/867
  • S/9000/897
  • S/870S/400
  • S/890/400
  • Click the Rates tab in the Forecast Options dialog box.
  • Click in the Growth Rate text box and type 5.
  • Click OK to close the Forecast Options dialog box and update your graph.


  • Figure 6.10 Baseline graph for four CPUs with five-percent growth rate
    This graph represents the modeled utilization rate for the S/9000/867 relative to the rates for the larger CPUs at a growth rate of five percent over 12 months. Notice that the model does not simply add five-percent utilization to the rate for each month. The five-percent growth rate is a factor used to calculate the growth of each of the workload groups, subject to the modeled capacity of the system.

    Utilization by Workload Group for One CPU

    For the last example, graph your original model for the S/9000/867 for each workload group, assuming a five-percent growth rate.
    To create the graph:
  • On the Forecast menu, click Graph Forecast to return to the Main Program window. Note the percent utilization for each workload group displayed in the global unvalidated workloads pane (see Figure 6.11).


  • Figure 6.11 Main Program window: global unvalidated workloads pane
    The CPU utilization for each workload group should read:
  • MMX: 29.5
  • LPSMID: 4.0
  • POSTING: 3.9
  • DETACH: 3.7
  • ATTACH: 44.5
  • SYSPROCS: 1.3
  • On the Forecast menu, click Forecast Options.
  • In the Forecast Options dialog box, deselect all of the CPUs except the S/9000/867 in the CPUs list box.
  • In the Workloads list box, deselect the All Workloads check box. Select each of the five workload groups individually.


  • Figure 6.12 Forecast Options dialog box, Options tab
  • Click OK to close the Forecast Options dialog box and save your changes.
  • On the Forecast menu, click Graph Forecast. The forecast graph displays.


  • Figure 6.13 Graph showing utilization by workload group for one CPU
    The utilization growth for each workload group is plotted based on the workload definition given in the data collection file and the constraints in the original model. As expected, the larger workload groups, JOBS and ORDER ENTR, contribute the most to the 85-percent system threshold. Some workload groups show a decline in CPU utilization. This is due to the fact that the CPU has reached its maximum load potential. Since these groups are less important and run in a lower priority status, they will receive less of the CPU resource as the higher priority groups take more.


    This type of forecasting can predict the impact of adding workload groups to an existing system. It is also useful in balancing workload groups across multiple systems.


    On the File menu, click Close. Save your sample file if desired.

    Lund Performance Solutions
    www.lund.com
    Voice: (541) 812-7600
    Fax: (541) 81207611
    info@lund.com
    TOCPREVNEXTINDEX