7 ms·
66 threads per core looks more like a barrel processor than anything else. We shouldn’t expect those threads to be very fast, but we can assume that, if the pro
by rbanffy 3y ago
66 threads per core looks more like a barrel processor than anything else. We shouldn’t expect those threads to be very fast, but we can assume that, if the processor has enough work, it should be able to be doing something useful most of the time (rather than waiting for memory).
- twoodfin 3y agoReminds me of Tera, the original SMT. 128 threads per core in 1990! https://citeseerx.ist.psu.edu/document?repid=rep1&type=pdf&doi=108b3a24274af0aab079bd94ab7c1ee6543563d4 https://citeseerx.ist.psu.edu/document?repid=rep1&type=pdf&d... (I’d put up money that the DARPA project that funded this work is from the same lineage of TLA interest that got Tera enough money to buy Cray!)
- deleted 3y ago[deleted]
- yvdriess 3y agoTheir multithreaded cores are similar design, yes. It does not do XMT's in-hardware full/empty bit memory access system though.
- pmayrgundter 3y agoFollowing the history here, DARPA also funded work in ~2005 on a project Monarch, that I saw presented at a Google tech talk back then. I believe it refers to the "butterfly" architectures of very scalable interconnects of lightweight processing units Bill Dally was working on the networking side (maybe equiv to the photonics interconnect here) and almost got it up and running at BBN (search for "monarch") http://franki66.free.fr/Principles%20and%20Practices%20of%20Interconnection%20Networks.pdf http://franki66.free.fr/Principles%20and%20Practices%20of%20... Here's some refs for the chip https://slideplayer.com/slide/7739558/ https://slideplayer.com/slide/7739558/ https://viterbischool.usc.edu/news/2007/03/monarch-system-on-a-chip-excels-in-early-testing/ https://viterbischool.usc.edu/news/2007/03/monarch-system-on... 6 main RISC processors with 96 ALUs for the lightweight IO/compute processes
- deleted 3y ago[deleted]
- deleted 3y ago[deleted]
- lynx23 3y agoFeels a bit like async on the programming language side. Just replace "waiting for memory" with "waiting for IO" and you're almost there.
- mananaysiempre 3y ago> Just replace "waiting for memory" with "waiting for IO" and you're almost there. You can see the latter in your code, you can’t—on a modern superscalar—see the former. Is the proposed architecture any different?
- rbanffy 3y agoHaven't seen the ISA, but it's not insane to imagine one where explicit data cache manipulation instructions are a requirement (that a memory access outside a cache would fault). I think it's even helpful to make those operations explicit when you are writing high-performance code. On a processor like this, any operation to load a cache that's not already loaded should trigger a switch to the next runnable thread (which also become entities exposed to the ISA). Also, I'm not even sure it'd be too painful to program (in assembly, at least). It'd be perhaps inconvenient to derive those ops from C code, but Rust, with its explicit ownership, may have a better hand here.
- jandrewrogers 3y agoI don’t know if Intel has the appetite to attempt another barrel processor. The primary weakness of barrel processors is human; only a handful of people grok how to design codes that really exploit their potential. They look deceptively familiar at a code level, because normal code will run okay, but won’t perform well unless you do things that look extremely odd to someone that has only written code for CPUs. It is a weird type of architecture to design data structures and algorithms for and there isn’t a lot of literature on algorithm design for barrel processors. I love barrel processors and have designed codes for a few different such architectures, starting with the old Tera systems, and became quite good at it. In the hands of someone that knows what they are doing I believe they can be more computationally efficient than just about any other architecture given a similar silicon budget for general purpose computing. However, the reality is that writing efficient code for a barrel processor requires carrying a much more complex model in your head than the equivalent code on a CPU; the economics favors architectures like CPUs where an average engineer can deliver adequate efficiency. At this point, I’ve given up on the idea that I’ll ever see a mainstream barrel processor, despite their strengths from a pure computational efficiency standpoint.
- thesz 3y agoUsing OpenMP is often enough "to really exploit their potential" "to deliver adequate efficiency." Which is what "average engineer" would use.
- sbierwagen 3y agoIf Intel was very bullish on AI, they might be tempted to design arbitrarily complicated architectures and just trust that GPT-6 will be able to write code for it. This was a bet that completely failed for Itanium, but maybe this time...
- sfn42 3y agoI doubt Intel leadership is that naive.
- IshKebab 3y agoThey probably aren't insanely bullish. GPT is a revolution but it's a revolution because it can do "easy" general tasks for the first time, which makes it the first actually useful general purpose AI. But it still can't really design things. It's probably about as far away from being able to design a complex CPU architecture as GPT-4 is from Eliza.
- userbinator 3y agoHow useful would it be as a GPU?
- zoenolan 3y agoThese particular chips. They seem more targeted at HPC work (and price point). This sort of architecture. I wouldn't be surprised if current GPU were doing something similar. If you think about executing a shader program. You typically are running that same code over a bunch of data. You can map that to multiple threads. https://en.wikipedia.org/wiki/Thread_block_(CUDA_programming) https://en.wikipedia.org/wiki/Thread_block_(CUDA_programming... https://yosefk.com/blog/simd-simt-smt-parallelism-in-nvidia-gpus.html https://yosefk.com/blog/simd-simt-smt-parallelism-in-nvidia-...
- yvdriess 3y agoVery badly, this is the polar opposite design of a GPU. It does share the latency-hiding-by-parallelism design, but GPUs do that scheduling on a pretty coarse granularity (viz. warp). The barrel processors on this thing round-robin through each instruction. GPUs are designed for dense compute: lots of predictable data accesses and control flow, high arithmetic intensity FLOPS. In contrast, this is designed for lots of data-dependent unpredictable accesses at the 4-8B granularity with little to no FLOPS.
- adrian_b 3y ago64 of the 66 treads are slow threads where each group of 16 threads shares one set of execution units and all 64 threads share a scratchpad memory and the caches. This part of each core is very similar to the existing GPUs. What is different in this experimental Intel CPU and unlike in any previous GPU or CPU, is that each core, besides the GPU-like part, also includes 2 very fast threads, with out-of-order execution and a much higher clock frequency than the slow threads. Each of the 2 fast threads has its own non-shared execution units. Separately, the 2 fast threads and the 64 slow threads are very similar with older CPUs or GPUs, but their combination into a single core with shared scratchpad memory and cache memories is novel.
- tgv 3y agoSo this is a processor where you would have 97% of the threads doing some I/O like task? But that can't be disk I/O, so that would leave networking?
- dan-robertson 3y agoI think generally the threads are spending a lot of time waiting on memory. It can take >100 cycles to get something from ram so you could have all your threads try to read a pointer and still have computation to spare until the first read comes back from memory. It could be that eg 97% of your threads are looking things up in big hashtables (eg computing a big join for a database query) or binary-searching big arrays, rather than ‘some I/O task’
- tgv 3y agoThis processor is out of my league, but do you have any idea how a program would use that optimally? How do you code for that?
- AnimalMuppet 3y agoLet's say that I can get something from RAM in 100 cycles. But if I have 60 threads all trying to do something with RAM, I can't do 60 RAM accesses in that 100 cycles, can I? Somebody's going to have to wait, aren't they?
- mjan22640 3y agoTo me it looks like the opposite, the processor being very fast, and exporting itself as 66 threads to not spend virtually all its time waiting for external circuits.
- rajnathani 3y agoI don’t think it necessarily implies a barrel processor. More like a higher count for SMT which could be due to the higher CPU performance relative to the CPU <> memory bandwidth. While the slow fetches occur, the system could execute more instructions for other threads in parallel.