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).
posted 6 years ago
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.