Blog Archives

January, 2009

Moving Multithreaded Applications to Multicore

True of False? If you already have an application that is multithreaded and running on a multiprocessor system, moving to multicore is completely painless. Why are people making such a big deal of this 'multicore thing'?

A == !A or What Happened to my App?

Most of us have read about the philosophers dining with insufficient chopsticks and the curved section of single-track railway in the mountain pass. These are the beginner examples of resource conflict and deadlock that serve as an introduction in comp sci texts to the challenges of parallel execution.

But they are coarse examples, and the world of multiprogramming today is very finely grained indeed.

Applications properly designed for multithreading on a single processor using all the approved locks and semaphors can still misbehave on multiple processors.

Welcome to Parallel Worlds

Welcome to Parallel Worlds, a blog hosted by Stephen Blair-chappell. Stephen is a Technical Consulting Engineer at Intel, and has worked in the Intel Compiler Lab for the last 10 years. Prior to joining Intel, Stephen worked as a lecturer at the University of Central England, specializing in Software Engineering and Embedded Systems. Outside of work, Stephen enjoys playing the pipe organ, and is an accomplished musical instrument restore

Visions of ICOT

Since Cameron started this discussion on ICOT, what were they really trying to achieve and what did they actually accomplish? What states of ah-wareness did they experience? When examining their original purpose and their findings, they must have experienced allot of Ah naw and Ah hem Multicore Moments.

Parallel Programming Via Committee

One of the biggest multicore challenges these days is converting those serial programs to parallel. The Silver Bullet is the tool that allows you to 'push a button' and voila - out pops parallel code. Many companies are working on proprietary solutions, all with varying degrees of functionality and purpose. There are also many efforts underway at the various research institutions (which include the development of new programming languages). How about if we alleviate some of the issues of parallel programming by combining forces and sharing knowledge and experiences? An effort is underway to develop a best practices guide by committee. I'll be back with some specific examples that have been contributed.

PetraVM and DMP

The goal of PetraVM, a startup launched by University of Washington computer science professors Mark Oskin and Luis Ceze, is to develop technology for writing more reliable multi-threaded code for multi-core architectures.

A Few Minutes with James Reinders

James Reinders, author of Intel Threading Building Blocks: Outfitting C++ for Multi-core Processors, recently took a few minutes to talk about going parallel.

Q: James, are software developers ready for parallelization, or are we lacking the fundamental building blocks -- parallel algorithms, compilers, tools, and the like -- needed to effectively build concurrent applications?

How About 'iGramps' Instead?

You can always tell when the developers roll out something before marketing has a crack at "preparing" it. And that ususally starts with the name of the product or the title of the paper. Take, for instance, the programming model for graphics pipelines created and described a team of researchers from Stanford University and Microsoft Research.

What Does it Take to Make Multicore Happen?

Welcome to my new blog. Chances are good that if you read this blog for the next 5 years, I'll have the opportunity to explain what it really takes to make multicore happen. One reason it will take so long is because it is a complex subject, and I'm probably not the first to tell you that. But the real reason is because most of the solutions to make multicore happen haven't even been created yet (although many vendors would beg to differ). Regardless of the reasons, I'll use this first session to share a bit of my background to give you a perspective on where I'll be coming from on my blogs....

Multicore Moments

It seems that we are having more and more Multicore Moments these days. With clusters and clouds everywhere we find ourselves with almost more porridge than we can eat. The operative word being almost. This "thinking in parallel" thing has turned out to be both treacherous and addictive at the same time.

Multi-core in 3-D, or is it 3-D in Multi-core?

I don't know about you, but I'm stoked about the Super Bowl. No, I haven't stocked up on chips, queso dip, and beer. Heck, I'm not even much of a pro football fan. But with the news that Dreamworks Animation, Intel, Pepsi, and NBC are planning a big 3-D movie promotion around the Super Bowl, I didn't waste any time dusting off the 3-D glasses that Intel and Dreamworks Animation handed out at the Intel Developer's Forum last August.

Calendar

June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
December 2008

Real World Parallelism Webinar Series
  • November 17, 2009
    Visual Effects for Animation - presented by DreamWorks Animation
    Speaker: Ron Henderson (Bio)

    Ron Henderson manages the FX Tools group at DreamWorks Animation, where he is responsible for developing physical simulation and procedural modeling tools. These systems have been used for key visual effects in recent films such as Kung Fu Panda and Monsters vs. Aliens (March 2009).

    Prior to joining DreamWorks in 2002 he was a senior scientist at Caltech with a joint appointment to the Applied Math and Aeronautics departments, where he worked on efficient techniques for the direct numerical simulation of fluid turbulence.

    Abstract:
    In this webinar, Ron Henderson will show examples of visual effects, from hair and feathers to smoke and fire, from a variety of DreamWorks Animation feature films. He will discuss in general terms the kinds of techniques used to achieve particular visual effects. Finally, Henderson will show a detailed breakdown of the dam-breaking scene from Madagascar: Escape 2 Africa, demonstrating how different elements of key frame animation, simulation, and rendering are combined in a real production shot.

  • December 1, 2009
    A Quick and Easy Way to Parallelize a Legacy Codebase with Intel® Threading Building Blocks (TBBs)
    Speaker: Bernard Laberge, Avid, Senior Principal Engineer (Bio)

    Bernard Laberge is a senior principal engineer in the video editors division at Avid. During his seven years with the company he has been actively involved in the replacement of the legacy video processing engines used by Avid editors with a common hardware-abstracted, component-based video processing engine currently running on the CPU with SIMD optimized code, GPU, and dedicated hardware.

    Abstract:
    Learn how to overcome the limitations of a thread-based scheduler, including dealing with the absence of recursive parallelism support and the inefficient handling of unbalanced processing load. Bernard Laberge addresses how Avid resolved the expensive refactoring of their thread-based scheduler into a task-based solution by choosing Intel® Threading Building Blocks (TBBs). He explores how Avid was able to easily integrate the Intel TBBs into their video editor applications and more than 5 million lines of code.

  • December 15, 2009
    How to Use Intel® Parallel Studio to Streamline Code Development in a Multicore Environment
    Speaker: Matt Dunbar, Director for Performance Technology, SIMULIA (Bio)

    Matt Dunbar is the director for performance technology at SIMULIA. Since joining the company in 1993, he has worked on parallelization of the Abaqus suite of products, initially for shared memory architectures and more recently for distributed memory architectures. Dunbar has also been intimately involved in selecting both the hardware and software tools used in the development of the Abaqus product line.

    Abstract:
    Resolve elusive, costly multithreading errors quickly and efficiently with Intel® Parallel Studio. While many coding problems that lead to bugs in software applications are typically straightforward logic errors, errors in managing memory and in multithreading code can sometimes take weeks to months to diagnose and fix. Matt Dunbar explores how and why taking advantage of multicore processors through multithreaded code is critical for compute-intensive applications. While spotlighting his work on SIMULIA's Abaqus finite element solver, Dunbar addresses the need for multicore execution and shares his experiences using Intel Parallel Studio to streamline code development in a multicore environment.