»
 

Go Back   ResellerRatings Store Ratings > ResellerRatings Forums > Tech Support

Reply
 
LinkBack Thread Tools Display Modes
Old 04-21-2004, 12:13 AM   #1 (permalink)
Registered User
 
ShawnD1's Avatar
 
Join Date: May 2003
Location: organic chem lab
Posts: 921
ShawnD1 is on a distinguished road
Why do programs need special support to use 2 processors?

Why is it that games are unable to use 2 or 4 processors? Aren't processes and threads controlled by the OS, not the program itself?

ShawnD1 is offline   Reply With Quote
Old 04-21-2004, 12:32 AM   #2 (permalink)
Registered User
 
bailey's Avatar
 
Join Date: Oct 2003
Location: Kansas City, Mo.
Posts: 558
bailey is on a distinguished road
dual cpu's are normally used in servers, they can use up to 32 cpu's
normal home computers normally use one, and so that is the way the programs are written,
the closest thing you can do is to use hyperthreading and that will givy your system the effect of two cpu's
but the programs still need to be written to take advantage of it
bailey is offline   Reply With Quote
Old 04-21-2004, 01:12 AM   #3 (permalink)
Registered User
 
ShawnD1's Avatar
 
Join Date: May 2003
Location: organic chem lab
Posts: 921
ShawnD1 is on a distinguished road
I'm wondering because I've seen a video for BeOS (old school) where the demo computer was a dual P2. In all applications the guy used (video, audio, presentaton software), both processors were being used.

Is MS Windows dropping the ball and just leaving it up to the program itself to handle the hardware? DOS was notoriously bad for that. That's why programs for DOS and Windows 95 (still a DOS based OS) always required users to manually input IRQ values for sound, and where the printer is, and what serial port to use. Could it be that programs still need to be specially made to use several processors even though that is the job of the OS?
ShawnD1 is offline   Reply With Quote
Old 04-21-2004, 03:27 AM   #4 (permalink)
Registered User
 
Join Date: Nov 2003
Location: Manchester, UK
Posts: 17
adam-red is on a distinguished road
With an application ran on a dual processor machine, the CPU usage isn't less, but the workload is divided between the two processors. This speeds things up a bit, but not because the software was specifically designed to do so. 3DS Max on the other hand is coded to divide tasks between the two processors, but in a manner which takes the most advantage of the machine.
This is multithreading.

http://www.cswl.com/whiteppr/white/multithreading.html
adam-red is offline   Reply With Quote
Old 04-21-2004, 03:33 AM   #5 (permalink)
Registered User
 
SpookyEddy's Avatar
 
Join Date: Oct 2001
Location: UK
Posts: 3,125
SpookyEddy is on a distinguished road
Many applications are written with a single CPU bound process, as a result having more than one CPU is not an advantage (can be quite the oposite as running multiple CPU's has some overhead). If you coded a game that shared the workload across several threads then these could be farmed off onto seperate CPU's (the OS would take care of this), however the increased complexity and overhead of having to deal with synchronisation issues etc currently makes this an unpopular choice (also not worth it as relatively few home users have dual CPU boxes).

Regards

ed
SpookyEddy is offline   Reply With Quote
Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Most Active Discussions

Recent Discussions

All times are GMT -6. The time now is 04:49 PM.