No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Performance Monitoring Guide

OceanStor Dorado V3 Series V300R002

This document describes performance monitoring of storage systems, including the monitoring method, indicator planning, configuration monitoring, and problem diagnosis.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Checking Host Memory or CPU Usage

Checking Host Memory or CPU Usage

Insufficient memory or high CPU usage affects the service delivery capability of a host, leading to performance deterioration.

Windows Hosts

On a Windows host, use Performance Monitor delivered with Windows or Windows task manager to query the memory and CPU usage. Windows task manager is used as an example to illustrate the detailed operation steps.

  1. Start the task manager.

    1. Choose Start > Run.

      The Run dialog box is displayed.

    2. Enter taskmgr and click OK.

      The Windows Task Manager window is displayed.

  2. Click the Performance tab. View the memory and CPU usage of the host.

    Figure 4-3 Memory and CPU usage of a host

Linux Hosts

On a Linux host, run top, a performance analysis tool, to display the resource usage of each process in real time.

  1. Log in to a Linux host as user root.
  2. Run top to view the resource usage of each process.

    In the preceding command output, 99.7%id indicates the idle percentage of CPU0, and 100%-99.7% indicates the usage of CPU0.

AIX Hosts

  • Checking memory usage

    Run lsattr -El mem0 to view memory usage.

    Run vmstat to view the usages of virtual and actual memory.

    • page indicates the times of storing a page to and obtaining a page from the cache.
    • If pi and po are often not 0, it indicates that the memory is insufficient.
    • wa indicates the time spent waiting for I/Os and is not too large generally.
    • avm (unit: 4 KB) indicates the number of active virtual pages allocated to a working segment when a process is running. A smaller avm is better. avm does not include file system cache.
    • fre indicates the number of free lists. If fre is smaller than 120, the system automatically closes processes to release free lists.
  • Viewing CPU

    Run lsdev -Cc processor to view the number of CPU cores.

    Run sar parm1 parm2 to view CPU usage. parm1 indicates printing frequency. parm2 indicates the printing times.

If the sum of %usr and %sys is greater than 80%, CPUs become a bottleneck of system performance. Run ps aux | head -4 to view the top three processes that occupy CPUs.

%CPU indicates the percentage of the CPU time used by a process. %MEM indicates the percentage of the memory used by a process.

VMware ESXi Hosts

For VMware ESXi hosts, perform the following operations to view host memory and CPU usages.

  1. Run esxtop and press Enter to view CPU performance statistics.

  2. Enter M to switch to memory performance statistics.

  3. Enter F to go to the following page. Items with asterisks are monitored. If an item has not been monitored, monitoring will be enabled if you enter the letter before the item. If an item has been monitored, monitoring will be canceled if you enter the letter before the item. Press Enter to return to the main page.

Follow-up Procedure

In performance-intensive application scenarios, if the memory or CPU usage on the host side is high, replace with higher-performance hosts or add further hosts for parallel testing.

Translation
Download
Updated: 2019-07-17

Document ID: EDOC1100049152

Views: 11470

Downloads: 77

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next