Technology Stocks : AMD, ARMH, INTC, NVDA -- Ignore unavailable to you. Want to Upgrade?

To: neolib who wrote (20845)10/3/2017 4:06:41 PM
From: VattilaRead Replies (1) | Respond to of 25257

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.

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