Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Forums > Overclocking & Cooling

Vista - How does vista use multicores

Reply
 
Old 05-26-2009   #1 (permalink)


Vista Ultimate SP1 x64
 
 

How does vista use multicores

Lets say im playing a game that can use the 2 cores from a c2 duo, and i have a quad core. While im gaming, what would the other 2 cores do? I would of imagined that background services/processes would use the cores with less load, but somehow i cant imagine that being so. Also how would vista use a quad core cpu while im messing around on the desktop.

I ask coz im considering getting a quad core so im maxing my socket 775 board out before having to migrate to i7. I dont do any 3ds max or anything so im trying to figure out if there would be any actual advantages in my situation.

I considered going for a higher clocked dual core, but an extra 600mhz isnt worth a new processor purchase. Also figured that gta4 might be able to run as well.

My System SpecsSystem Spec
Old 05-26-2009   #2 (permalink)


Win7x64
 
 

Re: How does vista use multicores

Oooh, an interesting question, although it's probably not getting the attention it deserves in this section

To understand how this stuff works, it's necessary to distinguish between a "process" and a "thread":

THREAD: a sequential stream of instructions that a processor can execute. A thread completely monopolises a processor (core) until that thread is "pre-empted" by the OS so that another thread can get its fair share of processor time. That period is called a "quantum" and its on the order of 10 to 15 milliseconds.

PROCESS: A grouping of one or more threads. They share the same virtual memory, and the same security token, but each thread remains a distinct set of instructions.

At any time, there may be no threads in a read-to-run (RTR) state, in which case the processors run threads belonging to a special "idle" process, or there may be one thread, or many. An OS component called the thread dispatcher has the job of looking at all the RTR threads and "scheduling" them across the available processors. It takes into account thread priority, the processor where a particular thread last ran (there's cache advantages from staying on the same proc), and other factors to continuously make decisions about which threads get to run on which processors.

The dispatcher is blind to process boundaries. It only cares about threads. If a process has 17 threads and another process only has 2, the first one will get 17/2 times the processor love, everything else being equal. Processes that form part of the OS itself have hundreds of threads between them, and by the time you add all apps there'll be tens or hundreds more, but the real question is just how many of them are RTR at any time...

If you have a game that can spawn 4 or more computationally-intensive threads that are generally RTR all the time, all 4 cores in a quad-core proc should stay busy, although they'll sometimes be temporarily diverted to handle the OS threads and any other apps which may be vying for processor time. Otherwise, if the game only spawns 1 or 2 RTR threads - a much more common scenario - the other cores will sit and do very little other than background maintenance tasks.

The short answer is "get a quad core if you can easily afford it". Your life won't be made any easier or simpler, but sometimes you'll wait a little less, plus the machine will last and be relevant somewhat longer.
My System SpecsSystem Spec
Old 05-27-2009   #3 (permalink)


Windows vista ultimate (64bit)
 
 

Re: How does vista use multicores

I had the same question in my mind, I believe in gaming 1 handles graphics the other handles processing stuff and so on.
My System SpecsSystem Spec
Old 05-27-2009   #4 (permalink)


Vista Ultimate SP1 x64
 
 

Re: How does vista use multicores

so while in a game that uses dual core, vista would use the other 2 cores for background processes like services and defragging?

This is interesting coz then the 2 cores running the game wouldnt be interfered by the O/S as much.

Right now im deciding between q9550 and e8500, there a £50 difference but £150 isnt really worth 500mhz clock speed and a die shrink so im leaning towards the quad.
My System SpecsSystem Spec
Old 05-27-2009   #5 (permalink)


Win7x64
 
 

Re: How does vista use multicores

Quote  Quote: Originally Posted by fieseler View Post
so while in a game that uses dual core, vista would use the other 2 cores for background processes like services and defragging?
Yes, in a nutshell. The two threads spawned by the game process don't own the processors in any way, and it's still possible for other threads running at a higher priority to temporarily take over, but that won't happen while cores 3 and 4 are twiddling their thumbs.

Quote  Quote: Originally Posted by fieseler View Post
This is interesting coz then the 2 cores running the game wouldnt be interfered by the O/S as much.
Each core is like an employee - they'll do whatever the management (the OS thread dispatcher) tells them to do. Obviously, more people means more work gets done overall, as long as the influx of work is sufficient to keep all 4 busy. Hence, a quad can easily out-perform a dual core if there are lots of apps (meaning lots of RTR threads), but its advantage with simpler workloads will not be as marked - if there's only ever one work item at a time, the fact that 4 employees are available doesn't speed things up since they can't share a single work item (thread).
My System SpecsSystem Spec
Old 05-27-2009   #6 (permalink)


Vista Ultimate SP1 x64
 
 

Re: How does vista use multicores

may as well go for a q9550 then. My only concern now is what the temps would be like. I live in the uk and have a well ventilated case, my e6700 (65nm btw) idles around 36c during the summer, Load is around 55c.

Id guess they would be about the same as clock speed is equal, 2 cores extra but the shrink to 45nm would see lower temps i suppose.
My System SpecsSystem Spec
Old 05-27-2009   #7 (permalink)


Vista Home Premium 32bit and Ubuntu 9.10 32bit
 
 

Re: How does vista use multicores

no no no! go get the phenom II :P
My System SpecsSystem Spec
Old 05-27-2009   #8 (permalink)


Win7x64
 
 

Re: How does vista use multicores

Quote  Quote: Originally Posted by fieseler View Post
may as well go for a q9550 then. My only concern now is what the temps would be like. I live in the uk and have a well ventilated case, my e6700 (65nm btw) idles around 36c during the summer, Load is around 55c.

Id guess they would be about the same as clock speed is equal, 2 cores extra but the shrink to 45nm would see lower temps i suppose.
There are only two temperature ranges where processors are concerned: "good enough" and "over the design limit". As long as the level of cooling in your machine always ensures that the processors always remain in the first category, there's no need to worry.

My visits to the UK lead me to believe that ambient heat is rarely an issue (!), so as long as the case is not covered in a black plastic shroud even the stock cooler should be perfectly adequate on any of these processors. That's what they're designed for
My System SpecsSystem Spec
Old 05-28-2009   #9 (permalink)


Vista Ultimate SP2 x64 : Seven Ultimate x64
 
 

Re: How does vista use multicores

Quote  Quote: Originally Posted by fieseler View Post
may as well go for a q9550 then. My only concern now is what the temps would be like
Very similar to what you're getting now and all within the 'good enough' range

Quote  Quote: Originally Posted by H2SO4 View Post
even the stock cooler should be perfectly adequate on any of these processors. That's what they're designed for
....unless your overclocking the chip (and the q9xx series overclocks nicely as well). But stock speeds+stock cooler=fine.
My System SpecsSystem Spec
Old 05-28-2009   #10 (permalink)


Vista Home Premium 64 bit
 
 

Re: How does vista use multicores

Get the Phenom 9850...OK, I'm partial to those because I have them. Go for the Phenom II. They run cool with stock fans etc. I have mine upgraded just a bit but you know stock cooling is fine if not AMD would be replacing burnt chips all day long. That is not good business sense.
My System SpecsSystem Spec
Reply

Thread Tools



Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46