I'm running a CPU and memory heavy application for 3D reconstruction (www.3dsurvey.si if relevant) on a AMD opteron server (4CPUs, 12cores each, 128GB RAM). I noticed that the CPU is not utilized as expected due to (what I believe) page faults. We get 100k+ page faults per second when processing, while memory is used only around 50%. Average processor utilization we get is around 10%-20%. I also tried to disable pagefile (which is unadvised) with no improvement and same rate of page faults. Software normally uses all processors on regular PC.
To make question applicable to others
- Why do we get page faults with plenty of RAM still available?
- How to decrease number of page faults?