ECC word not necessarily full cache line

By: hobold (hobold.delete@this.vectorizer.org), September 18, 2022 6:32 pm
Room: Moderated Discussions
Anon (no.delete@this.spam.com) on September 18, 2022 12:54 pm wrote:
> David Kanter (dkanter.delete@this.realworldtech.com) on September 18, 2022 12:29 pm wrote:
> > That's true, but sub-line ECC has a much higher area overhead.
> > So maybe I'd state it as 'power or area, take your pick'...
>
> Does it really matter? I mean, if you only modify 8 bytes out of the 64 bytes of the cache line then
> old_value XOR new_value should give you enough information to update the ECC bits of the entire cache
> line, only parity would actually appear per 8 bytes or so to not increase read latency too much.

If I am not mistaken, there used to be specific ECC codes that have a geometric interpretation. With such a code, I think, oldVal XOR newVal would effectively yield a mirror plane (well, hyperplane ... something one dimension smaller than the entire code space). And then oldCode mirrored on that plane should result in the correct newCode.

I don't remember the name of these specific codes, and if they are still in active use today. But my nebulous memory says it was this construction based on hypercubes such that any corner making up a valid code is surrounded by an edge subgraph of invalid codes, such that ... well, one can think of the neighbourhood as three rings. The innermost ring is all the single bit errors, so those are correctable. The 2nd ring is all two bit errors, so those are detectable. But the outermost 3rd ring is already made up of direct neighbours of other valid codes, so those will lead to an unrecoverable data loss.
< Previous Post in ThreadNext Post in Thread >
TopicPosted ByDate
Data integrity of L1 cachesanon22022/09/15 07:04 PM
  Data integrity of L1 cachesGroo2022/09/15 11:46 PM
    Data integrity of L1 cachesanon22022/09/16 09:00 AM
      Data integrity of L1 cachesgroo2022/09/16 11:06 AM
        ECC outside critical path?hobold2022/09/16 01:03 PM
          ECC outside critical path?Mr. Camel2022/09/16 03:39 PM
            ECC outside critical path?anonymou52022/09/16 05:01 PM
          ECC outside critical path?anonymou52022/09/16 04:50 PM
            ECC outside critical path?hobold2022/09/17 06:57 AM
        Data integrity of L1 cachesanon22022/09/16 05:45 PM
  Data integrity of L1 cachesanon.12022/09/16 06:51 AM
    Data integrity of L1 cachesanon22022/09/16 09:04 AM
      Data integrity of L1 cachesBrett2022/09/16 12:12 PM
  Data integrity of L1 caches---2022/09/16 11:28 AM
    Data integrity of L1 cachesdmcq2022/09/16 01:41 PM
      Data integrity of L1 caches---2022/09/16 02:42 PM
    Data integrity of L1 cachesanon22022/09/16 05:49 PM
      Data integrity of L1 caches---2022/09/16 06:25 PM
        Read the thread (NT)anon22022/09/16 06:55 PM
        Data integrity of L1 cachesanon22022/09/16 06:57 PM
    Data integrity of L1 cachesMichael S2022/09/17 05:02 PM
  Data integrity of L1 cachesDavid Kanter2022/09/16 09:44 PM
    ECC word not necessarily full cache linePaul A. Clayton2022/09/17 10:59 AM
      ECC word not necessarily full cache lineDavid Kanter2022/09/18 12:29 PM
        ECC word not necessarily full cache lineAnon2022/09/18 12:54 PM
          ECC word not necessarily full cache linehobold2022/09/18 06:32 PM
            ECC word not necessarily full cache lineMichael S2022/09/19 08:47 AM
              ECC word not necessarily full cache linehobold2022/09/20 06:38 AM
                ECC word not necessarily full cache linedmcq2022/09/21 05:10 AM
                ECC word not necessarily full cache lineMichael S2022/09/21 06:55 AM
                  ECC word not necessarily full cache linehobold2022/09/21 01:59 PM
  Data integrity of L1 cachesDavid Hess2022/09/17 10:03 AM
  Data integrity of L1 cachesMichael S2022/09/17 05:12 PM
Reply to this Topic
Name:
Email:
Topic:
Body: No Text
How do you spell tangerine? 🍊