All of lore.kernel.org
 help / color / mirror / Atom feed
* ...cache dimensioning ;-)
@ 2004-09-10 10:15 Emmanuel Michon
  2004-09-10 11:43 ` Ralf Baechle
  0 siblings, 1 reply; 5+ messages in thread
From: Emmanuel Michon @ 2004-09-10 10:15 UTC (permalink / raw)
  To: linux-mips

Hi,

I'm still in the process of choosing the best configurable parameters of
a hardware design based on 4KEc

As far as I understand, excepted alpha platforms, 4KByte pages are the
de facto standard [I assume linux developers are reasonable so changing
the page size to 8KB is not going to be a nightmare...]

Since the mips cache is virtually indexed but physically tagged, I see
two problems when the size of a cache way exceeds the size of a page:

- virtual aliasing. Can only happen on R/W pages (data cache) and only
when two different virtual addresses map the same physical page. An
example of this is: two processes sharing a memory area; should I
consider this is taken into account by linux already?

- I was told the software exception handlers for tlb are much less
efficient when cacheway > pagesize, forcing to flush too often. Is this
true? What is, in practice, the ratio of instruction pages and data
pages in a tlb?

If I consider a platform like Toshiba TX39 which has d-cache four ways
with total 32KBytes, it must already have the problems above. I'd like
to get some more clues though...

Thanks a lot,

Sincerely yours,

E.M.

^ permalink raw reply	[flat|nested] 5+ messages in thread
* RE: ...cache dimensioning ;-)
@ 2004-09-10 18:41 ` Adrian Hulse
  0 siblings, 0 replies; 5+ messages in thread
From: Adrian Hulse @ 2004-09-10 18:41 UTC (permalink / raw)
  To: Emmanuel Michon, linux-mips


>If I consider a platform like Toshiba TX39 which has d-cache four ways
>with total 32KBytes, it must already have the problems above. I'd like
>to get some more clues though...

You probably meant to say Tx49 no ? The Tx39 has 16/8 k Instruction
Cache, 8/4 k Data cache.



**********************************************************************
This e-mail is the property of Lantronix. It is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential, or otherwise protected from disclosure. Distribution or copying of this e-mail, or the information contained herein, to anyone other than the intended recipient is prohibited. 

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

end of thread, other threads:[~2004-09-11 14:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-10 10:15 ...cache dimensioning ;-) Emmanuel Michon
2004-09-10 11:43 ` Ralf Baechle
  -- strict thread matches above, loose matches on Subject: below --
2004-09-10 18:41 Adrian Hulse
2004-09-10 18:41 ` Adrian Hulse
2004-09-11 14:58 ` Emmanuel Michon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.