Monday, January 8, 2007

16,000 chickens simulated on one cell

The link: http://www.spectrum.ieee.org/jan07/4837
From IEEE Spectrum - January 2007 (Pages 40 - 43).

IEEE Spectrum has a great article about the problems programmers have when trying to create parallel processing algorithms. But in the article they talk about a simulation done on a single cell processor .. where (in real-time) 16,000 chicken's actions were simulated .. key quote from the article:

"Imagine the biggest flock of virtual fowl ever assembled. Each chicken is controlled by a simple artificial intelligence program, operating according to a handful of rules. Each chicken wants to move toward the rooster but must avoid collisions with other chickens, fences, and the barn. To do so, each one must constantly check the position of its nearest neighbors and other objects in its environment and then decide how to move.
If that doesn’t sound all that impressive to you, consider this: all 16 000 of those faux chickens are doing this maneuvering at the same time on a single Cell microprocessor. It is a chore that would tax a rack full of conventional servers." (Spectrum Jan 2007 page 41)

Update:
Here is a link to a presentation where the "16,000 chicken" program is run and explained. You have to go about 32mins into the video to hit the chicken demo part.
http://www.csclub.uwaterloo.ca/media/Riding%2520The%2520Multi-core%2520Revolution.html

No comments: