Changes

Jump to: navigation, search

Memory page

103 bytes added, 10:42, 23 November 2011
Command line
Size of memory page is architecture and operating system dependant. On an x86 and x86_64 hardware, memory page is equal to 4KB. On an Intel Itanium (IA64) memory page size is 16KB.
<br />
You can get the actual value on your Linux/UNIX system with the '''getpagesize'''-Syscall. Here is a C Program that prints the pagesize on your system :
<codepre>
#include <unistd.h>
#include <stdio.h>
return 0;
}
</codepre>
compile with : <pre>gcc -o getpagesize getpagesize.c</pre>
You can get the page size in GNU/Linux from a terminal or shell:
getconf PAGE_SIZE
[[Category:Definitions]]
92
edits

Navigation menu