[Insight-developers] The Memory Consistency Problem, something everyone should know...

Bradley Lowekamp blowekamp at mail.nih.gov
Fri Mar 16 15:16:22 EDT 2012


Hello,

I have just made the StatisticsImageFilter go ~58X faster on my multi-core platform for large data, by fixing the cache thrashing which was going on:

http://review.source.kitware.com/#/c/4771/1

When adjacent memory is modified by different processors, it must maintain consistency across the cores. This is of non-trivial expense then considered on the per-pixel level. If anyone is looking for an example case of bad cache thrashing I think this it about as good as you can do.

I am just sending this e-mail to make sure everyone is on the look out for this type of problem, and will take a note (Jira?) of where similar enhancements can occur.


Thanks for keeping an eye out,
Brad

========================================================
Bradley Lowekamp  
Medical Science and Computing for
Office of High Performance Computing and Communications
National Library of Medicine 
blowekamp at mail.nih.gov



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-developers/attachments/20120316/84d7e70d/attachment.htm>


More information about the Insight-developers mailing list