niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » *nix » AIX
AIX performance tuning
Post new topic   Reply to topic Page 1 of 1 [6 Posts] View previous topic :: View next topic
Author Message
jpzhai@gmail.com
*nix forums beginner


Joined: 21 Apr 2006
Posts: 3

PostPosted: Fri Jul 21, 2006 2:27 am    Post subject: AIX performance tuning Reply with quote

vmstat:
kthr memory page faults cpu
----- ----------- ------------------------ ------------ -----------
r b avm fre re pi po fr sr cy in sy cs us sy id wa
0 1 88492 151331 0 0 0 0 0 0 13 663 84 2 1 0 96
0 1 88496 151327 0 0 0 0 0 0 7 411 68 2 1 0 97
1 1 88496 151327 0 0 0 0 0 0 7 651 73 2 2 0 96
1 1 88496 151327 0 0 0 0 0 0 9 412 71 2 1 0 97
2 1 88500 151323 0 0 0 0 0 0 12 652 77 4 1 0 95
0 1 88500 151323 0 0 0 0 0 0 7 405 72 1 2 0 98
1 1 88501 151322 0 0 0 0 0 0 8 657 69 2 2 0 97
1 1 88502 151321 0 0 0 0 0 0 7 416 69 0 0 0 99
1 1 88502 151321 0 0 0 0 0 0 9 628 75 1 1 0 99
2 1 88504 151319 0 0 0 0 0 0 12 452 84 1 0 0 99
iostat:
tty: tin tout avg-cpu: % user % sys % idle % iowait
0.0 394.0 0.0 1.0 0.0 99.0

Disks: % tm_act Kbps tps Kb_read Kb_wrtn
hdisk0 0.0 0.0 0.0 0 0
hdisk1 0.0 0.0 0.0 0 0
cd0 0.0 0.0 0.0 0 0
uptime:
09:25AM up 26 mins, 1 user, load average: 0.17, 0.19, 0.18
Can anyone pls tell me where is the bottleneck?
I dont know why the wait% of the CPU is so high.
ths
Back to top
Hajo Ehlers
*nix forums Guru


Joined: 23 Sep 2005
Posts: 344

PostPosted: Fri Jul 21, 2006 7:18 am    Post subject: Re: AIX performance tuning Reply with quote

jpzhai@gmail.com wrote:
Quote:
vmstat:
kthr memory page faults cpu
----- ----------- ------------------------ ------------ -----------
r b avm fre re pi po fr sr cy in sy cs us sy id wa
0 1 88492 151331 0 0 0 0 0 0 13 663 84 2 1 0 96
0 1 88496 151327 0 0 0 0 0 0 7 411 68 2 1 0 97
....
iostat:
tty: tin tout avg-cpu: % user % sys % idle % iowait
0.0 394.0 0.0 1.0 0.0 99.0

Disks: % tm_act Kbps tps Kb_read Kb_wrtn
hdisk0 0.0 0.0 0.0 0 0
hdisk1 0.0 0.0 0.0 0 0
cd0 0.0 0.0 0.0 0 0
uptime:
09:25AM up 26 mins, 1 user, load average: 0.17, 0.19, 0.18
Can anyone pls tell me where is the bottleneck?

Can you tell where to find a bag of gold ?

Quote:
I dont know why the wait% of the CPU is so high.

Neither i do.

Some more information would be usefull
Hardware
OS and ML Level
What process are running

Some points to check:
1) Network speed setup correctly ? - So no mismatch between network
card and any hub/switch. NFS used ? .

2) Some problem with your disk controller ? Run a test with dd against
the disk

3) Created a mirror and the mirror process is still running ?

hth
Hajo
Back to top
praveen
*nix forums beginner


Joined: 27 Dec 2005
Posts: 26

PostPosted: Fri Jul 21, 2006 9:43 am    Post subject: Re: AIX performance tuning Reply with quote

Hajo Ehlers wrote:

Quote:
jpzhai@gmail.com wrote:
vmstat:
kthr memory page faults cpu
----- ----------- ------------------------ ------------ -----------
r b avm fre re pi po fr sr cy in sy cs us sy id wa
0 1 88492 151331 0 0 0 0 0 0 13 663 84 2 1 0 96
0 1 88496 151327 0 0 0 0 0 0 7 411 68 2 1 0 97
...
iostat:
tty: tin tout avg-cpu: % user % sys % idle % iowait
0.0 394.0 0.0 1.0 0.0 99.0

Disks: % tm_act Kbps tps Kb_read Kb_wrtn
hdisk0 0.0 0.0 0.0 0 0
hdisk1 0.0 0.0 0.0 0 0
cd0 0.0 0.0 0.0 0 0
uptime:
09:25AM up 26 mins, 1 user, load average: 0.17, 0.19, 0.18
Can anyone pls tell me where is the bottleneck?

Can you tell where to find a bag of gold ?

I dont know why the wait% of the CPU is so high.

Neither i do.

Some more information would be usefull
Hardware
OS and ML Level
What process are running

Some points to check:
1) Network speed setup correctly ? - So no mismatch between network
card and any hub/switch. NFS used ? .

2) Some problem with your disk controller ? Run a test with dd against
the disk

3) Created a mirror and the mirror process is still running ?

hth
Hajo



Basically we will need the CPU utilisation detials ,which can be
obtianed from topas , since here we have a cpu wait time a big number
Back to top
steve.stamper@foremost.co
*nix forums beginner


Joined: 30 Jun 2006
Posts: 2

PostPosted: Fri Jul 21, 2006 10:58 am    Post subject: Re: AIX performance tuning Reply with quote

jpzhai@gmail.com wrote:
Quote:
vmstat:
kthr memory page faults cpu
----- ----------- ------------------------ ------------ -----------
r b avm fre re pi po fr sr cy in sy cs us sy id wa
0 1 88492 151331 0 0 0 0 0 0 13 663 84 2 1 0 96
0 1 88496 151327 0 0 0 0 0 0 7 411 68 2 1 0 97
1 1 88496 151327 0 0 0 0 0 0 7 651 73 2 2 0 96
1 1 88496 151327 0 0 0 0 0 0 9 412 71 2 1 0 97
2 1 88500 151323 0 0 0 0 0 0 12 652 77 4 1 0 95
0 1 88500 151323 0 0 0 0 0 0 7 405 72 1 2 0 98
1 1 88501 151322 0 0 0 0 0 0 8 657 69 2 2 0 97
1 1 88502 151321 0 0 0 0 0 0 7 416 69 0 0 0 99
1 1 88502 151321 0 0 0 0 0 0 9 628 75 1 1 0 99
2 1 88504 151319 0 0 0 0 0 0 12 452 84 1 0 0 99
iostat:
tty: tin tout avg-cpu: % user % sys % idle % iowait
0.0 394.0 0.0 1.0 0.0 99.0

Disks: % tm_act Kbps tps Kb_read Kb_wrtn
hdisk0 0.0 0.0 0.0 0 0
hdisk1 0.0 0.0 0.0 0 0
cd0 0.0 0.0 0.0 0 0
uptime:
09:25AM up 26 mins, 1 user, load average: 0.17, 0.19, 0.18
Can anyone pls tell me where is the bottleneck?
I dont know why the wait% of the CPU is so high.
ths

Dude. Usually Wait time can be burned from Disk I/O. Sometime TTY or
NIC but because your SystemCalls are so low, I'm guessing Disk. Quick
check - run topas and watch the disk for a while. Figure out what is
writing to what disk. Run diags on the disk. If database, see if you
can spread the tables out over several different disks. Faster
disks/access. I know it's frustrating. Good luck!
Back to top
Mark Taylor
*nix forums Guru Wannabe


Joined: 21 Feb 2005
Posts: 292

PostPosted: Fri Jul 21, 2006 12:52 pm    Post subject: Re: AIX performance tuning Reply with quote

Don't get caught up in this whole wait i/o thing. a single cpu system
with 1 i/o outstanding and no other runable threads (i.e. idle) will
have 100% wait i/o. There was a big discussion a couple of years ago on
removing the kernel tick as it has confused many many many techs.

So, if you have only 1 cpu, then you are going to have high wait i.o
figures, it does not mean your disk subsystem is slow.

First thing you need to do is work out where all the i/o when you hit
high wait i/o times, you can.

1. use iostat or nmon to get your disk busy % then look at what is on
that disk.
2. use filemon to get detaillled stats about the file / lv thats most
heavily used when you see the wait i/o shoot up.

Like someone has said above, identify the problem file / lv and spread
that across as many spindles / adapters as possible to get some
parallelism going.

Also, make sure you have enough aio servers defined ( or posix_aio
depending if your app uses them )

It may be work benchmarking your subsystem so that you know what it is
capable of, this may be a simple dd if=/dev/zero of=test.img bs=1024
count=10240000 & and check out nmon (a == adapter sub command) or it
could be a complex as buying some commercial software ..


Nigle has kindly put up some of his home grown software that can stress
disks as part of the nstress kit

Ref:
http://www-941.ibm.com/collaboration/wiki/display/WikiPtype/nstress

HTH
Mark Taylor
Back to top
Mark Taylor
*nix forums Guru Wannabe


Joined: 21 Feb 2005
Posts: 292

PostPosted: Fri Jul 21, 2006 12:56 pm    Post subject: Re: AIX performance tuning Reply with quote

Actually, looking at the iostat output your disks are not busy at all
(if thats all the disks on the system and your post was not truncated
that is) ..

check the errpt, see any disk errors ?

If not, then you may want to run a kernel trace and egrep out "return
from kwrite|return from kread" to see which procs are doing the i/o ..
this should point you in the right direction etc..

Rgds
MarkT
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [6 Posts] View previous topic :: View next topic
The time now is Sat Nov 22, 2008 8:10 pm | All times are GMT
navigation Forum index » *nix » AIX
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Performance and Consistency ?? likun.navipal@gmail.com Berkeley DB 4 Fri Jul 21, 2006 4:24 am
No new posts minperm and numperm tuning mychrislo@gmail.com AIX 0 Wed Jul 19, 2006 10:08 am
No new posts numperm and minperm tuning mychrislo@gmail.com AIX 0 Wed Jul 19, 2006 10:02 am
No new posts Performance problem News AIX 1 Wed Jul 19, 2006 9:55 am
No new posts Antw: Performance problem with query Christian Rengstl PostgreSQL 10 Tue Jul 18, 2006 6:24 pm

Loans | Credit Card Consolidation | Per Insurance | Personal Loans | Libros de historia
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.5428s ][ Queries: 16 (0.4078s) ][ GZIP on - Debug on ]