openmp theory vs in-practice efficiency?

As i increase the number of cores for an embarrasing parallel linear problem (a for loop where each iteration does lots of computation, all independant from the other iterations), the efficiency decreases (efficiency as Ts/(p*Tp) ) somehow linearly respect to the number of cores i know that in practice thread scheduling, OS, and cache problems can slowdown an implementation a lot. i can add that i do get speedup, and the problem in theory has linear speedup which in theory has efficiency 1 as p increases. question then: How does the OS, thread scheduling, memory acceses, and other types of technical limitations affect the efficiency of the algorithm as the number of processors increases???? should it affect at all?
It's impossible to answer, because it depends on the problem and the implementation. And "acceptable" seems subjective to me.

以上就是openmp theory vs in-practice efficiency?的详细内容,更多请关注web前端其它相关文章!

赞(0) 打赏
未经允许不得转载:web前端首页 » CSS3 答疑

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

前端开发相关广告投放 更专业 更精准

联系我们

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏