bit-tech.net

Windows 7 features improved multi-threading

Windows 7 features improved multi-threading

Microsoft has changed the way the kernel handles multi-core CPUs in Windows 7 and locks threads to particular cores instead of jumping around.

COMPUTEX 2009: Intel has revealed that Windows 7 features new and improved multi-threading, which will help to improve power consumption and battery life.

Previous versions of Windows often swapped threads around cores, which prevented them from entering lower power states and caused cache thrashing as separate cores raced to grab data processed by others.

The Windows 7 kernel changes this by improving thread affinity, locking threads to particular cores in order to allow unused CPU cores to enter low power C-states when they’re not in use – called thread parking - providing the CPU and motherboard supports this of course.

Both Intel’s Nehalem and AMD’s Phenom II processors do support per-core low power states, so power consumption should improve (decrease) dramatically when using single or lightly threaded applications. Moreover, in the case of Intel’s Nehalem based chips, it should also mean good things for Turbo Mode.

Turbo Mode enables the processor to optimise its performance based on the workload – if only one core is being used, the CPU can run at a higher frequency without stepping outside of its power envelope - this is all hardware controlled by the Power Control Unit (PCU) on each processor. Intel admitted that turning off HyperThreading can give a fraction more Turbo Mode in certain, limited situations, because less of the core is in use at anyone time meaning less heat, but the PCU is "global" to each CPU and doesn't monitor sub-sections within the pipeline, making the performance with HyperThreading on generally better.

Discuss in the forums.

6 Comments

Discuss in the forums Reply
Paradigm Shifter 4th June 2009, 11:55 Quote
Anyone keeping an eye on Task Manager or similar in Windows 7 will probably have spotted this - and while it's vastly improved over XP/Vista... 7 still doesn't do it perfectly. If I fire up something like video encoding with multiple stages (some of which are single threaded, some multi-threaded, the first single threaded run is spread over all the cores of my i7 rig. If multi-threading then kicks in and utilises, say, 90% of all 8 cores, when that completes and a single threaded run takes over again, it'll be at 100% on just one of the 8 cores, rather than randomly fluctuating across all 8. At least, that's what I've been seeing in build 7100. Microsoft might have improved it even more with newer builds.
OWNED66 4th June 2009, 13:48 Quote
Quote:
Originally Posted by Paradigm Shifter
Anyone keeping an eye on Task Manager or similar in Windows 7 will probably have spotted this - and while it's vastly improved over XP/Vista... 7 still doesn't do it perfectly. If I fire up something like video encoding with multiple stages (some of which are single threaded, some multi-threaded, the first single threaded run is spread over all the cores of my i7 rig. If multi-threading then kicks in and utilises, say, 90% of all 8 cores, when that completes and a single threaded run takes over again, it'll be at 100% on just one of the 8 cores, rather than randomly fluctuating across all 8. At least, that's what I've been seeing in build 7100. Microsoft might have improved it even more with newer builds.

+1
Rich_13 4th June 2009, 14:28 Quote
Still its another bonus. Don't forget additional software needs to be written in a way which can utilise these cores as well...
Madness_3d 4th June 2009, 19:20 Quote
I don't really see the hurrah about Intel's turbo mode.
1) this is Bit-tech, owners of Lynnfield will be overclocking, hence turbo goes off
2) it will be a while before we see LGA 1156 chips going into hte normal sub £300 machine that people seem to want and since when did those people need a self overclocking quad core anyway!
HourBeforeDawn 4th June 2009, 20:07 Quote
I am in absolute amazement with how well Windows 7 has been, this is by far going to be one of the best OS I think I have ever used :)
wuyanxu 5th June 2009, 00:25 Quote
Quote:
Originally Posted by Madness_3d
I don't really see the hurrah about Intel's turbo mode.
1) this is Bit-tech, owners of Lynnfield will be overclocking, hence turbo goes off
2) it will be a while before we see LGA 1156 chips going into hte normal sub £300 machine that people seem to want and since when did those people need a self overclocking quad core anyway!
why would anyone turn off turbo mode?

i5 will allow 8 threads together with proper bus to maximise its speed (rather than fsb)

Win7 will be great, can't wait to get my hands on some SSD to use Win7
Log in

You are not logged in, please login with your forum account below. If you don't already have an account please register to start contributing.



Discuss in the forums

More About...