Multi-Core Processor Dilemma (atalasoft.com)

submitted by bbsevenbbseven(90) 5 years ago

This article benchmarks parallel programming an image processing routine with a few different dual core and single core CPU's. Interestingly, all processors fair better when parallelizing (multithreading) with the exception of Intel's Core Duo Centrino Processor.

1 comment |category: |Views: 4

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

posted by plbyrdplbyrd(825) 5 years ago 0

It seems obvious from the results that their code is causing massive cache faults as the single core processor has a 239% performance increase from using multiple threads. That means that each thread is not filling the L2 cache and the CPU is spending over 50% of it's time per thread on waiting for cache faults to be filled from the MUCH slower system RAM.

I would send this to them directly, but they've turned off anonymous comments on the blog.

The Core Duo processors have relatively small L2 caches that are shared between the cores. so they are also having cache faults there as well, which slows down all the threads. The dual core processors with big dedicated caches are running very well, but would have even better performance if they figure out how to detect the size of the L2 cache per core and then optimize their in memory matrices to best utilize the L2 cache available for the specific system.

Reply

information Login or create an account to comment on this story