Version: 2008
  • On CBS MoneyWatch: 5 Things You Should Buy at Walmart

August 27, 2006 9:01 PM PDT

Intel: Optimize applications for multicore

  • 14 comments
Related Stories

Intel shows off new 'Tulsa' Xeon

August 16, 2006

Intel quad-core chips arriving in 2006

July 19, 2006
Intel is expected to release on Monday development tools designed to help programmers at software companies take advantage of the added computing power available on multicore systems.

The chip giant has forecast that by the end of this year, about 70 percent of its chips will be multicore. That is, each processor will host more than one processing unit, a design that increases performance without increasing power consumption.

A new product, called Intel Threading Building Blocks, is an extension to the C++ programming language used to ease the process of writing parallel routines, or threads, within an application, said James Reinders, director or marketing for Intel's developer products division.

Two of Intel's existing multithreading tools, called Intel Thread Checker 3.0 and Intel Thread Profiler 3.0, add support for 64-bit processors and the Linux operating system, he said.

Multicore applications do boost performance of existing applications because they are more powerful. But to have a more dramatic improvement, software makers need to write applications where separate tasks can be done in parallel, Reinders said.

"If you take any particular application, something like photo editing, none of it is taking advantage of parallelism," he said. "But photo and especially video editing is a pretty obvious place."

He said that Adobe has optimized its video-editing application Premier 2.0 for dual-core systems now on the market.

Adding parallel processing to existing applications is "a lot of extra work," Reinders said. With Intel Threading Building Blocks, Intel has made it easier to manage threads by automating some of the process of breaking down an application into concurrently run tasks, he said.

"It's not intrinsically harder to write threads, but developers need to get used to thinking that way and we need help from the tools," Reinders said. "In the serial world, it doesn't matter which order you do things or how you break them down."

See more CNET content tagged:
multi-core, Intel, software company, photograph, video

Add a Comment (Log in or register) (14 Comments)
  • prev
  • next
Expect more bugs - initially
by jpsalvesen August 28, 2006 12:38 AM PDT
Multithreaded applications are harder to make - and harder to debug and test. Especially when you're inexperienced. And yes, it is harder than doing a web-app.
Reply to this comment
No more bugs
by joelkatz August 31, 2006 8:32 PM PDT
No, there won't be more bugs, for two reasons:<br /><br />1) A lot of software is already multi-threaded, just badly so. A push to teach people how to do it right and get them better tools may well help them squash these bugs.<br /><br />Windows drivers, for example, are all fully multi-threaded, and nothing does more harm than a driver bug. Anyone who writes drivers already knows how to write multi-threaded code -- maybe well, maybe not so well. This can only make that better.<br /><br />2) It's actually very hard to write good single-threaded code for real-world complex problems. Most people who claim the reverse only work on 'toy' problems, not real-world heavy-duty applications like MMORPGs and video editors.<br /><br />You must be absolutely incredibly careful to never ever block under any circumstances no matter what happens. This results in two kinds of bugs. In one where your intricate code to make sure you never ever block has bugs in it due to the complexity of the requirement. The other is where you still block because you missed one rare case. (This can cause major headaches with server apps.)<br /><br />So lots of bugs will go away due to this push.
woo..nice thing to start with
by Himanshu_Joshi August 28, 2006 1:40 AM PDT
will be nice...programming will be hard but it will be useful as programmers can control each process on very first level how system should handle them... it will for sure increase the performance....
Reply to this comment
Wow, that's so new!!!
by L-Fire August 28, 2006 7:04 AM PDT
OS X has been multi-threaded at the OS level since the first dual-<br />processor Macs in 2002. Glad to see Windows developers playing <br />catch up once again.
Reply to this comment
Wow, did you read????
by seduffy August 28, 2006 9:02 AM PDT
"Two of Intel's existing multithreading tools, called Intel Thread Checker 3.0 and Intel Thread Profiler 3.0, add support for 64-bit processors and the Linux operating system, he said. "<br />Clearly states that this is the first multithreading tool intel has done, oh maybe not.<br /><br />Multithreading is not new to windows, linux, or OS X. "Dual-processor" != dual core processors. This is mostly for application developers not OS developers.<br /><br />I thought Apple was moving to Intel for their processors? <br /><br />I don't see anywhere in the story anything about Windows or Microsoft.<br /><br />I would try reading before flaming Windows.
Your comment is pure garbage.
by techprogress August 28, 2006 11:05 AM PDT
OSes that support SMP have the capability to perform multithreaded tasks. That DOES NOT MEAN the application developers USE that functionality. THAT is what Intel is talk about. They look to make it easier for EVERY developer, large and small, to actually USE SMP and MT support.<br /><br />SMP capable OSes that support multithreading:<br /><a class="jive-link-external" href="http://en.wikipedia.org/wiki/Symmetric_multiprocessing" target="_newWindow">http://en.wikipedia.org/wiki/Symmetric_multiprocessing</a><br />Original Google search<br /><a class="jive-link-external" href="http://www.google.com/search?q=smp+os+capable+of+multithreading" target="_newWindow">http://www.google.com/search?q=smp+os+capable+of+multithreading</a><br /><br />A partial list of SMP and MT capable OSes:<br /><br />Microsoft Operating Systems:<br />Windows NT:<br />3.1 Through 4.0 Workstation supports up to two processors.<br />3.1 Through 4.0 Server supports up to four processors.<br />4.0 Server Enterprise Edition supports up to eight processors.<br />Windows 2000:<br />Professional supports up to two processors.<br />Server supports up to four processors.<br />Advanced Server supports up to eight processors.<br />Data Center supports up to 32 processors.<br />Windows XP:<br />Home supports only one processor. (Not verified.)<br />Professional supports up to two processors.<br /><br />Linux, BSD, and other Unixes:<br />Linux: <br />All current distributions (2.4x Kernel) of Linux support SMP in excess of 32 processors. 2.2x supports up to 16 processors. <br />BSD:<br />BSD currently supports up to four processors. However, there is a serious development effort to improve SMP support under FreeBSD.<br />Solaris:<br />Solaris 8.0 supports up to 128 processors.<br /><br />Unix:<br />There are too many flavors and variables to answer this accurately. Suffice it to say that virtually every Unix supports SMP.<br /><br />Other Operating Systems:<br />BeOS:<br />BeOS 5.0 supports up to eight processors.<br />OS/2:<br />OS/2 Warp 4.0 supports up to 64 processors.
OSX nothing
by aabcdefghij987654321 August 29, 2006 8:37 AM PDT
BSD (which OSX is built upon) had this capability years ago. Multi-processor systems are not some sort of new thing under the sun. How to create multi-threaded programs is an OLD topic, what Intel has done is simply provide some of the structure needed to make it easier for developers to take advantage of the fact that soon most systems will be multi-processor, something a lot of them ignored because the vast majority of systems weren't multi-processor.<br /><br />But just to jump a little harder on your ignorant "OSX already has this, it's too bad you Windows folks are just getting this" nonsense I've been running multi-threaded, multi-processor capable Windows OSes since 1992. Again (since you seem to need repetition to retain any fact) the only thing "new" here is that Intel has provided some frameworks to make it easier to handle multi-threading in a multi-processor environment.<br /><br />Try not to be such an ignorant bigot in the future.
yeah but what about the
by Hardrada August 29, 2006 11:20 AM PDT
2 or 3 applications that run on OS X? After all that's what the article is really talking about.
You'd think they'd release this before the chip!
by bobby_brady August 28, 2006 7:55 AM PDT
Why is it that software ALWAYS lags the hardware?
Reply to this comment
How do you test the software before the hardware exists?
by jamie.p.walsh August 28, 2006 8:58 AM PDT
....
View all 2 replies
premiere not premier
by ojingoh August 28, 2006 3:32 PM PDT
your spelling is wrong:<br /><a class="jive-link-external" href="http://www.adobe.com/products/premiere/" target="_newWindow">http://www.adobe.com/products/premiere/</a>
Reply to this comment
only if they have to
by Hardrada August 29, 2006 11:36 AM PDT
the point here is there weren't a lot of consumer-level applications and workloads that benefitted from multi-threading to the extent that it justified the additional development effort. After all, how many consumers owned systems with more than 1 CPU before 2006?<br /><br />Gaming, which has traditionally pushed the envelope for consumer PC hardware, has relied on offloading a lot of processor-related tasks to GPUs and add-in cards.<br /><br />When Intel began ramping for multi-core on the desktop, they also began to train developers on writing parallelizable apps that could execute simultaneous threads. A lot of this training was a rehash of the work done in the MP server world, including stuff like openmp support in the compiler. <br /><br />Intel is just making that knowledge and tools more mainstream, essentially lowering the bar to entry to appeal to a broader range of developers. At some point you might even find instructions for parallelizing your workload and building MP-safe applications on the back of a cereal box. ;)
Reply to this comment
(14 Comments)
  • prev
  • next
advertisement

Latest tech news headlines

advertisement

RSS Feeds

Add headlines from CNET News to your homepage or feedreader.

More feeds available in our RSS feed index.

Markets

Market news, charts, SEC filings, and more

Related quotes

Intel (0.00%) 0.00 19.65
Dow Jones Industrials (0.00%) 0.00 10,058.64
S&P 500 (0.00%) 0.00 1,070.52
NASDAQ (0.00%) 0.00 2,150.87
CNET TECH (0.00%) 0.00 1,524.71
  Symbol Lookup
advertisement

Inside CNET News

Scroll Left Scroll Right