*
The moose likes Performance and the fly likes Relationship between JVM and Page Faults Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Performance
Bookmark "Relationship between JVM and Page Faults" Watch "Relationship between JVM and Page Faults" New topic
Author

Relationship between JVM and Page Faults

Thomas Young
Greenhorn

Joined: Jul 17, 2008
Posts: 29
Hi All,
I was just wondering what the relationship between Page Faults and the JVM is? When I start a Glassfish Application Server, I note that the java.exe process (in Windows XP) is reporting a growing large number of page faults. (Which I am observing with Sysinternals Process Explorer)

I am fairly new to the concept of Page Faults and any good links/books/references/advice would be appreciated.

I did some Googling and noted others reporting high page faulting for the JVM process, but couldn't find detailed specific "quality" knowledge about the JVM and Page faults, (just a wikipedia reference to page faults really).

Regards,
TY.
Dmitri Bichko
Greenhorn

Joined: Jun 16, 2007
Posts: 15
Hi Thomas,

Not sure what you are looking for, really, as there isn't much more to page faults than what's in the Wikipedia article. Glassfish is a complex beast, so you expect it to be loading a lot of data on startup, and of course the files needed by your applications, as well.

A high number of page faults in a running application may indicated a memory sizing issue, or need for some optimization, but what constitutes a "high" number is entirely dependent on what your application is doing. Of course if there's thrashing that's a definite problem.

Maybe have a look at some Glassfish (and Java webapps in general) monitoring/tuning articles? Those are certainly plentiful and easy to find.
 
 
subject: Relationship between JVM and Page Faults