<div class="gmail_quote">On Thu, Jun 7, 2012 at 4:56 PM, TAY wee-beng <span dir="ltr"><<a href="mailto:zonexo@gmail.com" target="_blank">zonexo@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<pre>I looked at the manual but I'm not sure how to get better performance.</pre></blockquote><div><div><font face="courier new, monospace" size="4"><b style="background-color:rgb(255,0,0)"> ##########################################################</b></font></div>
<div><font face="courier new, monospace" size="4"><b style="background-color:rgb(255,0,0)"> # #</b></font></div><div><font face="courier new, monospace" size="4"><b style="background-color:rgb(255,0,0)"> # WARNING!!! #</b></font></div>
<div><font face="courier new, monospace" size="4"><b style="background-color:rgb(255,0,0)"> # #</b></font></div><div><font face="courier new, monospace" size="4"><b style="background-color:rgb(255,0,0)"> # This code was compiled with a debugging option, #</b></font></div>
<div><font face="courier new, monospace" size="4"><b style="background-color:rgb(255,0,0)"> # To get timing results run ./configure #</b></font></div><div><font face="courier new, monospace" size="4"><b style="background-color:rgb(255,0,0)"> # using --with-debugging=no, the performance will #</b></font></div>
<div><font face="courier new, monospace" size="4"><b style="background-color:rgb(255,0,0)"> # be generally two or three times faster. #</b></font></div><div><font face="courier new, monospace" size="4"><b style="background-color:rgb(255,0,0)"> # #</b></font></div>
<div><font face="courier new, monospace" size="4"><b style="background-color:rgb(255,0,0)"> ##########################################################</b></font></div></div><div><br></div><div>I wonder if making this text bigger, red, bold, and blinking (which I can't seem to do in this email) would increase the chances that you read it.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><pre> Also, what are the more common options to start with. Is there an appropriate C example? Some options are:
<b>PCMGSetLevels</b> - how many lvls are appropriate?
PCMGSetCycleType -
PCMGSetNumberSmoothUp/down etc</pre></blockquote><div>1. Control this stuff using command line options. Recompiling to run a different method was obsolete decades ago.</div><div><br></div><div>2. You need to understand a little about the math and a little about the performance of each component in isolation. I recommend seeing how time moves between different operations as you modify the algorithm.</div>
<div><br></div><div>3. Experiment with your machine and the methods. Learn which configurations have good algorithmic performance (few iterations) and which execute most efficiently.</div></div>