<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.openvz.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Spirit</id>
	<title>OpenVZ Virtuozzo Containers Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.openvz.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Spirit"/>
	<link rel="alternate" type="text/html" href="https://wiki.openvz.org/Special:Contributions/Spirit"/>
	<updated>2026-06-13T16:32:24Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.1</generator>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Memory_page&amp;diff=2581</id>
		<title>Memory page</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Memory_page&amp;diff=2581"/>
		<updated>2006-12-13T00:39:24Z</updated>

		<summary type="html">&lt;p&gt;Spirit: corrected format issues with #-sign&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Memory page''' is a range of consecutive addresses in the virtual address space whose size is a power of two. Those virtual addresses are translated in a corresponding range of consecutive physical addresses. The memory referenced by such a range is called a '''page'''.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
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 :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#include &amp;lt;unistd.h&amp;gt;&lt;br /&gt;
#include &amp;lt;stdio.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
int main(int argc, char* argv[])&lt;br /&gt;
{&lt;br /&gt;
        long sz = sysconf(_SC_PAGESIZE);&lt;br /&gt;
        printf(&amp;quot;memory pagesize on this box : %i\n&amp;quot;, sz);&lt;br /&gt;
        return 0;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
compile with : &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
gcc -o getpagesize getpagesize.c&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Definitions]]&lt;/div&gt;</summary>
		<author><name>Spirit</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Memory_page&amp;diff=2580</id>
		<title>Memory page</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Memory_page&amp;diff=2580"/>
		<updated>2006-12-13T00:34:28Z</updated>

		<summary type="html">&lt;p&gt;Spirit: added C code to print pagesize on unix systems&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Memory page''' is a range of consecutive addresses in the virtual address space whose size is a power of two. Those virtual addresses are translated in a corresponding range of consecutive physical addresses. The memory referenced by such a range is called a '''page'''.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
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 :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
#include &amp;lt;unistd.h&amp;gt;&lt;br /&gt;
#include &amp;lt;stdio.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
int main(int argc, char* argv[])&lt;br /&gt;
{&lt;br /&gt;
        long sz = sysconf(_SC_PAGESIZE);&lt;br /&gt;
        printf(&amp;quot;memory pagesize on this box : %i\n&amp;quot;, sz);&lt;br /&gt;
        return 0;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
compile with : gcc -o getpagesize getpagesize.c&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Definitions]]&lt;/div&gt;</summary>
		<author><name>Spirit</name></author>
		
	</entry>
</feed>