lkml.org 
[lkml]   [2004]   [Mar]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Any way to access huge pages ?
From
Date
    Peter> Hello, I'm wondering is there any way to access "large
Peter> pages" (4MB) memory other than using shared memory ? For
Peter> example can you do anonymous mmap to get access to large
Peter> pages.

Peter> I would like to utilize large pages for MySQL buffer pool
Peter> and other large caches, but would not like to use Shared
Peter> memory for this purpose as it will complicate things for
Peter> users.

Does mmap() on hugetlbfs do what you want? See
Documentation/vm/hugetlbpage.txt for details.

- Roland
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:01    [W:0.025 / U:0.408 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site