News for hackers. Stuff that matters.
Re:IBM doubles its 14nm EDRAM density, adds hundreds of mega... by jiggawatts on Sunday March 08, 2020 @05:26PM (#22520731)
> Gluing something like HBM2 to the die for a second

This is something AMD is already doing for EPYC, and they've already used HBM2 in their GPUs.

So I'm surprised they haven't released any CPU models with crazy huge L4 caches using a few GB of HBM2.

Then again, Intel made a laptop CPU with a huge 128MB cache and their comment was that it didn't make that big of a difference. I believe the performance boost was less than 5% for going from 64MB to 128MB.

Re:IBM doubles its 14nm EDRAM density, adds hundreds of mega... by baybal2 on Sunday March 08, 2020 @09:52PM (#22522225)
Its all about how fast the memory is.

960MiB is prodigiously large for such a microscopic chip, but if it "only" gain 3-5 times latency reduction over external DRAM, it's still very far from a proper L3 implementation, and far behind L2.

Make DRAM work on 1Ghz+, and then you will see miracles. Imagine a fully synchronous on-die DRAM that can sit just behind L1, or even be connected to load registers directly.

The problem is that effective frequencies for memory round-trip haven't got up much since nineties. If you work with 100% cache misses, your mem will still be working at effective frequency of around 100 to 200Mhz

Re:IBM doubles its 14nm EDRAM density, adds hundreds of mega... by Dylan16807 on Monday March 09, 2020 @02:45AM (#22523451)
> If you work with 100% cache misses, your mem will still be working at effective frequency of around 100 to 200Mhz

I think you mean 20MHz. Current DRAM is abysmal at random access.

Re:IBM doubles its 14nm EDRAM density, adds hundreds of mega... by baybal2 on Monday March 09, 2020 @04:44AM (#22523917)
Yes, more so like this if you discard how it looks from the electrical side.

Even after bytes arrive to DRAM controller analog side, a lot of things have to happen before the data gets to the register. This accounts for the further five to tenfold increase in round trip latency

Re:IBM doubles its 14nm EDRAM density, adds hundreds of mega... by RantyDave on Monday March 09, 2020 @07:04AM (#22524418)
Oh no, it's paging to ram.
Re:IBM doubles its 14nm EDRAM density, adds hundreds of mega... by hinkley on Sunday March 08, 2020 @06:59PM (#22521265)
Maybe there’s an inflection point where imperative management of the cache is more effective than heuristic management.
Re:IBM doubles its 14nm EDRAM density, adds hundreds of mega... by gwking on Sunday March 08, 2020 @09:42PM (#22522172)
I saw Alan Kay speak once, I think at lambda jam 2013. He made a comment that he’s still waiting for mainstream CPUs to allow us to fit an entire interpreter into on-core cache.
Re:IBM doubles its 14nm EDRAM density, adds hundreds of mega... by PeCaN on Monday March 09, 2020 @04:14AM (#22523799)
Eh? The LuaJIT and K interpreters definitely fit into L1 instruction cache. (And have since well before 2013 probably.) Honestly I would be kind of surprised if most interpreters for reasonably small languages don't fit into icache. Sure Python's not going to any time soon, but most interpreters are really not very large.
Re:IBM doubles its 14nm EDRAM density, adds hundreds of mega... by RantyDave on Monday March 09, 2020 @07:05AM (#22524425)
You could get Windows NT 4 running in a processor cache these days.
Re:IBM doubles its 14nm EDRAM density, adds hundreds of mega... by adrianN on Monday March 09, 2020 @01:43AM (#22523237)
Forth interpreters probably fit into L1 on modern processors.
Re:IBM doubles its 14nm EDRAM density, adds hundreds of mega... by Dylan16807 on Monday March 09, 2020 @02:56AM (#22523492)
And we've had 256KB L2 since the Pentium Pro. That's big enough for a Lua interpreter.
Re:IBM doubles its 14nm EDRAM density, adds hundreds of mega... by mhh__ on Sunday March 08, 2020 @07:22PM (#22521406)
What do you mean by imperative? Static control by the program?
Re:IBM doubles its 14nm EDRAM density, adds hundreds of mega... by cryptonector on Monday March 09, 2020 @01:47AM (#22523255)
I'm guessing u/hinkley meant having an API for the cache, so a compiler could generate instructions to prefetch cache lines (and maybe even keep them hot) rather than depend on automatic (heuristic) cache management.
Re:IBM doubles its 14nm EDRAM density, adds hundreds of mega... by Reelin on Monday March 09, 2020 @04:15AM (#22523806)
Just FYI, prefetch instructions are already a thing (at least on x86). At present they're only hints to the underlying heuristic system though. (https://www.felixcloutier.com/x86/prefetchh)

Cache-as-RAM is also a thing, and allows the sort of pinning you described. Pretty specialized use cases though. (https://stackoverflow.com/questions/41775371/what-use-is-the...)

Re:IBM doubles its 14nm EDRAM density, adds hundreds of mega... by vvanders on Sunday March 08, 2020 @05:36PM (#22520785)
Read access patterns matter more than cache sizes, triple digit improvements are possible of you have linear reads.
Re:IBM doubles its 14nm EDRAM density, adds hundreds of mega... by rbanffy on Sunday March 08, 2020 @07:11PM (#22521333)
Late Xeon Phis had 16GB of HBM around the die. It could either complement or mirror main memory.
Re:IBM doubles its 14nm EDRAM density, adds hundreds of mega... by toohotatopic on Sunday March 08, 2020 @06:32PM (#22521089)
Hasn't Intel bought the company that was on the brink of producing those CPU-memory combos? Unfortunately, I haven't been able to find the name of the company or an article about it.
Re:IBM doubles its 14nm EDRAM density, adds hundreds of mega... by deepnotderp on Sunday March 08, 2020 @06:41PM (#22521147)
You mean UpMem or Venray Technology?
Re:IBM doubles its 14nm EDRAM density, adds hundreds of mega... by toohotatopic on Sunday March 08, 2020 @06:49PM (#22521200)
Sorry but I don't remember the name at all.