Sponsored Content
Operating Systems AIX Hard disk usage is 100 Percent Busy for any command Post 302145409 by bakunin on Wednesday 14th of November 2007 05:18:50 AM
Old 11-14-2007
Sorry, but i can't tell you "how to improve the performance" because i don't know why the performance is bad - i simply do not know your system!

I take your word that CPU and memory is not an issue (wonder how you came to this conclusion, but anyways) and will concentrate on what else might be the culprit. Possible reasons include (but are in no way limited to):

Maybe your SAN-subsystem has a problem. If it is a ESS look into the errorlog of the system: the SSA-adapters there have batteries supporting the fast-write-cache, these batteries need to be changed from time to time and empty batteries shut down the FW-cache. This could also be watched by dramatically low write-performance together with a normal read-performance.

Maybe you have native SSA-loops, then the problem directly arises with the cache of the adapter. Look in the error-log it should be mentioned there.

Maybe your filesystem has hotspots, get a trace of the filesystem. Use "vmstat -v" to get a first impression or "filemon"/"trcstop" to get a report. A typical trace would look like:

filemon -u -O all -o /tmp/filemon.out ; sleep 10 ; trcstop

If you see in the output that the trace buffers are too small make them bigger by using the -T option:

filemon -u -O all -T 512000 .....

The output is pretty self-explanatory.

If it is an internal disk look into your errorlog for disk failures. Usually this starts with hdisk3-type errors, which are temporary and ends in hdisk4-type errors, which are permanent. The reason is that disks have some spare blocks and bad block relocation takes place first - temporary errors - but once the spare blocks are exhausted damage for the PP can't be prevented - permanent error.

Maybe you are slowing down your filesystem by bad layout - use LVM tools to get map files of all the filesystems and analyze them.

Maybe your system is slow because it is swapping all the time - have a look at the output of "svmon -G" and compare the memory pages "inuse" and "virtual". If "virtual" is much bigger than "inuse" that hints to more memory needed by the running applications than there is. Multiply the number by 4k (size of a memory page) to get a rough estimation of how much more memory you need.

and, and, and .... I could go on for hours with similar considerations, all starting with "maybe". Unless you provide no data nobody can tell you anything about your system.

bakunin
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

disk usage command on unix?

hi, Can anyone tell me how I make a tree on the console showing the largest folders on my UNIX system? I want to know where are located the biggest files so I can free some disk space. thanks a lot. (3 Replies)
Discussion started by: gandoura
3 Replies

2. HP-UX

how can i get hard disk usage

I want to get hard disk usage hard disk usage= already allocated/total allocated first I use ioscan -kfnC disk get disk name c#t#d# then I use diskinfo /dev/rdsk/c#t#d# but this command can only get total disk size,not disk usage has any command can get that thanks:) (2 Replies)
Discussion started by: alert0919
2 Replies

3. Solaris

Command to List Hard Disk Information

I have a SparcStation5 that is making sounds that make me think the disk drive(s) may be on the verge of quiting. What is the command to list the disk types and sizes? I'm thinking I can possibly pick up another drive or two and compy the exisiting drives while they are still working. (1 Reply)
Discussion started by: muletrainman
1 Replies

4. Shell Programming and Scripting

Unix - Disk usage command

Hi, I need a command that gives me the user who is using more space in the unix box (1 Reply)
Discussion started by: abinaya
1 Replies

5. UNIX for Dummies Questions & Answers

Total cpu usage in percent(%)

How to determine the total percentage cpu usage of a server having 4 cpu cores(quad core)? (3 Replies)
Discussion started by: proactiveaditya
3 Replies

6. Linux

C++ Code to Access Linux Hard Disk Sectors (with a LoopBack Virtual Hard Disk)

Hi all, I'm kind of new to programming in Linux & c/c++. I'm currently writing a FileManager using Ubuntu Linux(10.10) for Learning Purposes. I've got started on this project by creating a loopback device to be used as my virtual hard disk. After creating the loop back hard disk and mounting it... (23 Replies)
Discussion started by: shen747
23 Replies

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

8. AIX

Command to check the busy % for a hard disk device like hdisk5

Please help with command to check the busy % for a hard disk device like hdisk5 Best regards, Vishal (7 Replies)
Discussion started by: Vishal_dba
7 Replies

9. UNIX for Dummies Questions & Answers

Memory usage per user,percent usage,sytem time in ksh

Let's say i have 20 users logged on Server. How can I know how much memory percent used each of them is using with system time in each user? (2 Replies)
Discussion started by: roy1912
2 Replies

10. Shell Programming and Scripting

Need Generic command for disk space usage

Given this directory /web I need to get the current usage (in %) on Linux and Unix both using the same command on bash shell ? The command i tried was working on Unix (solaris) but does not filter the desired same value when run of Linux. My command df -h /web | awk '{print $5}' | sed -n... (5 Replies)
Discussion started by: mohtashims
5 Replies
PMCCONTROL(8)						    BSD System Manager's Manual 					     PMCCONTROL(8)

NAME
pmccontrol -- control hardware performance monitoring counters SYNOPSIS
pmccontrol [-c cpu | -d pmc | -e pmc] ... pmccontrol -l pmccontrol -L pmccontrol -s DESCRIPTION
The pmccontrol utility controls the operation of the system's hardware performance monitoring counters. OPTIONS
The pmccontrol utility processes options in command line order, so later options modify the effect of earlier ones. The following options are available: -c cpu Subsequent enable and disable options affect the CPU denoted by argument cpu. The argument cpu is a number denoting a CPU in the system, or ``*'', denoting all unhalted CPUs in the system. -d pmc Disable PMC number pmc on the CPU specified by -c, preventing it from being used till subsequently re-enabled. The argument pmc is a number denoting a specific PMC, or ``*'' denoting all the PMCs on the specified CPU. Only idle PMCs may be disabled. -e pmc Enable PMC number pmc, on the CPU specified by -c, allowing it to be used in the future. The argument pmc is a number denoting a specific PMC, or ``*'' denoting all the PMCs on the specified CPU. If PMC pmc is already enabled, this option has no effect. -l List available hardware performance counters and their current disposition. -L List available hardware performance counter classes and their supported event names. -s Print driver statistics maintained by hwpmc(4). EXAMPLES
To disable all PMCs on all CPUs, use the command: pmccontrol -d* To enable all PMCs on all CPUs, use: pmccontrol -e* To disable PMCs 0 and 1 on CPU 2, use: pmccontrol -c2 -d0 -d1 To disable PMC 0 of CPU 0 only, and enable all other PMCS on all other CPUs, use: pmccontrol -c* -e* -c0 -d0 DIAGNOSTICS
The pmccontrol utility exits 0 on success, and >0 if an error occurs. SEE ALSO
pmc(3), pmclog(3), hwpmc(4), pmcstat(8), sysctl(8) HISTORY
The pmccontrol utility first appeared in FreeBSD 6.0. AUTHORS
Joseph Koshy <jkoshy@FreeBSD.org> BSD
November 9, 2008 BSD
All times are GMT -4. The time now is 02:41 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy