<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body>
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p>Hi Bryan,</p>
<p><br>
</p>
<p>Thanks for sharing this report with us! It reminds me that we should update/upgrade that guidance (about number of cores to use) a bit on the wiki.</p>
<p><br>
</p>
<p>I see that in your test you tried to make the benchmark use case as CPU-dominated as possible. In my very crude understanding of hyperthreading (a core pretends to be two cores by switching very quickly between two processes), this kind of guarantees your
conclusion (1); hyperthreading is mostly useful for jobs in which for a single instance the CPU is waiting for other resources about half of the time, because then with many instances instead of waiting a core can do CPU-work for some other instance. So if
you add back all the IO-intensive tasks, it may turn out that hyperthreading actually does help a bit to increase efficiency. (This might be out of scope for your report.)</p>
<p><br>
</p>
<p>You write at the top of your report that it was "published" on November 19. Did it get published elsewhere, e.g. on a website or magazine or forum (other than gate-users), or do you just mean that you saved it publicly readable on OneDrive?</p>
<p><br>
</p>
<p>Best regards,</p>
<p>David Boersma<br>
</p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>Von:</b> Gate-users <gate-users-bounces@lists.opengatecollaboration.org> im Auftrag von Bryan McIntosh <mcintoshster@gmail.com><br>
<b>Gesendet:</b> Dienstag, 20. November 2018 05:12:50<br>
<b>An:</b> gate-users@lists.opengatecollaboration.org<br>
<b>Betreff:</b> [Gate-users] Report - Investigating Intel Meltdown/Spectre patches and Ryzen hyperthreading benchmarks</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div>Hi everyone,</div>
<div><br>
</div>
<div>I've been using GATE for a while, and one thing that has been a bit lacking in our community is benchmarks for various CPU architectures. When the patches for the Meltdown and Spectre vulnerabilities were revealed to reduce performance quite substantially
in some applications, I wondered how GATE and Geant4 would be affected by installing them on an older Intel CPU that is missing some of the alternate instructions used to mitigate some of the slowdowns. I also was frustrated that no one had released any data
on how well AMD Ryzen CPUs perform in GATE, so I ran a series of benchmarks investigating the following questions:</div>
<div><br>
</div>
<div>1) How does memory speed affect the performance of second-generation AMD Ryzen CPUs?</div>
<div><br>
</div>
<div>2) Does the hyperthreading offered on Ryzen CPUs and some higher-end Intel CPUs provide any performance benefit for GATE? Previous guidance on this was that it did not, but that was written years ago with different CPU architectures on the market.</div>
<div><br>
</div>
<div>3) How much performance impact do the Meltdown/Spectre patches have on GATE simulation times on older (ie. second and third generation Core i5 and Core i7) Intel CPUs?</div>
<div><br>
</div>
<div>I've written my results in a report that is available for download at <a href="https://1drv.ms/b/s!Al3r4ajL5Z4jkLs7LVyGSI_MmA-uzg">
https://1drv.ms/b/s!Al3r4ajL5Z4jkLs7LVyGSI_MmA-uzg</a>. Any comments or questions you have would be welcome, and if anyone is interested in running the same benchmark scripts on their GATE installation I would be glad to upload them for testing.</div>
<div><br>
</div>
<div>Best regards,</div>
<div><br>
</div>
<div>-Bryan McIntosh</div>
</div>
</div>
</div>
</div>
</body>
</html>