<div>I&#39;ve had issues with the idle on 3-7-3 running BSD4.x on windows... I just simply replaced it&#39;s idle code with the code from 3-7-1 and it seems far more reliable...</div>
<div>&nbsp;</div>
<div>RENO doesn&#39;t seem to idle at all under 3-7-3.... </div>
<div>&nbsp;</div>
<div><br><br>&nbsp;</div>
<div class="gmail_quote">On Wed, Jun 11, 2008 at 1:00 AM, Marc Chametzky &lt;<a href="mailto:marc@bluevine.net">marc@bluevine.net</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Out of curiosity, I looked into why I wasn&#39;t getting idle functionality<br>to work on my VAX running on Solaris.<br>
<br>My first issue was that the gcc optimizer appears to have been messing<br>up the code in sim_idle(). When I removed &quot;-O&quot;, the calculations worked<br>right, but idle still wasn&#39;t working.<br><br>If I&#39;m reading the code right, it looks as though it&#39;s a limitation of<br>
SIMH on Solaris. In vax_stddev.c, clk_tps is set to 100 (ticks/sec),<br>which means 10 ms per tick. Unfortunately, the granularity of<br>nanosleep() (as determined by clock_getres()) is also 10 ms, which means<br>that it can&#39;t idle because the granularity isn&#39;t small enough to wait<br>
for the next VAX clock tick.<br><br>Does this make sense?<br><font color="#888888"><br>--Marc<br></font>
<div>
<div></div>
<div class="Wj3C7c">_______________________________________________<br>Simh mailing list<br><a href="mailto:Simh@trailing-edge.com">Simh@trailing-edge.com</a><br><a href="http://mailman.trailing-edge.com/mailman/listinfo/simh" target="_blank">http://mailman.trailing-edge.com/mailman/listinfo/simh</a><br>
</div></div></blockquote></div><br>