SuperPages utilization survey
Ivan Voras
ivoras at freebsd.org
Sat Jun 2 10:49:22 UTC 2012
On 2 June 2012 12:29, Wojciech Puchar <wojtek at wojtek.tensor.gdynia.pl> wrote:
>>>
>>
>> In my words i would say "It enables mysql to use super-pages/large-pages".
>
> i asked the question wrong. the right should be "how does it do". Because i
> am not aware about any user level interface in FreeBSD to explicitly request
> superpage mapping.
You are right, there isn't any.
The code in mysqld.cc only works if HAVE_SOLARIS_LARGE_PAGES is defined:
3229 #endif /* HAVE_LARGE_PAGES */
3230 #ifdef HAVE_SOLARIS_LARGE_PAGES
3231 #define LARGE_PAGESIZE (4*1024*1024) /* 4MB */
3232 #define SUPER_LARGE_PAGESIZE (256*1024*1024) /* 256MB */
3233 if (opt_large_pages)
3234 {
...
3278 }
3279 #endif /* HAVE_SOLARIS_LARGE_PAGES */
More information about the freebsd-hackers
mailing list