<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>
<div><span id="OLK_SRC_BODY_SECTION">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; font-family: Calibri, sans-serif;">
<div>Hello,</div>
</div>
</span>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; font-family: Calibri, sans-serif;">
<div>
<p style="margin: 0px; padding: 0px; font-family: Arial, FreeSans, Helvetica, sans-serif; font-size: 13px; line-height: 17.0001px; widows: 1; background-color: rgb(255, 255, 255);">
We are registering two images using the 'MultiResolutionImageRegistrationMethod’ in ITK v4.8 and are seeing a performance degradation on machines with large number of cores.</p>
<p style="margin: 16px 0px 0px; padding: 0px; font-family: Arial, FreeSans, Helvetica, sans-serif; font-size: 13px; line-height: 17.0001px; widows: 1; background-color: rgb(255, 255, 255);">
We use the MultiResolutionImageRegistrationMethod with RegularStepGradientDescent optimizer and MeanSquares metric.</p>
<p style="margin: 16px 0px 0px; padding: 0px; font-family: Arial, FreeSans, Helvetica, sans-serif; font-size: 13px; line-height: 17.0001px; widows: 1; background-color: rgb(255, 255, 255);">
Two separate issues are observed here:</p>
<p style="margin: 16px 0px 0px; padding: 0px; font-family: Arial, FreeSans, Helvetica, sans-serif; font-size: 13px; line-height: 17.0001px; widows: 1; background-color: rgb(255, 255, 255);">
1. Performance degradation of image registration on machines with higher number of cores as compared to ones with lower number.</p>
<p style="margin: 16px 0px 0px; padding: 0px; font-family: Arial, FreeSans, Helvetica, sans-serif; font-size: 13px; line-height: 17.0001px; widows: 1; background-color: rgb(255, 255, 255);">
A Dual-core machine showed better performance with the image registration than one with 20 cores. The performance degradation observed on a machine with 20 physical cores and also on one with 6 physical (12 logical cores).</p>
<p style="margin: 16px 0px 0px; padding: 0px; font-family: Arial, FreeSans, Helvetica, sans-serif; font-size: 13px; line-height: 17.0001px; widows: 1; background-color: rgb(255, 255, 255);">
2. Performance degradation of image registration on subsequent runs on the same machine (with higher number of cores)</p>
<p style="margin: 16px 0px 0px; padding: 0px; font-family: Arial, FreeSans, Helvetica, sans-serif; font-size: 13px; line-height: 17.0001px; widows: 1; background-color: rgb(255, 255, 255);">
The performance of registration continuously regresses on subsequent runs within an application session. This issue gets resolved on setting the number of cores to a lower number (setting to number of physical cores rather than logical cores)</p>
</div>
<div><span class="Apple-tab-span" style="white-space: pre;"></span></div>
<div><br>
</div>
<div>I have gone ahead and created the a bug for this issue.</div>
</div>
</span></div>
</div>
<div><a href="https://issues.itk.org/jira/browse/ITK-3427">https://issues.itk.org/jira/browse/ITK-3427</a></div>
<div><br>
</div>
<div>Has anyone else had similar experiences with the multi-threaded <span style="font-family: Arial, FreeSans, Helvetica, sans-serif; font-size: 13px; widows: 1; background-color: rgb(255, 255, 255);">MultiResolutionImageRegistrationMethod?</span></div>
<div><span style="font-family: Arial, FreeSans, Helvetica, sans-serif; font-size: 13px; widows: 1; background-color: rgb(255, 255, 255);"><br>
</span></div>
<div><span style="font-family: Arial, FreeSans, Helvetica, sans-serif; font-size: 13px; widows: 1; background-color: rgb(255, 255, 255);"><br>
</span></div>
<div><span style="font-family: Arial, FreeSans, Helvetica, sans-serif; font-size: 13px; widows: 1; background-color: rgb(255, 254, 254);">Thanks.</span></div>
<div><span style="font-family: Arial, FreeSans, Helvetica, sans-serif; font-size: 13px; widows: 1; background-color: rgb(254, 253, 253);">-Anchit</span></div>
</body>
</html>