Programming for the Larrabee/Xeon Phi

Programming for the Larrabee/Xeon Phi

Back in the day, I worked on this little project called Larrabee – which later turned into the Intel Xeon Phi coprocessor. It was an ambitious and exciting platform. It consisted of a ton of 512 bit wide instructions to operate like a lot of streaming GPU architectures, yet was fully general purpose x86.

It turned out that getting performance out of this hardware was difficult. In order to get the full potential of the hardware, you simply had to utilize the vector units. Without that, it is like writing a single threaded app on a 8 core system. Single SIMD lane operation just wasn’t going to cut it as was written about in 2017 International Journal of Parallel Programming article:

“Our results show that, although the Xeon Phi delivers a relatively good speedup in comparison with a shared-memory architecture in terms of scalability, the relatively low computing power of its computational units when specific vectorization and SIMD instructions are not fully exploited makes this first generation of Xeon Phi architectures not competitive”

Using the Xeon Phi Platform to Run Speculatively Parallelized Codes

The paper, and the host of others linked on the page as references, are a good read and gives some hints why fixed-function GPUs have an advantage when it comes to raw streaming throughput. Hint: cache and data flow behavior is as, if not more, important as utilizing vectorization in such architectures.

It just crawled out of the woodwork…

It just crawled out of the woodwork…

I loved the Twilight Zone as a kid. Every year one of the local stations would put on a Twilight Zone marathon and play episodes back to back, 24×7, for the entire memorial day weekend. I used to try staying up all night to watch every episode. I usually made it about 18-20 hours before finally drifting off on the couch.

The Outer Limits was also known for tales of the strange and unusual, but I found they weren’t nearly as compelling (If I’m honest, half of the Twilight Zone episodes weren’t really compelling either). But recently I ran across this episode titled ‘It Crawled Out Of The Woodwork‘ and I have to say that it’s incredible. The story could easily be made into a full-length movie and be pretty terrifying. The antagonist was frightening – and even for it’s era.

The story is based on a great question – likely based on the strange and frightening discoveries occurring during the nuclear age. Namely, while delving into the secret depths of the universe, we may find or unleash terrifying things. Even more, those things might just ‘crawl out of the woodwork’ of our experiments in unexpected and uncontrollable ways.

Definitely worth a watch.

Neat visualization

Neat visualization

This could make a fun little demo – flying through a cityscape with buildings that are constantly generated by AI – getting funkier and funkier as you go along

Portland has most job losses in the top 50 metro areas in 2024

Portland has most job losses in the top 50 metro areas in 2024

Continued below average recovery in Portland and Oregon and declining population has lead to Portland having the most job losses in the top 50 metro areas of the country. Unemployment rates are still officially low at 3.9% because they are at the same time experiencing a population decline.

Portland’s true unemployment rate last year was 20%, compared with its official rate of nearly 3.9%, according to a study from the Ludwig Institute for Shared Economic Prosperity (LISEP).

https://www.axios.com/local/portland/2024/05/09/true-unemployment-rate-layoffs-economy