* Large-page support
@ 2005-08-23 13:55 Santosh Abraham
2005-08-23 16:24 ` Luck, Tony
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Santosh Abraham @ 2005-08-23 13:55 UTC (permalink / raw)
To: linux-ia64
Hi,
What is the current level of large page support implemented
for Linux ?
Can applications specify a certain page-size to use for
their private mappings ? Is this limited to any particular page-size ?
Is smart-demotion implemented ?
thanks
santosh.
^ permalink raw reply [flat|nested] 4+ messages in thread* RE: Large-page support
2005-08-23 13:55 Large-page support Santosh Abraham
@ 2005-08-23 16:24 ` Luck, Tony
2005-08-24 4:36 ` Santosh Abraham
2005-08-25 1:10 ` Grant Grundler
2 siblings, 0 replies; 4+ messages in thread
From: Luck, Tony @ 2005-08-23 16:24 UTC (permalink / raw)
To: linux-ia64
>What is the current level of large page support implemented
>for Linux ?
Linux currently doesn't support "large" pages ... but it does support
"huge" ones.
On ia64 there is a kernel compile-time choice for the regular page size
between 4k, 8k, 16k and 64k. The default is 16k.
Huge page size is selectable via a boot-time parameter "hugepagesz=",
choices are just about anything supported by h/w (current implementations
of Itanium 2 support even powers of two up to 4G). Default is 256MB.
>Can applications specify a certain page-size to use for
>their private mappings ? Is this limited to any particular page-size ?
No ... normal allocations are done using the default system page
size. To see how to use huge pages, read Documentation/vm/hugetlbpage.txt
in the Linux kernel sources.
>Is smart-demotion implemented ?
No.
-Tony
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: Large-page support
2005-08-23 13:55 Large-page support Santosh Abraham
2005-08-23 16:24 ` Luck, Tony
@ 2005-08-24 4:36 ` Santosh Abraham
2005-08-25 1:10 ` Grant Grundler
2 siblings, 0 replies; 4+ messages in thread
From: Santosh Abraham @ 2005-08-24 4:36 UTC (permalink / raw)
To: linux-ia64
Thanks for the info !
If I read it correctly the flags need to be
MAP_FIXED|MAP_SHARED ? No support for MAP_PRIVATE ?
Any good reading available on why we need
a hugetlbfs ?
TIA,
-santosh.
> -----Original Message-----
> From: Luck, Tony [mailto:tony.luck@intel.com]
> Sent: Tuesday, August 23, 2005 9:55 PM
> To: santosh.abraham@hp.com; linux-ia64@vger.kernel.org
> Subject: RE: Large-page support
>
>
> >What is the current level of large page support implemented
> for Linux ?
>
> Linux currently doesn't support "large" pages ... but it does
> support "huge" ones.
>
> On ia64 there is a kernel compile-time choice for the regular
> page size between 4k, 8k, 16k and 64k. The default is 16k.
>
> Huge page size is selectable via a boot-time parameter
> "hugepagesz=", choices are just about anything supported by
> h/w (current implementations of Itanium 2 support even powers
> of two up to 4G). Default is 256MB.
>
> >Can applications specify a certain page-size to use for
> >their private mappings ? Is this limited to any particular
> page-size ?
>
> No ... normal allocations are done using the default system
> page size. To see how to use huge pages, read
> Documentation/vm/hugetlbpage.txt in the Linux kernel sources.
>
> >Is smart-demotion implemented ?
> No.
>
> -Tony
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Large-page support
2005-08-23 13:55 Large-page support Santosh Abraham
2005-08-23 16:24 ` Luck, Tony
2005-08-24 4:36 ` Santosh Abraham
@ 2005-08-25 1:10 ` Grant Grundler
2 siblings, 0 replies; 4+ messages in thread
From: Grant Grundler @ 2005-08-25 1:10 UTC (permalink / raw)
To: linux-ia64
On Wed, Aug 24, 2005 at 09:54:41AM +0530, Santosh Abraham wrote:
> Any good reading available on why we need
> a hugetlbfs ?
Yes. Googling got me here:
http://developer.osdl.org/maryedie/LWE_NYC04_Links.html
See the top couple of links.
You might also read about superpages to get some of the background:
http://lwn.net/Articles/40840/
grant
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-08-25 1:10 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-23 13:55 Large-page support Santosh Abraham
2005-08-23 16:24 ` Luck, Tony
2005-08-24 4:36 ` Santosh Abraham
2005-08-25 1:10 ` Grant Grundler
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox