Saturday November 21, 2009 8:59 PM AEST

Optimise Windows for dual-core

  • Email a Friend
  • Print Page
 »
Optimise Windows for dual-core
By Jake Carroll
Aug 14, 2007
Tags: Optimise | Windows | for | dual-core | core2duo | multi-thread

Jake Carroll gets under the hood of Microsoft’s finest and processes a few threads of his own.

DIFFICULTY Intermediate

You have a new Intel QX6800 in your box, right? Every man, woman and Morris has one. The truth is the hardware you have – in most situations – is akin to having a Porsche on a dirt road out the back of your uncle’s farm. All hotted-up, with no room to move. This month, we will show you a few ways to exploit the potential of your thread-eating, multi-core pride and joy through application, operating system and driver optimisation.

Processing in symmetry
SMP or symmetric multi-processing is the lifeblood of your new multi-core CPU. SMP – in this instance – means that multiple processor cores are directly connected to a single shared main memory region. This SMP architecture allows any one of your processor cores to work on any set of threads in the pipeline no matter where the data for that set of threads is located in memory. More importantly, with an appropriately written operating system and thread scheduler, your threads can be balanced across multiple cores at once.

Recent trends in benchmarking have shown us that while multi-core processors are benchmarking well in highly-threaded, floating point-intensive applications – video encoding, audio encoding, scan-line rendering et al – the processors have for the most part only shown small gains in the things that many computing enthusiasts care most about. Desktop applications, gaming and operating system performance tend to fall by the way-side. There are a few things we can do to rectify some of these performance discrepancies.

Tuning desktop applications for multi-core
Threads themselves are the separate programmatic running processes that are spawned by an instruction from your executable binaries. The more threads you can run at one time, within a single application, the better the ability of the application to take advantage of physical processor resources – within reason. If your applications are running on a single thread, the chances are they will still offload processing to more than
a single core – hence, you’ll rarely see any of your cores completely idle – but will rarely attain their maximum potential, load-balancing across several cores without intervention. It can, in some cases, be detrimental to application performance when poorly-threaded applications attempt to load balance across multiple cores.

Pump your process priority up
Like putting nitrous-oxide in your transport, changing process priorities has its fair share of risks. What it does is give your applications more of a chance to take advantage of multiple-core time, before other processes get close to fetch-execute-decode time. What happens when important system processes don’t make it on time? Do they stall? Our general advice is that increasing a running processes priority to real-time is not something you should do in mission critical situations under an NT kernel – WinXP, Windows Vista, Win2k3. 32-bit Windows operating systems schedule threads on 32 priority levels, numbered 0 to 31. The thread with the highest priority is sent to the execution stack first. As threads wait to be processed, their priority levels are increased. The base application priority determines the priority level at which a threads begin. The following table shows the priority levels for each of the definable settings, when you right click on a process in task manager.



Process priority table for the NT kernel
Try increasing the priority on your next DVD encoding session, or perhaps your next Adobe Acrobat Professional 8.0 large volume PDF writing session. You’ll find in such situations, while your processor usage will be increased across multiple cores, other aspects of system responsiveness may be degraded.



 
 »
 
This article appeared in the August, 2007 issue of Atomic.

The latest issue is on sale now!

Want to learn all about Diablo III? Want to find out what the best Solid State Drive is on the market today, and how to look after it? Want to catch up on the latest hardware, games and in depth tech from Australia's best enthusiast mag?

Get your copy today :)
Comments

Be the first to comment on this article.
Thoughts on this article? Add a comment below.
Login or register to submit a comment.
 
 
 
Atomic Magazine

Issue: 107 | December, 2009

Atomic is a magazine aimed squarely at computer enthusiasts, gamers, and serious PC upgraders.

Every month we bring you the latest reviews of new technology and PC components, in depth features on everything from overclocking to console hacking, and gaming previews and interviews.
 
Latest Comments
"Yeay! :D It's good to see someone with their head screwed on properly."
by colganaitor | Nov 21, 2009 7:20 PM
 
"Holy shit, batman.

*runs"
by colganaitor | Nov 21, 2009 7:17 PM
 
""sudo preupgrade"
...failed to download installer metadata
------------
So ..."
by wlayton27 | Nov 21, 2009 8:16 AM
 
"I thought Vista outlived it's usefulness about the same time it was released , lol"
by mr.gargoyle | Nov 21, 2009 12:28 AM
 
"^ I find with CoD4 that I can jump on an empty server and be joined by 6-12 others before the ..."
by Ezekill | Nov 20, 2009 10:10 PM
Latest User Reviews
Shenmue II
10%
asdfasdf
 
EVGA X58 Classified
90%
great board, a few things could be better
 
EVGA X58 Classified
90%
Gorgeous looking
 
Sapphire 4890
90%
So good, I immediately wanted a second one!
 
MSI 790FX-GD70 motherboard
90%
Allmost the prefect gaming board