Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Jun 2012 13:17:56 +0200 (CEST)
From:      Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>
To:        Ivan Voras <ivoras@freebsd.org>
Cc:        freebsd-hackers@freebsd.org, Florian Smeets <flo@freebsd.org>, lev@freebsd.org
Subject:   Re: SuperPages utilization survey
Message-ID:  <alpine.BSF.2.00.1206021317260.44041@wojtek.tensor.gdynia.pl>
In-Reply-To: <CAF-QHFUhOF=aW5Y2LRByH5wi%2BKsezMyrZuUL0w0AQCNweEGTaA@mail.gmail.com>
References:  <jqac8f$6mn$1@dough.gmane.org> <1073159468.20120602121458@serebryakov.spb.ru> <4FC9D420.6010203@FreeBSD.org> <alpine.BSF.2.00.1206021054120.40882@wojtek.tensor.gdynia.pl> <4FC9D68D.60405@FreeBSD.org> <alpine.BSF.2.00.1206021228320.43360@wojtek.tensor.gdynia.pl> <CAF-QHFUhOF=aW5Y2LRByH5wi%2BKsezMyrZuUL0w0AQCNweEGTaA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
>>
>> 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.

true. anyway there should be such interface to freebsd kernel.


>
> 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 */
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1206021317260.44041>