News for hackers. Stuff that matters.
Re:ARM v8-A with Scalable Vector Extensions: Aiming for HPC ... by gbrown_ on Monday August 22, 2016 @08:00AM (#12335650)
Anyone have details on the cache design for this? 2048 bits is much larger than most cache lines in chips today.
Re:ARM v8-A with Scalable Vector Extensions: Aiming for HPC ... by beautifulpeople on Monday August 22, 2016 @08:29AM (#12335817)
Looking at the article, I'm not sure 2048-bit lines are quite needed (not to say that that wouldn't be interesting), from (http://www.theregister.co.uk/2016/08/22/armv8_scalable_vecto...): "And once a program has been built for SVE, it will run comfortably on any SVE-capable processor without recompilation, whether the CPU has support for 512, 1,024 or the full 2,048 bits. The SVE unit can automatically break a 2,048-bit vector into, say, four 512-bit vectors if its silicon implementation doesn't support the full length." This paragraph from The Register implies that you could have smaller chunks or larger depending on the silicon implementation. If you look at a 64-byte cache line (what most architectures have today, power & itanium are notable exceptions) that would mean 512-bits per line (assuming you can use the whole line, i.e. packed). For 2048-bit that means 4 cache lines worth of data could potentially be operated on at once.
Re:ARM v8-A with Scalable Vector Extensions: Aiming for HPC ... by beautifulpeople on Monday August 22, 2016 @08:33AM (#12335839)
Also, remember that we're all DDR burst length limited. Unless you change the DDR model, most are 8 bytes x N-length so you'll only get 64-bytes unless you can get the standard changed. If you think about re-use of cache lines though, for most apps part of the data will be in cache and part of it will not be. so likely 64-byte lines will still work well for most applications, it'll be interesting to see what ARM and their partners do going forward. Intel it seems has gone the HMC route, wonder how many others will follow the same route.
Re:ARM v8-A with Scalable Vector Extensions: Aiming for HPC ... by gpderetta on Monday August 22, 2016 @09:45AM (#12336262)
Sometimes these large vector architectures are fed directly from L2 or even LLC, whose line size does not necessarily need to match L1.