HQ NETWORKXbox One | Xbox | C64 8,486 HQ Network UsersHQ Network: 8,486 | Members OnlineGuests: 5175 |Guests OnlineMembers: 1

  Active Topics  | Achievements  | Cheats  | Downloads  | Feedback  | Forums  | Games  | Hardware  | My Profile  | News  | Reviews  | Tutorials  | Leaderboards  | Videos

CODESHOP: Making the Most of Cell

Catch up on everything Xbox including the latest Gaming News, Release Dates, DLC, Xbox Live and Modding..

Browse All News |  Write for Us |  Most Popular |  Browsing: 341 SEARCH XBOX NEWS:      
Get Xbox Game Pass Ultimate

CODESHOP: Making the Most of Cell

CODESHOP: Making the Most of Cell
Published by wes213 on Friday, November 02, 2007
Tagged: Hardware,
With programmers finding it difficult to take full advantage of PS3, tools company Codeplay hopes its new parallelism system will ease the pain.

In many respects, PlayStation 3 is an anachronism. The pinnacle of Sony Computer Entertainment’s decade-old philosophy that focuses on proprietary chip design to gain performance and long-term production efficiencies, it’s been outflanked by Microsoft’s off-the-shelf approach and Nintendo’s control-is-everything attitude. And with its main architect, one-time CEO and the father of the PlayStation Ken Kutaragi, no longer in charge, it’s likely that PlayStation 4 will be a very different beast.

Of course, in terms of the current console war, it’s still early days. PlayStation 3 remains the most powerful gaming device, as well as providing the best future-proofed option in terms of consumer electronics, although cynics might say that at its original launch price it should’ve made the tea, too.

For developers, however, the dilemma is how to make the most of its exotic configuration – notably its CPU. Even now, years after the initial interest in the design has died down, Cell’s configuration of one main processor driving eight Synergistic Processing Elements (SPEs) via what’s called the Element Interconnect Bus (EIB) makes it one of the most fascinating pieces of silicon coders can get their hands on.

For example, outside of games, researchers at the STI Center of Competence for the Cell Processor continue to publish papers with titles such as ‘Fastest Fourier Transform on Cell’ and ‘On the Design and Analysis of Irregular Algorithms on Cell’, while its use in scientific applications such as Folding@Home, as well as MMOG hosting, demonstrates its potential. One hardware integrator, Mercury Computer Systems, recently released software which enables companies to use retail PlayStation 3s to build high-performance clusters for the analysis of data from financial transactions, oil and gas field exploration, biotechnology and video compression.

Because if there’s one thing Cell is excellent at, it’s handling vast amounts of information as the EIB enables high throughput while the parallelism inherent in the SPEs means tasks can be processed very efficiently. The issue for developers is making sure information is presented in the right way.

With the exception of specific architectures such as Intel’s Streaming SIMD Instructions or PS2’s Vector Units, few game programmers have had much experience of writing well-organized parallelized code. And games aren’t the easiest pieces of software to apply to parallel hardware, anyway.

Read on there is alot more to this story


According to Andrew Richards (pictured), CEO of Scottish programming tools company Codeplay, the problem is that games work differently to scientific work.

“We’ve looked at various parallel programming languages such as OpenMP, which is an industry-standard way of doing parallelism, but it relies on data being in arrays rather than in data structures,” he says. Incidentally, OpenMP is the basis of IBM’s own research into compilers for getting the most out of Cell. “This assumption is fair enough for scientific applications but isn’t true of games,” Richards continues. “A lot of game data is in complex data structures because game enemies don’t line up in a long line. They move around, so you need a data structure that can handle issues such as which enemies are visible at any time.”

Equally, when it comes to games, the type of processing carried out on a CPU is varied, typically involving tasks such as artificial intelligence, audio and physics calculations, as well as setting up the rendering to be sent over to the graphics card. In addition, many developers have existing engines that run to hundreds of thousands of lines of code. Retrospectively getting these into shape to get the most out of the Cell part of the equation just adds further complexity to the task.

That’s why, after originally setting up shop to offer its VectorC compiler for PlayStation 2, Andrew Richards and his team decided to take a different approach with PlayStation 3. Instead of working on compilers, which have to be written directly for each piece of hardware to automatically make your code run well, Codeplay’s solution is its general-purpose Sieve C++ Parallel Programming System, which acts as a frontend to official compilers provided by hardware companies.

“In the past we took the view that we would take your existing program and automatically parallelize it across various processors, but with PlayStation 3 we’ve come to the conclusion that what you need to do is rewrite parts of your code,” Richards says. “The trick is that we can ensure it’s a small change and one that our tools will help you make.”

{moscallout}It seems as if game coders, as well as PS3 owners, will be waiting to make the most of Sony’s hardware for some time to come.{moscallout}The Sieve system works by forcing programmers to carefully think about which areas of their code will give the best performance boost when spread across several SPEs. Once these are defined in what Richards refers to as Sieve blocks, the system will check that there are no dependencies which would stop the code being successfully spread across multiple processors. The reason it’s called Sieve is because it enables coders to sieve out data modifications from within these blocks, thus removing an enormous number of dependencies in the process.

“You need an intelligent user because this isn’t a case of shoveling something in one end and watching it come out as parallelized code at the other, but Sieve will give the programmers considerable assistance in terms of marking up their code and telling them if things can be parallelized or not,” Richards explains.

Still, as he confesses, Sieve itself remains something of a research project at present. It’s currently being sent out to various university groups and selected game companies to see how useful they find it. At best, Richards reckons it will be ready for widespread deployment in summer 2008.

In the meantime, though, there are plenty of other companies looking to provide similar smarts. Official PlayStation 3 tools provider SN Systems is working on its own Cell-based compiler technology, while US middleware company Emergent will be offering its Floodgate data streaming API as part of its Gamebryo engine; something that’s expected in early 2008. It seems as if game coders, as well as PlayStation 3 owners, will be waiting to make the most of Sony’s hardware for some time to come.



News-Source: Next-Gen
( Subscribe via )

Associated Topics

Hardware

Rate this Article

Average Score: 0 | Votes: 0



  

 Printer Friendly Printer Friendly  Send to a Friend Send to a Friend
Get Xbox Game Pass Ultimate for $1

Latest Xbox 360 News

Xbox 360 NewsSimon The Sorcerer Origins: Trailer features exclusive scenes and partnerships
Simon The Sorcerer Origins, the long-awaited prequel to the iconic 90s point-and-click graphic adventure released a new trailer featuring Chris Barrie, the original voice of Simon, plus exclusive sc..

BECK Interactive Aims To Boost Early-Stage Vide..

Predator: Hunting Grounds coming to Xbox Series..

Still Wakes the Deep emerges in June on Xbox Se..

Cyberpunk Action Game SPINE coming to Xbox Seri..

Xbox 360 News | Submit News

Xbox 360 News Archive


   Tuesday, May 14
 CAPES releases this month on Xbox X|S, XB1, P

   Monday, May 13
 Xbox360Highway Police Simulator launches for Xbox Se

   Friday, May 10
 Xbox360THE SMURFS - Village Party launches in June o

   Thursday, May 09
 Xbox360'Paper Trail' Sets Course for Consoles, PC an

   Wednesday, May 08
 Xbox360ESDigital Games and Storm in a Teacup team up

   Tuesday, May 07
 Xbox360'Realm of Ink' Reveils New Map Trailer, Invit

   Monday, May 06
 Xbox360Puppet House creeps onto Xbox Series, PS5, an

   Friday, May 03
 Xbox360Toopan Games Unveils 2025 Release for 'Multiv

   Thursday, May 02
 Xbox360F1 Manager 2024 coming to Xbox X|S, XB1, PS4|
 System Shock remake arives May 21st on Xbox S

   Wednesday, May 01
 Xbox360AAA Multi-IP Battle Royale “OPEN” confirmed f
 Chrysolite announced for to Xbox Series, Play

   Tuesday, April 30
 Xbox360INDIE Live Expo Reveals First 2024 Showcase,

   Monday, April 29
 Xbox360Demolish & Build 3 is coming to Xbox, PlaySta

   Friday, April 26
 Xbox360Killer Klowns From Outer Space: The Game laun

   Thursday, April 25
 Xbox360Sleight of Hand launches Day One on Xbox Game
 Space Invaders Deck Commander - The Board Gam

   Wednesday, April 24
 Xbox360devcom announces new venue, call for speakers

   Tuesday, April 23
 Xbox360Dune: Awakening Shows Off Stunning Unreal Eng

   Monday, April 22
 Xbox360Metro Simulator 2 is coming soon for Xbox and

   Thursday, April 18
 Xbox360Terminator: Survivors confirmed for Xbox Seri

   Wednesday, April 17
 Xbox360Build Your Empire: 'Rise of Industry 2' Comin

   Tuesday, April 16
 Xbox360Epic Fantasy RPG 'Dungeons of Hinterberg' is

   Monday, April 15
 Xbox360Delta Force: Hawk Ops gets a brand new traile
 Perennial Order is set to bloom on Xbox Serie

   Friday, April 12
 Xbox360Umbraclaw hits Xbox, PlayStation, Switch & PC

   Thursday, April 11
 Xbox360TMNT: Wrath of the Mutants Hits XBOX, PlaySta
 GIC’24 Early Bird Tickets Now Available

   Wednesday, April 10
 Xbox360Mars 2120 launches out of Early Access onto a

   Tuesday, April 09
 Xbox360Die by the Blade Slashes Its Way onto PC in M

See All Xbox 360 News | Xbox 360 News Archive

HQ Network Affiliates

Xbox One Games
Xbox One X Games
MrModChips.Co.Uk
Xbox360RepairService
Commodore Cardboards
Play-Asia.Com
Xbox Achievements
Xbox One Forums
Xbox Series X|S News
Xbox 360 Cheats
Xbox Cheats
Xbox 360 Achievements
ConsoleWizard.Co.Uk
Xbox 360 Cheats
View All HQ Affiliates
Get Xbox Game Pass Ultimate for $1