linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Large Page Support, 2.6 kernel , PPC440
@ 2006-04-30  8:15 moris dong
  0 siblings, 0 replies; 5+ messages in thread
From: moris dong @ 2006-04-30  8:15 UTC (permalink / raw)
  To: linuxppc-embedded

Friends,
My PPC440 (32bit) MMU supports multiple page sizes.
For the default 4K pages, my 2.6.11 kernel compiles and boots just fine.
I want to re-build it with large pages, to improve my application 
performance.
I tried modifying PAGE_SHIFT in "page.h" to 13 (8K pages) and re-build my 
kernel.
Compilation worked out fine, but my kernel does NOT boot, nor it prints 
anything to the console.

Has anyone successfully compiled & booted a 2.6 kernel with pages larger 
than 4K ?
What am I doing wrong ?

Thanks a lot.

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Large Page Support, 2.6 kernel , PPC440
@ 2006-04-30  8:17 moris dong
  0 siblings, 0 replies; 5+ messages in thread
From: moris dong @ 2006-04-30  8:17 UTC (permalink / raw)
  To: linuxppc-dev

Friends,
My PPC440 (32bit) MMU supports multiple page sizes.
For the default 4K pages, my 2.6.11 kernel compiles and boots just fine.
I want to re-build it with large pages, to improve my application 
performance.
I tried modifying PAGE_SHIFT in "page.h" to 13 (8K pages) and re-build my 
kernel.
Compilation worked out fine, but my kernel does NOT boot, nor it prints 
anything to the console.

Has anyone successfully compiled & booted a 2.6 kernel for PPC440 with pages 
larger than 4K ?
What am I doing wrong ?

Thanks a lot.

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Large Page Support, 2.6 kernel , PPC440
@ 2006-05-01 17:34 moris dong
  0 siblings, 0 replies; 5+ messages in thread
From: moris dong @ 2006-05-01 17:34 UTC (permalink / raw)
  To: linuxppc-dev

Friends,
My PPC440 (32bit) MMU supports multiple page sizes.
For the default 4K pages, my 2.6.11 kernel compiles and boots just fine.
I want to re-build it with large pages, to improve my application 
performance.
I tried modifying PAGE_SHIFT in "page.h" to 13 (8K pages) and re-build my 
kernel.
Compilation worked out fine, but my kernel does NOT boot, nor it prints 
anything to the console.

Has anyone successfully compiled & booted a 2.6 kernel with pages larger 
than 4K ?
What am I doing wrong ?

Thanks a lot.

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Large Page Support, 2.6 kernel , PPC440
@ 2006-05-01 17:35 moris dong
  2006-05-08 12:36 ` Ralph Blach
  0 siblings, 1 reply; 5+ messages in thread
From: moris dong @ 2006-05-01 17:35 UTC (permalink / raw)
  To: linuxppc-embedded

Friends,
My PPC440 (32bit) MMU supports multiple page sizes.
For the default 4K pages, my 2.6.11 kernel compiles and boots just fine.
I want to re-build it with large pages, to improve my application
performance.
I tried modifying PAGE_SHIFT in "page.h" to 13 (8K pages) and re-build my
kernel.
Compilation worked out fine, but my kernel does NOT boot, nor it prints
anything to the console.

Has anyone successfully compiled & booted a 2.6 kernel with pages larger
than 4K ?
What am I doing wrong ?

Thanks a lot.

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Large Page Support, 2.6 kernel , PPC440
  2006-05-01 17:35 Large Page Support, 2.6 kernel , PPC440 moris dong
@ 2006-05-08 12:36 ` Ralph Blach
  0 siblings, 0 replies; 5+ messages in thread
From: Ralph Blach @ 2006-05-08 12:36 UTC (permalink / raw)
  To: moris dong; +Cc: linuxppc-embedded

[-- Attachment #1: Type: text/plain, Size: 1802 bytes --]

Morris,

A long time ago, I did this for a 405 and it involves much more than just
changing the page shift.

>From my memory, I will give you what I think you have to do.
1)you must go into tlb handling code and change it.  That is in the
header file 44x.S i beleive.
2)You have to change the pte directory sizes
3)You have to chage the linker script.
4)You have to change the size of the zero page.
5)you have to chage dcache flush routines, to cover the new page size.
You have to find where 4096/4095 is hard coded as the page size and change
it.

This  is no small job, and what you come up with will be very unsupported.
I beleive If you pin the kerel TLB you might get
the performance you need and this should be in the kernel config scripts.

Good luck,

Chip

On 5/1/06, moris dong <moris_dong@hotmail.com> wrote:
>
> Friends,
> My PPC440 (32bit) MMU supports multiple page sizes.
> For the default 4K pages, my 2.6.11 kernel compiles and boots just fine.
> I want to re-build it with large pages, to improve my application
> performance.
> I tried modifying PAGE_SHIFT in "page.h" to 13 (8K pages) and re-build my
> kernel.
> Compilation worked out fine, but my kernel does NOT boot, nor it prints
> anything to the console.
>
> Has anyone successfully compiled & booted a 2.6 kernel with pages larger
> than 4K ?
> What am I doing wrong ?
>
> Thanks a lot.
>
> _________________________________________________________________
> Express yourself instantly with MSN Messenger! Download today it's FREE!
> http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
>
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
>

[-- Attachment #2: Type: text/html, Size: 2352 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-05-08 12:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-01 17:35 Large Page Support, 2.6 kernel , PPC440 moris dong
2006-05-08 12:36 ` Ralph Blach
  -- strict thread matches above, loose matches on Subject: below --
2006-05-01 17:34 moris dong
2006-04-30  8:17 moris dong
2006-04-30  8:15 moris dong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).