lkml.org 
[lkml]   [2015]   [May]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectIs there anyway to do direct mapped cache on Intel hardware?
Is there anyway to do direct mapped cache on Intel hardware?

Direct mapped cache should allow me to implement software ECC via the
low memory / high memory split. It would be slow, but I would prefer to
have a slow laptop than one that is vulnerable to bit flips.

If direct mapped cache is possible and non-NUMA systems could avoid
writing it back/through, I imagine that people could also protect
against cold boot attacks by encrypting main memory. This would be also
be slow, but the AES instructions that Intel's newer processors are
supposed to have should keep the slowdown within some reasonable bound.

There might also be applications for using external memory algorithms
(e.g. fractal tree indexes) to speed up in-memory operations. I also am
not sure if the difference between system memory and cache is big enough
to make it a win, but I am sure that is not something that I would want
to implement on my laptop in my spare time.

If someone knows a way to do direct mapped cache, please share.

[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2015-05-18 20:41    [W:0.031 / U:0.436 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site