Linux MIPS Architecture development
 help / color / mirror / Atom feed
* TLB entries > 4kb
@ 1998-02-12  4:56 ralf
  1998-02-12  5:50 ` David S. Miller
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: ralf @ 1998-02-12  4:56 UTC (permalink / raw)
  To: linux-kernel, linux

Some architectures can use multiple page sizes in the TLB at the same time.
This would for example allow to map memory allocations > PAGE_SIZE using just
a single TLB entry if the circumstances are just right, thereby
reducing / eleminating TLB trashing.  This should improve the performance
for huge apps quite a bit.  Some architectures could partially get rid of
the sick effects of their virtual indexed primary caches as well.  All that
is needed for this to work is to have sufficiently large physical pages with
sufficient alignment at hand.

Has anybody ever looked into implementing that?  What architectures besides
MIPS could take advantage of such a feature?

  Ralf

^ permalink raw reply	[flat|nested] 10+ messages in thread
* Re: TLB entries > 4kb
@ 1998-02-12 21:52 David Woodhouse
  1998-02-12 21:57 ` Alan Cox
  1998-02-12 22:00 ` MOLNAR Ingo
  0 siblings, 2 replies; 10+ messages in thread
From: David Woodhouse @ 1998-02-12 21:52 UTC (permalink / raw)
  To: MOLNAR Ingo; +Cc: Alan Cox, ralf, linux-kernel, linux


mingo@chiara.csoma.elte.hu said:
> On Thu, 12 Feb 1998, Alan Cox wrote:
> > On the intel its a huge win to map PCI frame buffers using 4Mbyte pages, but
> > the kernel mmap really can't hack the idea right now. A pity cos if you
> > hack it in and make sure you never unmap it you get 2-3% better X 
> > performance
> 
> i tried to hack this half a year ago, but had to find out that 4MB pages
> are only valid for kernel mappings, which means we'd have to make X a ring
> 0 process too ...

---------------

alan@lxorguk.ukuu.org.uk said:
>  The way its done is ok normally. I guess you need to make X over
> Linux/RT call the rtlinux kernel to handle it. Note X _has_ to do
> those global cli/sti's to meet hardware needs

---------------


GGI (well, KGI) should be able to fix both of these, shouldn't it?




----                              ----                              ----
David Woodhouse, Robinson College, CB3 9AN, England.   (+44) 0976 658355
    Dave@imladris.demon.co.uk        http://dwmw2.robinson.cam.ac.uk
	    finger pgp@dwmw2.robinson.cam.ac.uk for PGP key.

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

end of thread, other threads:[~1998-02-13  7:54 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-02-12  4:56 TLB entries > 4kb ralf
1998-02-12  5:50 ` David S. Miller
1998-02-12  8:51 ` Alan Cox
1998-02-12 18:00   ` MOLNAR Ingo
1998-02-12 12:10 ` Michael Lausch
1998-02-12 22:05   ` J.D. Bakker
  -- strict thread matches above, loose matches on Subject: below --
1998-02-12 21:52 David Woodhouse
1998-02-12 21:57 ` Alan Cox
1998-02-12 21:57   ` Alan Cox
1998-02-12 22:00 ` MOLNAR Ingo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox