All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] Dual Core CPU - L2 Cache organization/reservation
@ 2007-03-05  8:09 M. Koehrer
  0 siblings, 0 replies; only message in thread
From: M. Koehrer @ 2007-03-05  8:09 UTC (permalink / raw)
  To: xenomai

Hi all,

I made excellent results with Xenomai and the dual core Pentium D CPU.
I use one of the cores for real time code, the other core is used for housekeeping, communication...
Excellent means, that the runtime jitter of the real time application is extremely low.
For example, I have a physical model running that takes about 40 microseconds to run.
The runtime jitter on the dual core CPU is less than 3 microseconds. On the uni processor machine,
the runtime jitter is about 40-60 (!) microseconds.
On the dual core CPU the model seems to run completely out of the cache which is perfect for achieving
excellent computation times. On the UP system, the non-real time code seems to "eat up" the cache occasionally used by the real time core, i.e. the real time code has to re-load its cache from memory.

Now I read about the way the cache is organized in Intel's Core 2 Duo series. Here one common cache is 
used that is shared between both cores.
I have now the fear, that the Core 2 Duo CPU does not show this excellent results as the Pentium D as the non-real time code might "eat up" the cache as it does on a UP system.

Or is there a way that allows me to "reserve" parts of the common cache for one Core (or for the real time application, i.e. for certain physical addresses)?
Of course a real Multi CPU system (Xeon based) might help (Server/Workstation), however these systems 
are fairly expensive compared to the Core 2 Duo desktop systems...

Thanks for all feedback on this issue!

Regards

Mathias



-- 
Mathias Koehrer
mathias_koehrer@domain.hid


Viel oder wenig? Schnell oder langsam? Unbegrenzt surfen + telefonieren
ohne Zeit- und Volumenbegrenzung? DAS TOP ANGEBOT JETZT bei Arcor: günstig
und schnell mit DSL - das All-Inclusive-Paket für clevere Doppel-Sparer,
nur  39,85 €  inkl. DSL- und ISDN-Grundgebühr!
http://www.arcor.de/rd/emf-dsl-2


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-03-05  8:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-05  8:09 [Xenomai-help] Dual Core CPU - L2 Cache organization/reservation M. Koehrer

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.