Mercury News is running an article about a memory technology that I somehow managed to miss the unveiling of back at the beginning of April. Rambus, who thankfully seem to have gone back to innovating now that their litigation prospects are withering, plans to bring SMT to DRAM technology in the form of “microthreading.” Apparently this isn’t a new idea (so says an analyst in this article), but it’s first time a major memory designer is bringing it to the consumer market.
I haven’t yet been able to track down a whitepaper on this, but from the descriptions given in a few articles it looks like a scheme that works in the following manner. With a normal DRAM read, the processor grabs data from memory in chunks the size of L2 cache blocks, and a common cache block size is 32 bytes. Even if the program needs only one particular byte of data, the processor still fetches the surrounding 31 bytes into the cache along with the desired byte, because the principle of locality of reference dictates that it’s likely that these other bytes will be needed soon.
In graphics rendering applications, triangles, pixels, vertices, and the like usually come in much smaller sizes than 32 bytes. If you needed four different 8-byte triangles from different locations in memory, you’d have to issue four different memory reads and fill up the cache and bus bandwidth with four 32-byte blocks of data when you really only need four 8-byte blocks. So the idea behind microthreading is that the processor can request that the 32-byte block be made up of, say, four 8-byte triangles, presumably from non-contiguous locations in memory.