Click here to Skip to main content
15,880,503 members

Survey Results

Parallelising your code. Do you do it?   [Edit]

Survey period: 5 Jul 2010 to 12 Jul 2010

Our CPUs aren't getting as fast as fast as they used to, and we're now well and truly in a multi-core world. What do you do to take advantage of this? (Suggested by El Corazon)

OptionVotes% 
I specifically write code that runs in parallel22935.95
I use a language and compiler that supports parallisation automatically ( eg Intel compilers)558.63
I use libraries (eg PLINQ) that provide parallisation support8613.50
I use a framework or runtime (eg Parallel Extensions for .NET) that provide parallisation support15724.65
I let my operating system do what it can33953.22
I let my hardware do what it can18529.04
Not even my hardware can help me.497.69
Respondents were allowed to choose more than one answer; totals may not add up to 100%



 
GeneralRe: Parellism and MFC Pin
Emilio Garavaglia5-Jul-10 20:11
Emilio Garavaglia5-Jul-10 20:11 
GeneralRe: Parellism and MFC Pin
Andre xxxxxxx5-Jul-10 22:02
Andre xxxxxxx5-Jul-10 22:02 
GeneralRe: Parellism and MFC Pin
Marc Clifton6-Jul-10 1:57
mvaMarc Clifton6-Jul-10 1:57 
GeneralRe: Parellism and MFC Pin
El Corazon6-Jul-10 5:43
El Corazon6-Jul-10 5:43 
GeneralRe: Parellism and MFC Pin
Marc Clifton6-Jul-10 5:58
mvaMarc Clifton6-Jul-10 5:58 
GeneralRe: Parellism and MFC Pin
El Corazon6-Jul-10 6:32
El Corazon6-Jul-10 6:32 
GeneralRe: Parellism and MFC Pin
Marc Clifton6-Jul-10 7:23
mvaMarc Clifton6-Jul-10 7:23 
GeneralRe: Parellism and MFC Pin
El Corazon6-Jul-10 7:37
El Corazon6-Jul-10 7:37 
Marc Clifton wrote:
Ah, the problem is, it's impossible to figure out before hand, though ballpark estimates would definitely be doable. I'll have to look into that.


if you have the memory, ball-park estimates and even over estimates will help. Most STL implementations add 50% more storage when you run out of reserve storage (though a few double). So if you can get past most of the re-allocs on the small end you may only realloc a few times... and I know it is a sin to use more memory than you need... but ... if you must get it done fast, over-estimate if you have the memory to spare.
_________________________
John Andrew Holmes "It is well to remember that the entire universe, with one trifling exception, is composed of others."

Shhhhh.... I am not really here. I am a figment of your imagination.... I am still in my cave so this must be an illusion....

GeneralRe: Parellism and MFC Pin
Marc Clifton6-Jul-10 7:48
mvaMarc Clifton6-Jul-10 7:48 
GeneralRe: Parellism and MFC Pin
peterchen9-Jul-10 4:15
peterchen9-Jul-10 4:15 
GeneralBad old threads Pin
Nemanja Trifunovic5-Jul-10 7:15
Nemanja Trifunovic5-Jul-10 7:15 
GeneralOnly Specific Parts of code and only if required. Pin
GPUToaster™4-Jul-10 22:49
GPUToaster™4-Jul-10 22:49 
GeneralRe: Only Specific Parts of code and only if required. Pin
peterchen4-Jul-10 22:58
peterchen4-Jul-10 22:58 
GeneralRe: Only Specific Parts of code and only if required. [modified] Pin
GPUToaster™5-Jul-10 0:31
GPUToaster™5-Jul-10 0:31 
GeneralRe: Only Specific Parts of code and only if required. Pin
El Corazon6-Jul-10 5:54
El Corazon6-Jul-10 5:54 
Generalparellelism myth Pin
ed welch4-Jul-10 22:14
ed welch4-Jul-10 22:14 
GeneralRe: parellelism myth Pin
peterchen4-Jul-10 22:50
peterchen4-Jul-10 22:50 
GeneralRe: parellelism myth Pin
ed welch5-Jul-10 1:05
ed welch5-Jul-10 1:05 
GeneralRe: parellelism myth Pin
Festering5-Jul-10 13:29
Festering5-Jul-10 13:29 
GeneralRe: parellelism myth Pin
El Corazon6-Jul-10 5:15
El Corazon6-Jul-10 5:15 
GeneralI let my operating system do what it can Pin
koolprasad20034-Jul-10 19:41
professionalkoolprasad20034-Jul-10 19:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.