Home > Articles > Operating Systems, Server > Solaris

  • Print
  • + Share This
Like this article? We recommend

Like this article? We recommend

Performance Management Strategy

Performance management strategy starts with gathering activity data for all levels of the system stack. The data is used to check against the current system behavior and to estimate future performance.

You can analyze the historical data to determine the average values for the most important system statistics. You can use the historical data to determine the range of acceptable deviation from this normal value. These normal values can be used as threshold values to test the current system activity for signs of significant deviations.

The historical data can be analyzed for trends over time. Is system utilization or workload increasing, or is it steady? Are there any cycles within these changes –monthly or yearly? These simple trends can be extrapolated forward to predict future workload requirements.

As performance data is collected, it can be checked against the established thresholds determined earlier. Any significant deviations can be reported and investigated. This investigation uses the performance data that is being collected to drill down further to establish the cause of the anomalies.

The volume of data gathered about the system activity can be used to build a model of how the system behaves. Using the expected changes from the trend analysis, and other anticipated changes in workload, the future performance of the system can be estimated using this model. If there are any shortcomings in the results, the model can be changed in various ways to show what needs to be done to meet performance targets.

The following sections outline a performance management strategy by dividing the activities into two broad categories –gathering data and taking action.

Gathering Data

The following four steps define the basic concepts of performance management in a way that moves your management strategy from chaotic or reactive to the proactive or service level. To achieve and maintain these higher levels, you must continue to implement these steps, repeating them continually to stay in control.

  1. Define Goals

    Before you can check if any system is performing optimally, you first need to know what you expect it to be doing. Ultimately, this is to satisfy the business requirements for which the application was deployed.

    These requirements should be expanded further and form part of the Service Level Agreement (SLA), which defines the nature of the service that the system and application is expected to deliver. Then you need to define a number of key performance indicators (KPIs).

    The SLA is an end-user oriented document, using standard business terminology. KPIs are specific definitions of quantities to be measured, that together show that the SLA has been met. The SLA mentions the general targets of the system. The KPIs define exactly what to measure, how to measure it, and the allowed values. The KPIs are unambiguous so that there are no disagreements over what the target is, what is being measured, and what the system is achieving.

    For more information on the role of the SLA in the data center, how to create one, and how to define KPIs, refer to the Sun BluePrints_ article titled "Service Level Agreement in the Data Center" (for the URL to this article, see "References" on page 11).

  2. Define Workload

    With nothing else done, you might measure activity on a system and get a result of something like 80% CPU utilization. What is using 80% of the CPU? Further investigation is required to determine what is consuming the resources on the system.

    Structure the work on the system into well-defined workloads. Record resource consumption against the defined workloads. Workloads normally correspond to sets of processes (running programs), and it is straightforward to gather the process information and translate it into workload data.

    Workload breakdown is important for problem analysis, and for future capacity planning under changed or new workloads.

  3. Measure Performance

    When you implement the systems and the application software, you need to collect and store measurement data on what each system is doing.

    There are three primary types of measurements:

    • Latency—The elapsed time taken to perform one unit of work. From an end-user perspective, this is the response time of the application. But you can also measure the latency of individual actions and tasks within the system.

    • Throughput—A measure of the amount of work done in a period of time. Usually this is expressed as a number of transactions completed in a period of time. Throughput is a measure of the quantity of service, while latency is a measure of the quality of service.

    • Utilization—The amount of a fixed capacity resource that was used. Most often this is either for a resource that remains consumed until released, such as memory, or for a resource that has a renewable capacity for work for a given time period, such as CPU utilization. Normally, this is expressed as a percentage of the available capacity.

    These measurements need to be taken at all levels of the stack (hardware, operating system, database and middleware, and application levels) that make up the environment within each system.

    In collecting and storing these performance metrics, you automatically create a baseline of recorded activities which contributes to defining what is normal or typical usage. Save this data because you can use it later for comparison purposes.

  4. Analyze, Model, and Deduce

    With enough data collected about activity on each system, use the data to create a model of what each system is doing. Although this can be done manually, this is time consuming and awkward, and is accomplished much easier with software that is designed for this purpose (see "Performance Management Products" on page 4).

    The performance management software employs various mathematical techniques to represent the computer system and the flow of work through it. This can be done with enough accuracy that the calculated behavior of the system is very close to the actual system behavior.

    A common technique used is that of queuing networks. Each resource in the computer (CPU, memory, disk, network, and so on) is represented as a server with a finite capacity for processing, and a queue for holding requests in front of it. These resources are interconnected to represent the computer system.

    As work comes into the system, each resource server processes the respective requests. If requests arrive at a greater rate than the resource can process, then the requests sit in the given queue. In such situations, the total elapsed time for each request increases significantly as the requests first have to wait before being processed.

    By changing characteristics of each server, such as the processing capacity or the number of server entities, or by changing the arrival rate of work, different scenarios can be modeled and their performance evaluated.

Taking Action

Take the appropriate action based on the results gathered.

Correct Performance Problems

If you identified any performance problems while gathering performance data, take the time to fix the performance problems at this time. The goal is to identify the root cause of the performance problem. This can be done by using any preferred analysis technique, or by using the model created in the data gathering stage. The model can show you which resources are being saturated, which has the longest queue, and where most time is spent during a transaction.

The model can also help to show the real cause of the problem. You can change the characteristics of the identified resource (increasing its performance or adding more of it), and see the effect on the calculated performance of the system. If the performance improves significantly, then you have identified the root cause of the problem. It is possible that there might be more than one overloaded resource contributing to the poor performance of the system, and each resource needs to be identified in turn.

Monitor Ongoing Performance

Once the initial system activity measurements are taken, you need to continually monitor performance to ensure that performance remains within targets.

The simplest form of monitoring involves running regular reports and comparing the results with the baselines established earlier. Start by identifying any performance issues that are outside of the targets. This narrows down the number of systems for further investigation. For the systems that exceed the targets, you can also report on the level of deviation from the expected values.

Additionally, you can take the KPIs and the normal values for the system and use these as threshold values for your monitoring software. An alarm is raised when a value exceeds the threshold. You can set ranges of values for allowable deviations and implement a hierarchy of alarm levels. A simple example uses colors where green indicates a system within threshold values, yellow for a warning (for example, a system five percent over the threshold value), and red for critical situations. More sophisticated examples have more levels between good and critical.

Configure the alarm thresholds according to the most important KPIs, otherwise there will be more alarms than necessary.

Control Resources

With a clear understanding of the resources normally consumed by the application, you can choose to impose limits on the amount of resources the application is allowed to consume. This is a more proactive form of control. This is most useful on systems that concurrently run more than one application, and can stop one application from grabbing all resources on a system to the detriment of the other applications.

Resource controls can be implemented in hardware or software. With hardware controls, the resources are physically separated to control resource allocation. This is a form of a hard limit. Examples of hardware resource controls include separate systems, domains within a Sun server (logical systems within a single physical chassis), and processor sets.

With software controls, either the operating system or middleware restricts the amount of resources used. With some software controls it is possible to dynamically change resource allocation and to allow active applications to use resources that are unused by the other applications. This is a form of soft limit. An example of this is the Solaris_ Resource Manager software, which allocates shares of a resource to groups of processes.

Track Changes for Capacity Planning

With stable, well-performing systems under constant monitoring, you will build up a large collection of data of measured system activity. After several months, you will be able to perform trend analysis to see if the system workload is static or growing. The data might reveal linear, non-linear, or periodic peaks and troughs.

If there is a significant increase in system activity, examine the data to determine which workload is contributing to the increase. If growth continues, use the model created earlier to predict if the thresholds will be exceeded, and when.

It is important to know that performance degradation does not occur in a linear fashion. When a resource becomes saturated and a queue forms, response time increases substantially, often doubling very quickly. This is not obvious from a straight line extrapolation of system workload. But the modeling software will correctly report the nonlinear increase.

Once you identify an increase in workload, you can use the model to estimate future performance by applying simulated changes to the workloads, and by adding workloads. The model calculates the resulting performance benefits or hindrances. If the results do not meet the targets specified in the SLA and KPIs, investigate changing the resources in the model.

First, identify the saturated resources. Using the model, experiment by replacing the saturated resources with additional resources (more disks, processors, and so on), or by upgrading the resources for faster versions. This allows you to calculate in advance how much computer hardware is required for a certain workload. The result is superior to waiting until the system becomes saturated and performance is unacceptable.

Investigate Consolidation of Resources

Use the measured system activity data and models to calculate the effects of server consolidation.

In simple terms, you can combine the resource profiles of each separate application, and end up with a final system configuration. This is accomplished by combining the resource profiles and then combining the system behavior models. Then model the behavior of the new combinations with the desired workload. Any contention between the workloads and resources are revealed. You can change the model to increase the critical resources, and recalculate the performance.

  • + Share This
  • 🔖 Save To Your Account

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.informit.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020