3 ms·
Yeah but why don't we have like 500MB of SRAM per 8GB of RAM. Certain addresses could be faster, in the same way /dev/shm/ is faster.
by guerrilla 2y ago
Yeah but why don't we have like 500MB of SRAM per 8GB of RAM. Certain addresses could be faster, in the same way /dev/shm/ is faster.
- turtles3 2y agoThis is sort of the role that L3 cache plays already. Your proposal would be effectively an upgradable L4 cache. No idea if the economics on that are worth it vs bigger DRAM so you have less pressure on the nvme disk.
- guerrilla 2y agoCache is not general purpose as far as I know. I want to be able to do whatever I want with it.
- MichaelZuo 2y agoWhere’s the market demand for that?
- ghaff 2y agoYeah, you’re basically betting that people will put a lot of effort in trying to out/optimize the hardware and perhaps to some degree the OS. Not a good bet. When SMP first came out we had one large customer that wanted to manually handle scheduling themselves. That didn’t last long.
- guerrilla 2y agoEffort? It's not like it's hard to map an SRAM chip to whatever address you want and expose it raw or as a block device. That's a 100 LOC kernel module.
- guerrilla 2y agoWhere is the market demand for faster RAM? This isn't a good question.
- MichaelZuo 2y agoGamers, 3D modelling professionals, IBM, HP, ORACLE, many IT departments, etc… ?
- myself248 2y agoCoreboot and some other low-level stuff uses cache-as-RAM during early steps of the boot process. There was briefly a product called vCage loading a whole secure hypervisor into cache-as-RAM, with a goal of being secure against DRAM-remanence ("cold-boot") attacks where the DIMMs are fast-chilled to slow charge leakage and removed from the target system to dump their contents. Since the whole secure perimeter was on-die in the CPU, it could use memory encryption to treat the DRAM as untrusted. So, yeah, you can do it. It's funky.
- crest 2y agoAMD offers CPUs with over 768MiB of cache if you're willing and able to afford them.
- rasz 2y agoThere used to be a DRAM with build-in SRAM cache called EDRAM (Enhanced DRAM, not to be confused with eDRAM Embedded DRAM). • 2Kbit SRAM Cache Memory for 15ns Random Reads Within a Page • Fast 4Mbit DRAM Array for 35ns Access to Any New Page • Write Posting Register for 15ns Random Writes and Burst Writes Within a Page (Hit or Miss) • 256-byte Wide DRAM to SRAM Bus for 7.3 Gigabytes/Sec Cache Fill • On-chip Cache Hit/Miss Comparators Maintain Cache Coherency on Writes Afaik only ever manufactured by a single vendor Ramtron https://bitsavers.computerhistory.org/components/ramtron/_dataBooks/1994_Ramtron_Specialty_Memory_Products.pdf https://bitsavers.computerhistory.org/components/ramtron/_da... and only ever used in two products: - Mylex DAC960 RAID controller - Octek HIPPO DCA II 486-33 PC motherboard https://theretroweb.com/motherboards/s/octek-hippo-dca-ii-486-33 https://theretroweb.com/motherboards/s/octek-hippo-dca-ii-48...