Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

Memory page

16 bytes added, 00:39, 13 December 2006
m
corrected format issues with #-sign
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;
}
</codeprecompile with : gcc -o getpagesize getpagesize.c
compile with :
<pre>
gcc -o getpagesize getpagesize.c
</pre>
[[Category:Definitions]]
2
edits