SI
SI
discoversearch

Technology Stocks : AMD, ARMH, INTC, NVDA
AMD 14.10+2.1%4:30 PM EDTNews

 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext  
To: neolib who wrote (20845)10/3/2017 4:06:41 PM
From: VattilaRead Replies (1) of 20993
 

The poster explains the poor scaling. It is probably due to Amdahl's Law, a good portion of sequential code that is not speeded up by parallelisation.

"The speedup in the fixed section of the code is likely a fair bit higher than what's shown here."

But, yes, the case shows how easy it is to introduce a scaling problem if the programmer does not understand multi-threading and shared memory well. Luckily, the shared counter, in this case, was useless and could be removed.
Report TOU ViolationShare This Post
 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext  

Copyright © 1995-2017 Knight Sac Media. All rights reserved.Stock quotes are delayed at least 15 minutes - See Terms of Use.