How to measure waiting time in run queue?


 
Thread Tools Search this Thread
Operating Systems AIX How to measure waiting time in run queue?
# 1  
Old 05-03-2013
How to measure waiting time in run queue?

Hello guys,

I am doing a performance analysis on one of our psystem. Most of time I am using Nmon analyser to do my trend graph. But I can't find any help with it. We are interesting in the time spend by tasks in Aix run queue.

After looking the Aix documentation, I am pessimist to find any straight metric in order to measure that time.

So I need your help Smilie

Regards

Tech infos : Aix 6.1.6 on Power7
# 2  
Old 05-05-2013
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!
# 3  
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
# 4  
Old 05-06-2013
This also give me more to think about.

AIX 6.1 - which TL, how recently patched?
"Applications" - level and patch levels

Quote:
We are investigating divergence between real CPU consumption versus 'sap + rac oracle + gpfs' benchmarks
How are you defining real CPU consumption?

Also,
Is the a shared, or dedicated processor partition?

If shared: how much entitlement; how many VP; how many active threads (normally); what is overal system utilization; how many activated processors. Partition utilization using the command
Code:
# lparstat 6 10 # simple command to review processor utilization for 60 seconds

please only outputs during "stress". "Idle" may also be presented, but only as a comparision.

And, what also helps - a ballpark figure of what you expected to see compared to what you are seeing.

Ah yes, almost forgot: Power7 Model and Firmware level.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

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. 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

7. 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

8. 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

9. 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
Login or Register to Ask a Question