Re: SHMALL y PAGE_SIZE

From: Juanky Moral <juanky(dot)moral(at)gmail(dot)com>
To: Juanky Moral <juanky(dot)moral(at)gmail(dot)com>, Lista postgreslq Postgresql <pgsql-es-ayuda(at)postgresql(dot)org>
Subject: Re: SHMALL y PAGE_SIZE
Date: 2005-11-21 18:07:31
Message-ID: 463a53a40511211007g4c8c663fg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

Lo encontré :)
El valor de PAGE_SIZE es de 4KB (el mismo para linux 2.6 que para linux 2.4):

/usr/src/linux/include/asm-i386/page.h

/* PAGE_SHIFT determines the page size */
#define PAGE_SHIFT 12
#define PAGE_SIZE (1UL << PAGE_SHIFT)
#define PAGE_MASK (~(PAGE_SIZE-1))

PAGE_SIZE es 4096 ( = 1<<12 ).

--
Juanky Moral - www.juancarlosmoral.es

In response to

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Miguel 2005-11-21 18:18:21 max_connections y unix sockets
Previous Message Mario Soto Cordones - Venezuela 2005-11-21 15:11:40 Re: Encuentro Sobre Postgres