The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
fre in vmstat Negm AIX 1 10-26-2006 07:53 AM
vmstat Syed_45 UNIX for Dummies Questions & Answers 2 07-27-2006 03:16 PM
vmstat big123456 UNIX for Advanced & Expert Users 4 12-21-2005 06:56 AM
vmstat chaandana UNIX for Dummies Questions & Answers 4 04-18-2005 08:11 AM
Vmstat DPAI UNIX for Dummies Questions & Answers 1 09-19-2001 08:55 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 11-26-2001
anent anent is offline
Registered User
  
 

Join Date: Oct 2001
Location: India
Posts: 45
vmstat

Hi,
In the unix command, "vmstat" we get information on Page memory.
what does the "mf" - "minor fault" is?

Regards,
Anent
  #2 (permalink)  
Old 11-26-2001
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,111
If this is Solaris, they are page faults which the cpu could handle by doing very little work. The usual case is that the look-aside buffer in the mmu simply needed to have a pte loaded. This would usually be caused by a process arriving in a new cpu.
  #3 (permalink)  
Old 11-26-2001
anent anent is offline
Registered User
  
 

Join Date: Oct 2001
Location: India
Posts: 45
Thanks

Thanks Perderabo,
DO you mean that a new process arriving to a CPU causes this situation.

Anent
  #4 (permalink)  
Old 11-27-2001
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,111
No, a new process will cause real page faults that require stuff to be read into core. For a minor fault to happen, the stuff must already be in core.

Imagine a process running in a cpu. It does i/o and must wait for the i/o to complete. So the cpu finds another process and runs it. When the i/o completes the process will run again. But if the system has several cpus, it may wind up in a different one. The TLB is in the cpu. This cpu is seeing this process for the first time. The cpu will generate lots of page faults and all the kernel needs to do is shove some ptes in this cpu's tlb. I thought this would be the most common case.

But last night I looked this up in a book I have at home called Solaris Internals. The authors say that the most common source of minor faults is from processes that attach shared segments to themselves, particularly shared libraries. This makes sense, shared libraries are very commonly used.

If you do "vmstat -s" you will see that Solaris also has a notion of "micro faults". These are page faults due to illegal addresses and cause the kernel to simply deliver a sigsegv to the offending process. I am not sure if these are counted in the "mf" field of the regular vmstat output. That book ignores them.
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 05:51 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0