Sponsored Content
Operating Systems AIX How to measure waiting time in run queue? Post 302803019 by GiiGii on Sunday 5th of May 2013 05:45:03 PM
Old 05-05-2013
Quote:
Originally Posted by MichaelFelt
This would depend on what you are trying to collect.

One, classic approach, might be to use sar perhaps.

A different approach would be to use AIX Advanced Accounting.

If you are looking for a deep approach, and are looking at a specific process (rather than all processes) of a know PID and/or TID you could use various trace based tools (e.g., tprof, curt, etc) and/or trace and trcrpt. Rather than PID this could also be command name - there are too many options to name them all.

And, another option could be using probevue mechanism.

Hope this helps!

Hello,

Thank you for your answers. I should have specify my working environment :

Business app : SAP R3 on Oracle Cluster-ware
DB : Oracle 11g + RAC
FS : GPFS
OS : AIX 6.1
Servers : IBM psystem (Power7 CPU)

We are investigating divergence between real CPU consumption versus 'sap + rac oracle + gpfs' benchmarks in order to challenge our advanced support from SAP and Oracle.

By the way, I am not a AIX sysadmin neither I am an AIX expert. And unfortunately, I do not have hands over the system. To do something on the system, I have to ask our contractor in charge of. However, I understand thing well ... I think Smilie

About your propositions :

First thing first, I want just graph this waiting time over the time no matter the process. I should read more carefully the SAR doc. I didn't know about the AIX advanced accouting system. Hence, I printed the doc and now I have to read it Smilie

If we find something particuliar, I may go for a deep analysis but not with a real time trace I that is possible. We ran some CURT (3 time 1 minutes) and heavily impacted our 6000 users :x

Thank you again for your time. I will be certainly back with others questions and I hope results.

Regards
 

9 More Discussions You Might Find Interesting

1. HP-UX

Run Queue Thresholds

Gurus, Having a GS1280 box with OSF1 v5.1 installed (16 processors), the run queue value from the vmstat command reports a very high value (about 25 to 30). Does this reflect a CPU bound system. Note that the average CPU utilization is about 60 % which means that the CPU is not that loaded. Can... (0 Replies)
Discussion started by: Negm
0 Replies

2. AIX

Waiting time of Process

Hi all, I am trying to find out the process wait time on Unix(AIX/SOLARIS) machine( only sh/ksh/csh): Like EXAMPLE 1 : $ vmstat 2 System configuration: lcpu=16 mem=32000MB kthr memory page faults cpu ----- -----------... (4 Replies)
Discussion started by: chandrakala.sg
4 Replies

3. UNIX for Dummies Questions & Answers

Display just CPU run queue number (Nothing Else)

Im using the vmstat command to display the CPU run queue, but i want to put that into a program so is there a way to just display the number under the r? Thanks, (1 Reply)
Discussion started by: RAFC_99
1 Replies

4. UNIX for Advanced & Expert Users

How to measure g++ performance?

I am working on an application with some rather interesting build performance issues. If we build on Solaris/Linux x86/AMD64 the build is rather fast, but it takes more than five times as long on our Solaris Sparc servers (single-threaded builds on the workstations, but multi-threaded on the... (5 Replies)
Discussion started by: Elric of Grans
5 Replies

5. Shell Programming and Scripting

Run from waiting mode

I have no idea why this job has been put into waiting state by server. Can anyone help me to run this job from waiting state. ps -elf | grep 'usr_script' 4 S usr_script 3929 3926 0 77 0 - 2976 wait Oct21 ? 00:00:00 /bin/ksh /application_folder/script/report 0 S usr_script ... (2 Replies)
Discussion started by: zooby
2 Replies

6. Linux

How to Calculate Disk Queue length and Disk Busy Time

Hi, Am doing an enhancements related to monitoring a Linux disk I/O statistics. The /proc/diskstats file is used to get the each disk I/O statistics. But, It returns the raw value. How to calculate the Disk Queue Length and Disk Busy time from the raw values. Guide me. (1 Reply)
Discussion started by: maruthu
1 Replies

7. Shell Programming and Scripting

waiting on jobs in bash, allowing limited parallel jobs at one time, and then for all to finish

Hello, I am running GNU bash, version 3.2.39(1)-release (x86_64-pc-linux-gnu). I have a specific question pertaining to waiting on jobs run in sub-shells, based on the max number of parallel processes I want to allow, and then wait... (1 Reply)
Discussion started by: srao
1 Replies

8. UNIX for Advanced & Expert Users

idle% cpu and run queue

Hi Everybody, Can anybody explain how CPU idle% is about 50%, but runq-sz more than 1? sar from Solaris 10: 00:00:05 %usr %sys %wio %idle 17:00:08 27 12 0 61 17:20:05 40 15 0 45 17:40:05 27 12 0 61 18:00:05 23... (2 Replies)
Discussion started by: sant
2 Replies

9. Solaris

How to measure IOPS?

Hi I have a system running solaris 10, and I intend to use a NetApp as its storage system. The application requires a throughput between the server and the storage 7000 disk IOPS (random IO sustained throughput with response time of 20 mili second and 16k block size). How to make sure that I... (6 Replies)
Discussion started by: fretagi
6 Replies
BOOTCHART.CONF(5)						  bootchart.conf						 BOOTCHART.CONF(5)

NAME
bootchart.conf - Boot performance analysis graphing tool configuration file SYNOPSIS
/etc/systemd/bootchart.conf DESCRIPTION
When starting, systemd-bootchart will read the configuration file bootchart.conf. This configuration file determines logging parameters and graph output. OPTIONS
Samples=500 Configure the amount of samples to record in total before bootchart exits. Each sample will record at intervals defined by Frequency=. Frequency=25 Configure the sample log frequency. This can be a fractional number, but must be larger than 0.0. Most systems can cope with values under 25-50 without impacting boot time severely. Relative=no Configures whether the left axis of the output graph equals time=0.0 (CLOCK_MONOTONIC start). This is useful for using bootchart at post-boot time to profile an already booted system, otherwise the graph would become extremely large. If set to yes, the horizontal axis starts at the first recorded sample instead of time=0.0. Filter=no Configures whether the resulting graph should omit tasks that did not contribute significantly to the boot. Processes that are too short-lived (only seen in one sample) or that do not consume any significant CPU time (less than 0.001sec) will not be displayed in the output graph. Output=[path] Configures the output directory for writing the graphs. By default, bootchart writes the graphs to /run/log. Init=[path] Configures bootchart to run a non-standard binary instead of /sbin/init. This option is only relevant if bootchart was invoked from the kernel command line with init=/usr/lib/systemd/systemd-bootchart. PlotMemoryUsage=no If set to yes, enables logging and graphing of processes' PSS memory consumption. PlotEntropyGraph=no If set to yes, enables logging and graphing of the kernel random entropy pool size. ScaleX=100 Horizontal scaling factor for all variable graph components. ScaleY=20 Vertical scaling factor for all variable graph components. SEE ALSO
systemd-bootchart(1), systemd.directives(7) systemd 208 BOOTCHART.CONF(5)
All times are GMT -4. The time now is 08:39 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy