Does an AMD 4-core processor runs better than an Intel dual core processor for parallel computing

조회 수: 3(최근 30일)
Rui 2013년 9월 12일
Hi everyone,
My basic idea is that AMD A10/A8 processor gets 4 cores, while Intel i5 has only two cores. In other words, with AMD, I can have 4 workers running on my laptop, get job done faster in parallel computing. Their prices, and clock speeds are similar, and I only care about the computation performance but not things like graphic performance and so on, so it seems that I will get advantage using AMD processors. But I could be wrong. Can anyone give me an answer for that? Thanks a lot!
best, Rui


Adam Filion
Adam Filion 2013년 9월 12일
Assuming your hardware meets system requirements:
Then I would expect 4 cores with 4 workers to outperform 2 with 2 during the parallel portion of your code, assuming equivalent clock speed. However there may be some other differences in performance on AMD vs Intel due to things like different underlying libraries etc. I'm not sure, don't know much about that comparison myself. Also keep in mind that's assuming we're discussing PHYSICAL cores, not virtual, as you should avoid running more than 1 worker per physical core.
  댓글 수: 3
Walter Roberson
Walter Roberson 2013년 9월 12일
MATLAB does allow you to run multiple threads per physical core. You might have to edit a configuration file though.

댓글을 달려면 로그인하십시오.

Alex Taylor
Alex Taylor 2013년 9월 13일
In general, your parallel algorithm will scale in performance with number of threads.
Keep in mind though that some MATLAB functions are hardware optimized to use SSE instructions. AMD hardware will only support up to SSE2, where as the Intel i5 will be able to leverage more recent SSE instructions per core.
Profiling a specific code example is only way to accurately explore your question.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by