Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Question about Parallel Programming

Status
Not open for further replies.

nge

Junior Member level 1
Joined
Mar 31, 2003
Messages
16
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
95
Dear All,
I have a question about parallel programming. In some programming languages, we can do some part of the code to execute in parallel, but what I'm confusing is how these codes run on a processor (say, normal intel p4), time scheduling or what? thanks

nge
 

Ace-X

Advanced Member level 2
Joined
Jan 25, 2002
Messages
529
Helped
41
Reputation
82
Reaction score
14
Trophy points
1,298
Location
Germany
Activity points
5,148
For program it is considered as execution on different processors. But actually, these processors are virtual - just simple time division. Let say, 1 ms real processor executes commands for first virtual processor, then 1 ms for second virtual, etc.

Also, there are some techniques, like HyperThreading from Intel, that can simultaneuosly execute 2 and more instructions for parallel threads on the same hardware processor. This approach can be applied only when these instructions from parallel threads require different resources of processor.
 

brmadhukar

Advanced Member level 3
Joined
Jun 21, 2002
Messages
840
Helped
42
Reputation
84
Reaction score
11
Trophy points
1,298
Location
India
Activity points
6,783
Hi,
Some times (as in SIMD) architecture the processor runs in Time division but appears parallel for all practical purposes. In some processors there are multiple execution units.
B R M
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top