Re: [PATCH] mm, x86: no zeroing of hugetlbfs pages at boot

2013-04-04 Thread Cliff Wickman
On Thu, Apr 04, 2013 at 08:17:08AM +0800, Simon Jeons wrote: > On 03/07/2013 05:50 AM, Cliff Wickman wrote: >> From: Cliff Wickman >> >> Allocating a large number of 1GB hugetlbfs pages at boot takes a >> very long time. >> >> Large system sites would at times like to allocate a very large amount

Re: [PATCH] mm, x86: no zeroing of hugetlbfs pages at boot

2013-04-04 Thread Cliff Wickman
On Thu, Apr 04, 2013 at 08:17:08AM +0800, Simon Jeons wrote: On 03/07/2013 05:50 AM, Cliff Wickman wrote: From: Cliff Wickman c...@sgi.com Allocating a large number of 1GB hugetlbfs pages at boot takes a very long time. Large system sites would at times like to allocate a very large amount

Re: [PATCH] mm, x86: no zeroing of hugetlbfs pages at boot

2013-04-03 Thread Simon Jeons
On 03/07/2013 05:50 AM, Cliff Wickman wrote: From: Cliff Wickman Allocating a large number of 1GB hugetlbfs pages at boot takes a very long time. Large system sites would at times like to allocate a very large amount of memory as 1GB pages. They would put this on the kernel boot line:

Re: [PATCH] mm, x86: no zeroing of hugetlbfs pages at boot

2013-04-03 Thread Simon Jeons
On 03/07/2013 05:50 AM, Cliff Wickman wrote: From: Cliff Wickman c...@sgi.com Allocating a large number of 1GB hugetlbfs pages at boot takes a very long time. Large system sites would at times like to allocate a very large amount of memory as 1GB pages. They would put this on the kernel boot

Re: [PATCH] mm, x86: no zeroing of hugetlbfs pages at boot

2013-03-14 Thread Michal Hocko
On Wed 06-03-13 15:50:20, Cliff Wickman wrote: [...] > I propose passing a flag to the early allocator to indicate that no zeroing > of a page should be done. The 'no zeroing' flag would have to be passed > down this code path: > > hugetlb_hstate_alloc_pages > alloc_bootmem_huge_page >

Re: [PATCH] mm, x86: no zeroing of hugetlbfs pages at boot

2013-03-14 Thread Michal Hocko
On Wed 06-03-13 15:50:20, Cliff Wickman wrote: [...] I propose passing a flag to the early allocator to indicate that no zeroing of a page should be done. The 'no zeroing' flag would have to be passed down this code path: hugetlb_hstate_alloc_pages alloc_bootmem_huge_page

Re: [PATCH] mm, x86: no zeroing of hugetlbfs pages at boot

2013-03-11 Thread Cliff Wickman
On Sun, Mar 10, 2013 at 01:55:10PM +0800, Hillf Danton wrote: > On Thu, Mar 7, 2013 at 5:50 AM, Cliff Wickman wrote: > > From: Cliff Wickman > > > > Allocating a large number of 1GB hugetlbfs pages at boot takes a > > very long time. > > > > Large system sites would at times like to allocate a

Re: [PATCH] mm, x86: no zeroing of hugetlbfs pages at boot

2013-03-11 Thread Cliff Wickman
On Sun, Mar 10, 2013 at 01:55:10PM +0800, Hillf Danton wrote: On Thu, Mar 7, 2013 at 5:50 AM, Cliff Wickman c...@sgi.com wrote: From: Cliff Wickman c...@sgi.com Allocating a large number of 1GB hugetlbfs pages at boot takes a very long time. Large system sites would at times like to

Re: [PATCH] mm, x86: no zeroing of hugetlbfs pages at boot

2013-03-09 Thread Hillf Danton
On Thu, Mar 7, 2013 at 5:50 AM, Cliff Wickman wrote: > From: Cliff Wickman > > Allocating a large number of 1GB hugetlbfs pages at boot takes a > very long time. > > Large system sites would at times like to allocate a very large amount of > memory as 1GB pages. They would put this on the

Re: [PATCH] mm, x86: no zeroing of hugetlbfs pages at boot

2013-03-09 Thread Hillf Danton
On Thu, Mar 7, 2013 at 5:50 AM, Cliff Wickman c...@sgi.com wrote: From: Cliff Wickman c...@sgi.com Allocating a large number of 1GB hugetlbfs pages at boot takes a very long time. Large system sites would at times like to allocate a very large amount of memory as 1GB pages. They would put

[PATCH] mm, x86: no zeroing of hugetlbfs pages at boot

2013-03-06 Thread Cliff Wickman
From: Cliff Wickman Allocating a large number of 1GB hugetlbfs pages at boot takes a very long time. Large system sites would at times like to allocate a very large amount of memory as 1GB pages. They would put this on the kernel boot line: default_hugepagesz=1G hugepagesz=1G

[PATCH] mm, x86: no zeroing of hugetlbfs pages at boot

2013-03-06 Thread Cliff Wickman
From: Cliff Wickman c...@sgi.com Allocating a large number of 1GB hugetlbfs pages at boot takes a very long time. Large system sites would at times like to allocate a very large amount of memory as 1GB pages. They would put this on the kernel boot line: default_hugepagesz=1G hugepagesz=1G