Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> Is TLB Linux-only?
Well, the "TLB" is a feature of the CPU, so no. Many modern processors
support large TLB pages in some fashion.
However, the specific API for using large TLB pages differs between
operating systems. The API I'm planning to implement is the one
provided by recent versions of Linux (2.5.38+).
I've only looked briefly at enabling the usage of large pages on other
operating systems. On Solaris, we already use large pages (due to
using Intimate Shared Memory). On HPUX, you apparently need call
chattr on the executable for it to use large pages. AFAIK the BSDs
don't support large pages for user-land apps -- if I'm incorrect, let
> Why use it and non SysV memory?
It's faster, at least in theory. I posted these links at the start of
> Is it a lot of code?
I haven't implemented it yet, so I'm not sure. However, I don't think
it will be a lot of code.
Neil Conway <neilc(at)samurai(dot)com> || PGP Key ID: DB3C29FC
In response to
pgsql-hackers by date
|Next:||From: Shridhar Daithankar||Date: 2002-09-29 07:39:26|
|Subject: Re: How to REINDEX in high volume environments? |
|Previous:||From: Bruce Momjian||Date: 2002-09-29 05:43:02|
|Subject: Do we want a CVS branch now?|