How to take advantage of Dual Core?

Dexmaus

Member
Apr 18, 2006
36
0
0
is there a program that automatically signs affinity for you for different programs that u are running? or this is done by windows XP itself? how to take full advantage of dual core?
 

Unkno

Golden Member
Jun 16, 2005
1,659
0
0
don't need to worry about it. windows will handle the processes to different programs. Note that windows would only take advantage of your second core when a process is multithreaded or your running more than one process/program
 

Munky

Diamond Member
Feb 5, 2005
9,372
0
76
Windows handles it automatically, and it uses both cores. If I run one demanding process, it will not run 100% on one core, but instead it will use both cores more or less 50%. If you want to run the process on one core only, then you have to manually set the affinity. To use both cores at 100% a process needs to be coded to use multiple processors when available.
 

perdomot

Golden Member
Dec 7, 2004
1,390
0
71
Is there a way to tell if a program will benefit from dual core cpus? I'd like to know which programs I run gain from my dualie.
 

soydios

Platinum Member
Mar 12, 2006
2,708
0
0
Some misconceptions in the above few replies:

- @Unkno
You are always running more than one process. Hit Ctrl-Alt-Del in Windows, and look at the bottom left of the Windows Task Manager window. It shows you how many processes are running. Dual core is best used in a multitasking environment (multiple programs and/or windows open at once). Because there are two cores, programs have to wait in line for less time to use the CPU. The analogy is like airport check-in: one person behind the desk can only handle one task at any given time, but two people let's you handle two tasks, and theoretically twice as many people. I say theoretically because dual-core CPUs still have to share the same memory and hard drive buses.

- @munky
One process will run on one core. It will not run simultaneously on two cores. So, one process (a videogame, for instance) will use one core 100%. This is why dual-core CPUs currently offer very little, if any, performance boost to games, as there are just about no multi-threaded (one game spawns multiple processes) games out there. Expect multi-threaded games to come soon (they are already arriving for XBox360 and are in development for PS3). But, if you have a second core, then you can run two processes at (or, because of shared resources, near) 100% (like a game and video encoding).

Some answers:
- @Dexmaus
Windows XP automatically schedules processes for the CPU. It will automatically take full advantage of a dual-core system.

- @perdomot
You can always benchmark the programs. Run them without changing any settings to determine dual-core performance. Then, open Windows Task Manager (Ctrl-Alt-Delete), right click the process that you are looking for (often an odd but recognizeable abbreviation of the program name .exe), right click it, and set its Affinity to either CPU0 or CPU1. Benchmark the program again to get single-core results. If the dual-core results are better than single-core, you have yourself a winner.
 

pcoffman

Member
Jan 15, 2006
117
0
0
Originally posted by: perdomot
Is there a way to tell if a program will benefit from dual core cpus?
Any program that is multi-threaded. As to how to know if the program is multi-threaded, I don't know, other than reading, or benchmarking, as soydios suggests.

 

pcoffman

Member
Jan 15, 2006
117
0
0
Originally posted by: soydios
open Windows Task Manager (Ctrl-Alt-Delete), right click the process that you are looking for ... right click it, and set its Affinity to either CPU0 or CPU1
This advice is worth its weight in gold. I can now set an encoding program that used to hog 100% my CPU resources to just use one of my simulated hyperthreaded cores. Now I can get work done, while I encode. I can actually use my computer! Thanks, soydios.

 

Munky

Diamond Member
Feb 5, 2005
9,372
0
76
Originally posted by: soydios

One process will run on one core. It will not run simultaneously on two cores. So, one process (a videogame, for instance) will use one core 100%. This is why dual-core CPUs currently offer very little, if any, performance boost to games, as there are just about no multi-threaded (one game spawns multiple processes) games out there. Expect multi-threaded games to come soon (they are already arriving for XBox360 and are in development for PS3). But, if you have a second core, then you can run two processes at (or, because of shared resources, near) 100% (like a game and video encoding).

So how is it that when I run an app like rthdribl, it loads my dual core cpu at 50%, but in task manager it shows core1 being loaded about 75%, and core2 loaded about 25%. If I set affinity to either core, then it loads that core to about 90-95%. To me that looks like at least for a fraction of the time rthdribl runs on the second core, even though it uses the first one mostly. Of course, it doesnt actually run on 2 cores at the exact same time, but it does seem to run on both at various intervals.
 

dmens

Platinum Member
Mar 18, 2005
2,271
917
136
Yes, when the OS switches the thread out, then back in, it just picks a core at random, unless forced to pick a specific core. The load averaging comes out to half. But obviously a thread can only use one core at a time.
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |