Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^4: What could cause excessive page faults?

by fullermd (Priest)
on Mar 11, 2010 at 06:34 UTC ( #827958=note: print w/replies, xml ) Need Help??


in reply to Re^3: What could cause excessive page faults?
in thread What could cause excessive page faults?

I am actually surprised that on a large 64 bit machine running some kind of *nix, that there are any page faults at all.

Are we sure there's actually even a problem? A page fault is not the same as paging (to swap). You'll take page faults any time you use memory, the first time you touch a page after you allocate it (on most *nix systems anyway; terms could mean totally different things on Windows, but I don't think they do).

  • Comment on Re^4: What could cause excessive page faults?

Replies are listed 'Best First'.
Re^5: What could cause excessive page faults?
by ikegami (Pope) on Mar 11, 2010 at 15:42 UTC

    Are we sure there's actually even a problem

    Yes. The OP's third snippet should take about 0.21 + (0.21-0.06) = 0.56s, but it's taking 31.48s.

Re^5: What could cause excessive page faults?
by Marshall (Abbot) on Mar 11, 2010 at 08:58 UTC
    I ran another benchmark (above) with 16M numbers. I think that it is very clear that memory paging is happening on my Win 32 bit XP Pro system.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://827958]
help
Chatterbox?
[hippo]: How about mod_perl? Was that installed from the CentOS packge or from source?
[vedagiri89]: from the source
[hippo]: But APR.pm is under vendor_perl in your error message so you are mixing up modules installed from the packager and by hand. That's rarely a good plan.
[vedagiri89]: the prm is..works fine if i run file directly..not working if i run through apache http file
[hippo]: Environments differ.
[vedagiri89]: so, how to fix that differ
[choroba]: option one is install everything from the vendor

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (10)
As of 2018-06-19 11:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (113 votes). Check out past polls.

    Notices?