Start New Discussion within our Software Development Community


I have a little C-program and when I run I discover alot of page fault?!
How can I improve my C program to have it faster?

Pare it down to a smaller memory size AND/OR enlarge the size of the page, if possible.

Without seeing the code, it's impossible to say more.

As Adak said - without the code, there isn't much we can tell you. Usually these sort of problems are of the Homer Simpson variety - Doh! Head Slap! Once you see what is the issue... :-)

May be to improve my C program to have it faster is

o Fast code (option -O or -O2 or -O3...) of the compiler (optimizing code for
o Or, -Os, to have small code (cache effect) (like on x86 cpu from VIA)

This article has been dead for over six months. Start a new discussion instead.