Sponsored Content
Full Discussion: CPU performance
Operating Systems AIX CPU performance Post 302988585 by powerAIX on Thursday 29th of December 2016 02:10:48 AM
Old 12-29-2016
CPU performance

In my oracle db server we have 15 cores (power8). The output of the vmstat is as below.

Code:
System configuration: lcpu=128 mem=208800MB ent=16.00

   kthr            memory                         page                       faults                 cpu             time
----------- --------------------- ------------------------------------ ------------------ ----------------------- --------
  r   b   p        avm        fre    fi    fo    pi    po    fr     sr    in     sy    cs us sy id wa    pc    ec hr mi se
 31  26   0   21663391      51253 129782  5225     0     0 110978 318023 41193 302797 156113 43 20 33  5 14.76  92.3 11:05:36
 28  39   0   21674139      46016 129213 15721     0     0 134097 188404 42576 319091 172279 42 20 32  5 14.54  90.9 11:05:37
 34  36   0   21680968      46409 130385 13285     0     0 136618 141490 42035 385893 163647 45 20 30  5 14.93  93.3 11:05:38
 34  39   0   21669473      51955 115124 12338     0     0 107550 114801 38514 366075 154055 45 19 31  5 14.94  93.3 11:05:39
  0   0   0   21675046      50088 116082 14413     0     0 119399 359118 40334 429664 171751 43 21 30  6 14.64  91.5 11:05:40
 40  36   0   21660587      51752 137059  9433     0     0 123435 280612 42885 406191 176519 42 21 31  6 14.57  91.1 11:05:41
 40  28   0   21672996      47765 132584  1542     0     0 140214 276680 47654 409385 165033 42 21 31  5 14.79  92.4 11:05:42
 26  24   0   21692747      48527 124613  5004     0     0 144966 404145 45226 399544 163073 41 21 32  5 14.74  92.1 11:05:43
 30  29   0   21686313      45561 130212  3960     0     0 122430 127164 39446 371176 177801 43 21 31  5 14.69  91.8 11:05:44
 32  28   0   21668455      50598 137069  1746     0     0 121488 127432 46515 366503 174261 43 20 32  5 14.71  91.9 11:05:45
 26  33   0   21673035      50625 114717 10553     0     0 118945 380090 43050 303303 147158 42 19 34  5 14.61  91.3 11:05:46
 34  33   0   21695594      48900 115034  8768     0     0 135057 145302 41228 336146 149403 43 19 33  5 14.79  92.4 11:05:47
 25  33   0   21692935      50267 107122  6226     0     0 105233 190084 35381 361517 155287 46 18 31  4 15.07  94.2 11:05:48
 32  33   0   21686530      54135 100484  7210     0     0 98634 415431 35097 388896 162992 45 20 30  5 14.96  93.5 11:05:49
 31  32   0   21691954      47633 92779 13739     0     0 91240 422302 34362 343061 151114 45 20 31  5 14.88  93.0 11:05:50
 32  24   0   21700998      47232 94516 14072     0     0 102629 188748 36481 501056 132911 45 20 30  5 14.92  93.3 11:05:51

Now you can see the run queue and wait queue both are high also entitled capacity is also always 90%. The 15 to 25% cpu is always idle. So is there a cpu bottleneck on this system or its ok, no one complaining but want to know for myself.

Last edited by Don Cragun; 12-29-2016 at 03:46 AM.. Reason: Add CODE tags.
 

9 More Discussions You Might Find Interesting

1. AIX

Performance Problem - High CPU utilization

Hello everybody. I have a problem with my AIX 5.3. Recently my unix shows a high cpu utilization with sar or topas. I need to find what I have to do to solve this problem, in fact, I don't know what is my problem. I had the same problem with another AIX 5.3 running the same... (2 Replies)
Discussion started by: wilder.mellotto
2 Replies

2. News, Links, Events and Announcements

Announcing collectl - new performance linux performance monitor

About 4 years ago I wrote this tool inspired by Rob Urban's collect tool for DEC's Tru64 Unix. What makes this tool as different as collect was in its day is its ability to run at a low overhead and collect tons of stuff. I've expanded the general concept and even include data not available in... (0 Replies)
Discussion started by: MarkSeger
0 Replies

3. Solaris

Multi CPU Solaris system shows 100% CPU usage.

Hello Friends, On one of my Solaris 10 box, CPU usage shows 100% using "sar", "vmstat". However, it has 4 CPUs and prstat and glance are not showing enough processes to justify high CPU utilization. ========================================================================= $ prstat -a ... (4 Replies)
Discussion started by: mahive
4 Replies

4. Solaris

In Solaris Zones Dedicated-Cpu Performance?

Hi All, While creating zone we will mention min and max cpu cores, like add dedicated-cpu set ncpus=NUM_CPUS_MIN-NUM_CPUS_MAX end Ques1: Suppose thing that non global zone uses only minimum cores at particular time What the other cores will do, Will it shared to global zone? Ques:2... (1 Reply)
Discussion started by: vijaysachin
1 Replies

5. HP-UX

Bad performance but Low CPU loading?

There might be some problem with my server, because every morning at 7, it's performance become bad with no DB extra deadlock. But I just couldn't figure it out. Please give me some advise, thanks a lot... According to the CPU performace chart, Daily CPU loading Maximum: 42 %, Average:36%. ... (8 Replies)
Discussion started by: GreenShery
8 Replies

6. SCO

CPU Performance Problems on VMWARE

hi We have migrated SCO 5.0.6 into ESX4, but the VM eats 100% of the virtual CPU. Here is top print from the SCO VM: last pid: 16773; load averages: 1.68, 1.25, 0.98 02:08:41 79 processes: 75 sleeping, 2 running, 1 zombie, 1 onproc CPU states: 0.0% idle, 17.0% user,... (7 Replies)
Discussion started by: ccc
7 Replies

7. HP-UX

Performance - CPU spiking

We have a DB server which is constantly utilised above 95% above. This is becoming nuisance when the monitoring team frequently calls to check on it. Frankly I do not know what to tweak or even interpret the outputs. I noticed constant 30 to 60% in wio column of the cpu utilisation. There... (1 Reply)
Discussion started by: sundar63
1 Replies

8. Shell Programming and Scripting

AIX CPU performance script ?

I want to write a shell script which will print AIX CPU utilization memory utilization every 5 mins redirect to file. How do i do it? Please advise. Which commands I should use? (3 Replies)
Discussion started by: vegasluxor
3 Replies

9. Solaris

Understanding & Monitoring CPU performance (Load vs SAR)

Hi all, Been reading a lot of the cpu load and its "analogy of it to car traffic path of expressway" From wiki Most UNIX systems count only processes in the running (on CPU) or runnable (waiting for CPU) states. However, Linux also includes processes in uninterruptible sleep states... (13 Replies)
Discussion started by: javanoob
13 Replies
VMSTAT(8)						    BSD System Manager's Manual 						 VMSTAT(8)

NAME
vmstat -- report virtual memory statistics SYNOPSIS
vmstat [-afHhimPsz] [-M core [-N system]] [-c count] [-n devs] [-p type,if,pass] [-w wait] [disks ...] [wait [count]] DESCRIPTION
The vmstat utility reports certain kernel statistics kept about process, virtual memory, disk, trap and cpu activity. If the -M option is not specified, information is obtained from the currently running kernel via the sysctl(3) interface. Otherwise, infor- mation is read from the specified core file, using the name list from the specified kernel image (or from the default image). The options are as follows: -a When used with -i, include statistics about interrupts that have never been generated. -c Repeat the display count times. The first display is for the time since a reboot and each subsequent report is for the time period since the last display. If no repeat count is specified, and -w is specified, the default is infinity, otherwise the default is one. -f Report on the number fork(2), vfork(2) and rfork(2) system calls since system startup, and the number of pages of virtual memory involved in each. -h Changes memory columns into more easily human readable form. The default if standard output is a terminal device. -H Changes memory columns into straight numbers. The default if standard output is not a terminal device (such as a script). -i Report on the number of interrupts taken by each device since system startup. -M Extract values associated with the name list from the specified core. -N If -M is also specified, extract the name list from the specified system instead of the default, which is the kernel image the system has booted from. -m Report on the usage of kernel dynamic memory allocated using malloc(9) by type. -n Change the maximum number of disks to display from the default of 2. -P Report per-cpu system/user/idle cpu statistics. -p Specify which types of devices to display. There are three different categories of devices: device type: da Direct Access devices sa Sequential Access devices printer Printers proc Processor devices worm Write Once Read Multiple devices cd CD devices scanner Scanner devices optical Optical Memory devices changer Medium Changer devices comm Communication devices array Storage Array devices enclosure Enclosure Services devices floppy Floppy devices interface: IDE Integrated Drive Electronics devices SCSI Small Computer System Interface devices other Any other device interface passthrough: pass Passthrough devices The user must specify at least one device type, and may specify at most one device type from each category. Multiple device types in a single device type statement must be separated by commas. Any number of -p arguments may be specified on the command line. All -p arguments are ORed together to form a matching expression against which all devices in the system are compared. Any device that fully matches any -p argument will be included in the vmstat output, up to two devices, or the maximum number of devices specified by the user. -s Display the contents of the sum structure, giving the total number of several kinds of paging related events which have occurred since system startup. -w Pause wait seconds between each display. If no repeat wait interval is specified, the default is 1 second. The vmstat command will accept and honor a non-integer number of seconds. -z Report on memory used by the kernel zone allocator, uma(9), by zone. The wait and count arguments may be given after their respective flags at any point on the command line before the disks argument(s), or without their flags, as the final argument(s). The latter form is accepted for backwards compatibility, but it is preferred to use the forms with -w and -c to avoid ambiguity. By default, vmstat displays the following information: procs Information about the numbers of processes in various states. r in run queue b blocked for resources (i/o, paging, etc.) w runnable or short sleeper (< 20 secs) but swapped memory Information about the usage of virtual and real memory. Virtual pages (reported in units of 1024 bytes) are considered active if they belong to processes which are running or have run in the last 20 seconds. avm active virtual pages fre size of the free list page Information about page faults and paging activity. These are averaged each five seconds, and given in units per second. flt total number of page faults re page reclaims (simulating reference bits) pi pages paged in po pages paged out fr pages freed per second sr pages scanned by clock algorithm, per-second disks Disk operations per second (this field is system dependent). Typically paging will be split across the available drives. The header of the field is the first two characters of the disk name and the unit number. If more than two disk drives are configured in the system, vmstat displays only the first two drives, unless the user specifies the -n argument to increase the number of drives dis- played. This will probably cause the display to exceed 80 columns, however. To force vmstat to display specific drives, their names may be supplied on the command line. The vmstat utility defaults to show disks first, and then various other random devices in the system to add up to two devices, if there are that many devices in the system. If devices are specified on the command line, or if a device type matching pattern is specified (see above), vmstat will only display the given devices or the devices matching the pat- tern, and will not randomly select other devices in the system. faults Trap/interrupt rate averages per second over last 5 seconds. in device interrupts per interval (including clock interrupts) sy system calls per interval cs cpu context switch rate (switches/interval) cpu Breakdown of percentage usage of CPU time. us user time for normal and low priority processes sy system time id cpu idle FILES
/boot/kernel/kernel default kernel namelist /dev/kmem default memory file EXAMPLES
The command: vmstat -w 5 will print what the system is doing every five seconds; this is a good choice of printing interval since this is how often some of the sta- tistics are sampled in the system. Others vary every second and running the output for a while will make it apparent which are recomputed every second. The command: vmstat -p da -p cd -w 1 will tell vmstat to select the first two direct access or CDROM devices and display statistics on those devices, as well as other systems statistics every second. SEE ALSO
fstat(1), netstat(1), nfsstat(1), ps(1), systat(1), libmemstat(3), gstat(8), iostat(8), pstat(8), sysctl(8), malloc(9), uma(9) The sections starting with ``Interpreting system activity'' in Installing and Operating 4.3BSD. BUGS
The -c and -w options are only available with the default output. BSD
August 8, 2014 BSD
All times are GMT -4. The time now is 11:49 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy