Huge PI in vmstat


 
Thread Tools Search this Thread
Operating Systems Solaris Huge PI in vmstat
# 1  
Old 08-08-2008
Huge PI in vmstat

This is something nowbody around me can explain:
vmstat (-S 5) shows a huge number of PI but when I try to monitor it in parallel with iostat - there is no IO activity to be seen that would correspond to this.

I have 16G RAM and 32G swap file.
I'll really appreciate if somebody can explain it.

kthr memory page disk faults cpu
r b w swap free si so pi po fr de sr s0 s1 s2 s3 in sy cs us sy id
0 0 68 32064376 282736 0 0 86 0 0 0 0 8 5 0 0 302 176 335 1 4 96
0 0 68 32064376 280200 0 0 6 0 0 0 0 0 0 0 0 286 131 305 0 2 97
0 0 68 32064376 280168 0 0 0 0 0 0 0 0 0 0 0 277 120 296 0 1 99
0 0 68 32064376 280168 0 0 6 0 0 0 0 1 0 0 0 283 132 298 0 2 97
0 0 68 32067088 285552 0 0 8 0 0 0 0 1 0 0 0 285 147 307 0 2 98
0 0 68 32066752 289824 0 0 157896899627 1958 5505 49408 89202 22 19 0 0 348 1282 379 3 6 91
0 0 68 32064072 292312 0 0 0 0 0 29192 0 13 13 0 0 306 125 305 0 3 97
0 0 68 32064072 291120 0 0 8 0 0 17256 0 0 1 0 0 282 136 312 0 2 97
0 0 68 32064072 290784 0 0 0 0 0 10208 0 0 0 0 0 279 123 306 0 2 98
0 0 68 32064072 290208 0 0 13702786999 0 0 6048 0 0 1 0 0 283 146 300 1 1 98
0 0 68 32064072 288408 0 0 14 0 0 3584 0 1 0 0 0 284 190 319 1 2 97
0 0 68 32064072 283880 0 0 6 0 0 2136 0 0 1 0 0 288 140 311 1 2 97
0 0 68 32064072 283792 0 0 0 0 0 1248 0 2 2 0 0 293 116 305 0 4 96
0 0 68 32064072 283608 0 0 5 0 0 448 0 0 0 0 0 291 134 315 0 1 99
0 0 68 32064072 281640 0 0 8 0 0 0 0 0 1 0 0 293 159 322 1 2 97
0 0 68 32064072 280408 0 0 6 0 0 0 0 0 0 0 0 290 130 303 0 2 97
0 0 68 32064072 280272 0 0 16 0 0 0 0 1 1 0 0 289 135 317 0 2 98
# 2  
Old 08-08-2008
vmstat output is almost unreadable when you do that. Please just cut and paste the output and surround the output with set of code tags. If you don't understand code tages, just do the cut and paste. If you leave the spaces one of us can add the code tags and make it readable.

My first inclination would be to check that my kernel is patched correctly. I/O to or from a memory mapped file can generate lots of page-in's with no I/O provided the pages are zero-fill-on-demand. But I have never seen numbers that high. Modern solaris version have a -p flag on vmstat and if you use that, zfod pi's will be listed in the mf column.
# 3  
Old 08-08-2008
Thank you very much, Perderabo. I do not understand coding, I just changed the size of the font to get it in one line.
Originaly it looks like that ( with -p ) - and it is not api but fpi
We just rebooted the machine and numbers in swap and free was changes - but PI still jumps to skyhigh level - I googled a lot last 3 days but I can not see anybody ever had the same problem :-(
Code:
   swap  free  re  mf  fr  de  sr  epi  epo  epf  api  apo  apf  fpi  fpo  fpf
 46587928 15396896 23 61 0  0   0    0    0    0    0    0    0    0    0    0
 46583400 15393392 12 93 0  0   0    0    0    0    0    0    0    0    0    0
 46583400 15393376 0 0  0   0   0    0    0    0    0    0    0 13716462422 0 0
 46583400 15393368 0 0  0   0   0    0    0    0    0    0    0    0    0    0
 46583400 15393368 0 0  0   0   0    0    0    0    0    0    0    0    0    0
 46583400 15393368 45 253 2 0   0    0    0    0    0    0    0    0    2    2
 46583400 15393368 0 0  0   0   0    0    0    0    0    0    0    0    0    0
 46583400 15393368 0 0  0   0   0    0    0    0    0    0    0    0    0    0

# 4  
Old 08-13-2008
in my views, from the above snapshot, the stats are not consistent, systems that experience performance problems will show symptoms of consistent stats. We not talking about consistent for only 10 or 20 minutes but for hours then only is it consider performance problems.
# 5  
Old 08-13-2008
thank you. I see now, we do not have it "for hours" - just 2-10 min, and then it is back to 0. The above example was from machine doing nothing just after restart. It's just something I thought might be a reason why our machine can not function without regular reboot every 2-3 months :-)

Anyway - thanks, I'll start looking into another direction.
# 6  
Old 08-14-2008
Are you running vxfs on any of your disks? If so what version?

There is a version of vxfs that overwrites a memory address that is used by kstat for reporting the vmstat PI values.
# 7  
Old 08-14-2008
Oh just found it again, the following version has the problem:
VERSION: 4.1,REV=4.1B18_sol_GA_s10b74L2a
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Linux

Vmstat

I m checking idle time using vmstat, below are the results var=$(ssh wmtmgr@$hostname vmstat | tail -1 | awk '{print $15}') 89 and now im subtracting 89 with 100 & im getting expected results expr 100 - $var 11 Now How can I get the result 11 in one line code? (4 Replies)
Discussion started by: sam@sam
4 Replies

2. Shell Programming and Scripting

vmstat

Hi I need to write a script to display VMSTAT every 5 seconds and I just need the memory columns - swap free re and just the numbers and the headers arent required. For example bash-3.00$ vmstat 5| awk '{print $4" "$5" "$6}' disk faults cpu ------ This header isnt required swap... (3 Replies)
Discussion started by: kapilk
3 Replies

3. Linux

vmstat help

Hi everyone, I need to see some VM manager performance/behavior information on some Linux boxes regarding pages scanned/activation of the paging algorithm in order to get an idea if a given server needs more memory and is actually paging. In Aix servers, by using the vmstat cmd you... (1 Reply)
Discussion started by: jcpetela
1 Replies

4. UNIX for Advanced & Expert Users

output of vmstat

i have 2 question about vmstat 1) pin (pagein) output of vmstat is always zero for our system what is the meaning of this? (pout significantly changes depending on the running processes) 2) sometimes react output of vmstat is given in K like 44K sometimes it is given without any unit... (1 Reply)
Discussion started by: gfhgfnhhn
1 Replies

5. UNIX for Advanced & Expert Users

vmstat vs uptime?

what is the relation between the output of vmstat (cpu/us, cpu/sy, cpu/id) and output of uptime command? it is said that "one can think of load average as a percentage of system utilization during the respective time period" i have load average values obtained from uptime command they are... (2 Replies)
Discussion started by: gfhgfnhhn
2 Replies

6. UNIX for Dummies Questions & Answers

vmstat

Hi I wanted to collect data by using vmstat -I 60 >xxxx.txt & using my own account It was stopped by it self after 2 hours try again same result We want to collect day date by succession how to collect data using vmstat for day Thank you (2 Replies)
Discussion started by: Syed_45
2 Replies

7. UNIX for Advanced & Expert Users

vmstat

Hi, what does mean the free colomne in out put of vmstat ? is it free espace of physical memory or of swap space on hard disk ? Thank you (4 Replies)
Discussion started by: big123456
4 Replies

8. UNIX for Dummies Questions & Answers

vmstat

When I exeute vmstat (e.g. vmstat 30 2), in some machines I get some wierd result as the first line. like: -117% or 208% for CPU idle percentage. But the second line is alright. Could someone explain this please. Thanks ! Chaadana (4 Replies)
Discussion started by: chaandana
4 Replies

9. UNIX for Dummies Questions & Answers

vmstat

Hi, In the unix command, "vmstat" we get information on Page memory. what does the "mf" - "minor fault" is? Regards, Anent (3 Replies)
Discussion started by: anent
3 Replies

10. UNIX for Dummies Questions & Answers

Vmstat

I have MATLAB INSTALLED IN MY SUN MACHINE >> WHENEVER I USE IT THE CPU USAGE SHOWS ABT 90% Seeing the vmstat shows that system calls and context switch counters reach a very high value . What are these counters ( Man pages do not give much info on that) .... The only thing i can make out that... (1 Reply)
Discussion started by: DPAI
1 Replies
Login or Register to Ask a Question