Re: Any way to access huge pages ?

From: Wim Coekaerts
Date: Sun Mar 07 2004 - 01:07:28 EST


well thats where you have hugetlbfs
and you mmap a file in /dev/hugetlbfs or whever it goes
works fine

or shmfs but the its not large pages I guess, unless you have the
bigpages feature in the vendor versions. like bigpages in rhas21 can be
for shmfs.

On Sat, Mar 06, 2004 at 09:21:28PM -0800, Peter Zaitsev wrote:
> Hello,
>
> I'm wondering is there any way to access "large pages" (4MB) memory
> other than using shared memory ? For example can you do anonymous mmap
> to get access to large pages.
>
> I would like to utilize large pages for MySQL buffer pool and other
> large caches, but would not like to use Shared memory for this purpose
> as it will complicate things for users.
>
>
> --
> Peter Zaitsev, Senior Support Engineer
> MySQL AB, www.mysql.com
>
> Meet the MySQL Team at User Conference 2004! (April 14-16, Orlando,FL)
> http://www.mysql.com/uc2004/
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/