Fun fact: people like to say that unlike Flash memory, RAM can be read or written to one byte at a time, but that's a lie. A typical DIMM's memory array can only be addressed in 64KiB blocks! Writing one byte means reading 64K, modifying one byte, and writing 64K! (1/n)
-
-
Addendum: I meant 64 kibibits (64 Kibits or 64Kib) in my original tweet, not 64 kibibytes. It's usually something like 8 bits per chip × 8 chips = 64 bits for a whole DIMM, and pages (rows) are 1024 addresses within each bank, so 65536 bits.
Show this threadThanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Even SRAM and similar tend to be addressed in at best "lowest addressable unit" of CPU, not bits.
-
True, externally they can usually be addressed at best bytewise (wider SRAM usually has byte enables). However, SRAM reads are not destructive, so they *do* qualify as bit-addressable at the array level (given appropriate column select mux). But you pay for that with 6T/bit.
End of conversation
New conversation -
-
-
The other thing to consider is that these page reads/writes have gotten maybe 2-3x faster in the last 20 years All the perf improvements have come from them getting bigger & being able to stream data out of them faster
-
Yup! The fastest DDR4 only has half the latency of 100MHz SDRAM from 20 years ago. I/O has just gotten wider and faster and we started pumping out two bits per cycle.
End of conversation
New conversation -
-
-
Do they teach Cray XMP memory architecture in CS degrees these days? And the design of data structures to speed memory access of vectors. Wonder how much of that is still relevant.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Agreeing about 1bit access, that's never been true for me going back to 1970s. Mask, shift, or, xor --on MF CPUs was the only way to touch a single bit.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.