<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:DengXian;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:Aptos;
panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
{font-family:"\@DengXian";
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:"Aptos Narrow";
panose-1:2 11 0 4 2 2 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:12.0pt;
font-family:"Aptos",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Aptos",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;
mso-ligatures:none;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt">Hi Junchao,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Yeah, I have part of the log_view, for the same code, same version of PETSc (3.20), but two OS (Ventura vs. Sonoma).<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Note that PETSc function call numbers are exactly the same.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">I suspect that it’s just OS becomes slower, or maybe something related to the compiler.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">-Ling<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<table class="MsoNormalTable" border="1" cellspacing="0" cellpadding="0" width="587" style="width:440.6pt;border-collapse:collapse;border:none">
<tbody>
<tr style="height:16.0pt">
<td width="144" nowrap="" valign="bottom" style="width:1.5in;border:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt;height:16.0pt">
</td>
<td width="108" nowrap="" valign="bottom" style="width:81.0pt;border:solid windowtext 1.0pt;border-left:none;padding:0in 5.4pt 0in 5.4pt;height:16.0pt">
<p class="MsoNormal"><span style="font-family:"Aptos Narrow",sans-serif;color:black"># of calls<o:p></o:p></span></p>
</td>
<td width="167" nowrap="" valign="bottom" style="width:125.6pt;border:solid windowtext 1.0pt;border-left:none;padding:0in 5.4pt 0in 5.4pt;height:16.0pt">
<p class="MsoNormal"><span style="font-family:"Aptos Narrow",sans-serif;color:black">Time spent (Ventura)<o:p></o:p></span></p>
</td>
<td width="168" nowrap="" valign="bottom" style="width:1.75in;border:solid windowtext 1.0pt;border-left:none;padding:0in 5.4pt 0in 5.4pt;height:16.0pt">
<p class="MsoNormal"><span style="font-family:"Aptos Narrow",sans-serif;color:black">Time spent (Sonoma)<o:p></o:p></span></p>
</td>
</tr>
<tr style="height:16.0pt">
<td width="144" nowrap="" valign="bottom" style="width:1.5in;border:solid windowtext 1.0pt;border-top:none;padding:0in 5.4pt 0in 5.4pt;height:16.0pt">
<p class="MsoNormal"><span style="font-family:"Aptos Narrow",sans-serif;color:black">MatMult MF<o:p></o:p></span></p>
</td>
<td width="108" nowrap="" valign="bottom" style="width:81.0pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt;height:16.0pt">
<p class="MsoNormal" align="right" style="text-align:right"><span style="font-family:"Aptos Narrow",sans-serif;color:black">20463<o:p></o:p></span></p>
</td>
<td width="167" nowrap="" valign="bottom" style="width:125.6pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt;height:16.0pt">
<p class="MsoNormal" align="right" style="text-align:right"><span style="font-family:"Aptos Narrow",sans-serif;color:black">3.718600E+00<o:p></o:p></span></p>
</td>
<td width="168" nowrap="" valign="bottom" style="width:1.75in;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt;height:16.0pt">
<p class="MsoNormal" align="right" style="text-align:right"><span style="font-family:"Aptos Narrow",sans-serif;color:black">4.467800E+00<o:p></o:p></span></p>
</td>
</tr>
<tr style="height:16.0pt">
<td width="144" nowrap="" valign="bottom" style="width:1.5in;border:solid windowtext 1.0pt;border-top:none;padding:0in 5.4pt 0in 5.4pt;height:16.0pt">
<p class="MsoNormal"><span style="font-family:"Aptos Narrow",sans-serif;color:black">MatMult<o:p></o:p></span></p>
</td>
<td width="108" nowrap="" valign="bottom" style="width:81.0pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt;height:16.0pt">
<p class="MsoNormal" align="right" style="text-align:right"><span style="font-family:"Aptos Narrow",sans-serif;color:black">20463<o:p></o:p></span></p>
</td>
<td width="167" nowrap="" valign="bottom" style="width:125.6pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt;height:16.0pt">
<p class="MsoNormal" align="right" style="text-align:right"><span style="font-family:"Aptos Narrow",sans-serif;color:black">3.721000E+00<o:p></o:p></span></p>
</td>
<td width="168" nowrap="" valign="bottom" style="width:1.75in;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt;height:16.0pt">
<p class="MsoNormal" align="right" style="text-align:right"><span style="font-family:"Aptos Narrow",sans-serif;color:black">4.470500E+00<o:p></o:p></span></p>
</td>
</tr>
<tr style="height:16.0pt">
<td width="144" nowrap="" valign="bottom" style="width:1.5in;border:solid windowtext 1.0pt;border-top:none;padding:0in 5.4pt 0in 5.4pt;height:16.0pt">
<p class="MsoNormal"><span style="font-family:"Aptos Narrow",sans-serif;color:black">MatFDColorApply<o:p></o:p></span></p>
</td>
<td width="108" nowrap="" valign="bottom" style="width:81.0pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt;height:16.0pt">
<p class="MsoNormal" align="right" style="text-align:right"><span style="font-family:"Aptos Narrow",sans-serif;color:black">2062<o:p></o:p></span></p>
</td>
<td width="167" nowrap="" valign="bottom" style="width:125.6pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt;height:16.0pt">
<p class="MsoNormal" align="right" style="text-align:right"><span style="font-family:"Aptos Narrow",sans-serif;color:black">4.507000E+00<o:p></o:p></span></p>
</td>
<td width="168" nowrap="" valign="bottom" style="width:1.75in;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt;height:16.0pt">
<p class="MsoNormal" align="right" style="text-align:right"><span style="font-family:"Aptos Narrow",sans-serif;color:black">5.394600E+00<o:p></o:p></span></p>
</td>
</tr>
<tr style="height:16.0pt">
<td width="144" nowrap="" valign="bottom" style="width:1.5in;border:solid windowtext 1.0pt;border-top:none;padding:0in 5.4pt 0in 5.4pt;height:16.0pt">
<p class="MsoNormal"><span style="font-family:"Aptos Narrow",sans-serif;color:black">MatFDColorFunc<o:p></o:p></span></p>
</td>
<td width="108" nowrap="" valign="bottom" style="width:81.0pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt;height:16.0pt">
<p class="MsoNormal" align="right" style="text-align:right"><span style="font-family:"Aptos Narrow",sans-serif;color:black">24744<o:p></o:p></span></p>
</td>
<td width="167" nowrap="" valign="bottom" style="width:125.6pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt;height:16.0pt">
<p class="MsoNormal" align="right" style="text-align:right"><span style="font-family:"Aptos Narrow",sans-serif;color:black">4.472400E+00<o:p></o:p></span></p>
</td>
<td width="168" nowrap="" valign="bottom" style="width:1.75in;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt;height:16.0pt">
<p class="MsoNormal" align="right" style="text-align:right"><span style="font-family:"Aptos Narrow",sans-serif;color:black">5.356300E+00<o:p></o:p></span></p>
</td>
</tr>
<tr style="height:16.0pt">
<td width="144" nowrap="" valign="bottom" style="width:1.5in;border:solid windowtext 1.0pt;border-top:none;padding:0in 5.4pt 0in 5.4pt;height:16.0pt">
<p class="MsoNormal"><span style="font-family:"Aptos Narrow",sans-serif;color:black">KSPSolve<o:p></o:p></span></p>
</td>
<td width="108" nowrap="" valign="bottom" style="width:81.0pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt;height:16.0pt">
<p class="MsoNormal" align="right" style="text-align:right"><span style="font-family:"Aptos Narrow",sans-serif;color:black">2062<o:p></o:p></span></p>
</td>
<td width="167" nowrap="" valign="bottom" style="width:125.6pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt;height:16.0pt">
<p class="MsoNormal" align="right" style="text-align:right"><span style="font-family:"Aptos Narrow",sans-serif;color:black">3.569700E+00<o:p></o:p></span></p>
</td>
<td width="168" nowrap="" valign="bottom" style="width:1.75in;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt;height:16.0pt">
<p class="MsoNormal" align="right" style="text-align:right"><span style="font-family:"Aptos Narrow",sans-serif;color:black">4.262400E+00<o:p></o:p></span></p>
</td>
</tr>
<tr style="height:16.0pt">
<td width="144" nowrap="" valign="bottom" style="width:1.5in;border:solid windowtext 1.0pt;border-top:none;padding:0in 5.4pt 0in 5.4pt;height:16.0pt">
<p class="MsoNormal"><span style="font-family:"Aptos Narrow",sans-serif;color:black">SNESSolve<o:p></o:p></span></p>
</td>
<td width="108" nowrap="" valign="bottom" style="width:81.0pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt;height:16.0pt">
<p class="MsoNormal" align="right" style="text-align:right"><span style="font-family:"Aptos Narrow",sans-serif;color:black">986<o:p></o:p></span></p>
</td>
<td width="167" nowrap="" valign="bottom" style="width:125.6pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt;height:16.0pt">
<p class="MsoNormal" align="right" style="text-align:right"><span style="font-family:"Aptos Narrow",sans-serif;color:black">9.195900E+00<o:p></o:p></span></p>
</td>
<td width="168" nowrap="" valign="bottom" style="width:1.75in;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt;height:16.0pt">
<p class="MsoNormal" align="right" style="text-align:right"><span style="font-family:"Aptos Narrow",sans-serif;color:black">1.102000E+01<o:p></o:p></span></p>
</td>
</tr>
<tr style="height:16.0pt">
<td width="144" nowrap="" valign="bottom" style="width:1.5in;border:solid windowtext 1.0pt;border-top:none;padding:0in 5.4pt 0in 5.4pt;height:16.0pt">
<p class="MsoNormal"><span style="font-family:"Aptos Narrow",sans-serif;color:black">SNESFunctionEval<o:p></o:p></span></p>
</td>
<td width="108" nowrap="" valign="bottom" style="width:81.0pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt;height:16.0pt">
<p class="MsoNormal" align="right" style="text-align:right"><span style="font-family:"Aptos Narrow",sans-serif;color:black">23575<o:p></o:p></span></p>
</td>
<td width="167" nowrap="" valign="bottom" style="width:125.6pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt;height:16.0pt">
<p class="MsoNormal" align="right" style="text-align:right"><span style="font-family:"Aptos Narrow",sans-serif;color:black">4.268600E+00<o:p></o:p></span></p>
</td>
<td width="168" nowrap="" valign="bottom" style="width:1.75in;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt;height:16.0pt">
<p class="MsoNormal" align="right" style="text-align:right"><span style="font-family:"Aptos Narrow",sans-serif;color:black">5.161100E+00<o:p></o:p></span></p>
</td>
</tr>
<tr style="height:16.0pt">
<td width="144" nowrap="" valign="bottom" style="width:1.5in;border:solid windowtext 1.0pt;border-top:none;padding:0in 5.4pt 0in 5.4pt;height:16.0pt">
<p class="MsoNormal"><span style="font-family:"Aptos Narrow",sans-serif;color:black">SNESJacobianEval<o:p></o:p></span></p>
</td>
<td width="108" nowrap="" valign="bottom" style="width:81.0pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt;height:16.0pt">
<p class="MsoNormal" align="right" style="text-align:right"><span style="font-family:"Aptos Narrow",sans-serif;color:black">2062<o:p></o:p></span></p>
</td>
<td width="167" nowrap="" valign="bottom" style="width:125.6pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt;height:16.0pt">
<p class="MsoNormal" align="right" style="text-align:right"><span style="font-family:"Aptos Narrow",sans-serif;color:black">4.509300E+00<o:p></o:p></span></p>
</td>
<td width="168" nowrap="" valign="bottom" style="width:1.75in;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt;height:16.0pt">
<p class="MsoNormal" align="right" style="text-align:right"><span style="font-family:"Aptos Narrow",sans-serif;color:black">5.397500E+00<o:p></o:p></span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<div id="mail-editor-reference-message-container">
<div>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-bottom:12.0pt"><b><span style="color:black">From:
</span></b><span style="color:black">Junchao Zhang <junchao.zhang@gmail.com><br>
<b>Date: </b>Monday, August 19, 2024 at 10:04</span><span style="font-family:"Arial",sans-serif;color:black"> </span><span style="color:black">PM<br>
<b>To: </b>Zou, Ling <lzou@anl.gov><br>
<b>Cc: </b>petsc-users@mcs.anl.gov <petsc-users@mcs.anl.gov><br>
<b>Subject: </b>Re: [petsc-users] Would Mac OS version affect PETSc/C/C++ performance?<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="mso-line-height-alt:.75pt"><span style="font-size:1.0pt;color:white">Do you have -log_view report so that we can know which petsc functions degraded? Or is it because compilers were different? --Junchao Zhang On Sun, Aug 18, 2024
at 6:</span><span style="font-size:1.0pt;font-family:"Arial",sans-serif;color:white"> </span><span style="font-size:1.0pt;color:white">04 PM Zou, Ling via petsc-users <petsc-users@</span><span style="font-size:1.0pt;font-family:"Arial",sans-serif;color:white"> </span><span style="font-size:1.0pt;color:white">mcs.</span><span style="font-size:1.0pt;font-family:"Arial",sans-serif;color:white"> </span><span style="font-size:1.0pt;color:white">anl.</span><span style="font-size:1.0pt;font-family:"Arial",sans-serif;color:white"> </span><span style="font-size:1.0pt;color:white">gov>
wrote: Hi <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="mso-line-height-alt:.75pt"><span style="font-size:1.0pt;color:white">ZjQcmQRYFpfptBannerStart<o:p></o:p></span></p>
</div>
<div style="border:none;border-top:solid #90A4AE 3.0pt;padding:0in 0in 0in 0in;display:block!important;text-align:left!important;margin:0px!important;padding:16px!important;border-radius:4px!important;min-width:200px!important;background-color:#D0D8DC!important;border-top:#90a4ae!important" id="pfptBanner07azqi2">
<div id="pfptBanner07azqi2">
<div id="pfptBanner07azqi2">
<p class="MsoNormal" style="line-height:13.5pt;background:#D0D8DC"><b><span style="font-family:"Arial",sans-serif;color:black">This Message Is From an External Sender
<o:p></o:p></span></b></p>
</div>
<div id="pfptBanner07azqi2">
<p class="MsoNormal" style="line-height:13.5pt;background:#D0D8DC"><span style="font-family:"Arial",sans-serif;color:black">This message came from outside your organization.
<o:p></o:p></span></p>
</div>
</div>
<div>
<p class="MsoNormal" style="background:#D0D8DC"><span style="color:black"> </span><o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal" style="mso-line-height-alt:.75pt"><span style="font-size:1.0pt;color:white">ZjQcmQRYFpfptBannerEnd<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal">Do you have -log_view report so that we can know which petsc functions degraded? Or is it because compilers were different?<o:p></o:p></p>
<div>
<p class="MsoNormal"><br clear="all">
<o:p></o:p></p>
<div>
<div>
<div>
<p class="MsoNormal">--Junchao Zhang<o:p></o:p></p>
</div>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">On Sun, Aug 18, 2024 at 6:04<span style="font-family:"Arial",sans-serif"> </span>PM Zou, Ling via petsc-users <<a href="mailto:petsc-users@mcs.anl.gov">petsc-users@mcs.anl.gov</a>> wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt">Hi all,</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt">After updating Mac OS from Ventura to Sonoma, I am seeing my PETSc code having slightly-larger-than 10% of performance degradation (only in terms
of execution time).</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt">I track the number of major function calls, they are identical between the two OS (so PETSc is not the one to blame), but just slower.</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt">Is this something expected, any one also experienced it?</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt">-Ling</span><o:p></o:p></p>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</div>
</div>
</body>
</html>