<br><br><div class="gmail_quote">On Fri, Feb 8, 2013 at 3:25 AM, Bob Arning <span dir="ltr"><<a href="mailto:arning315@comcast.net" target="_blank">arning315@comcast.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<font face="Georgia">It's mostly 2 and occasionally 3 on a Mac.
FWIW.<br>
<br>
</font>
<div>On 2/8/13 3:41 AM, Stéphane Rollandin
wrote:<br>
</div>
<blockquote type="cite">
<blockquote type="cite">Yes, the effect is much more evident on
Linux than on Windows, where
<br>
a delay of "2 ms" might be perhaps 15 ms or so in actual
duration:
<br>
<br>
Time millisecondsToRun: [(Delay forMilliseconds: 2) wait] ==>
16
<br>
</blockquote>
<br>
This is very bad ! This makes squeak unusable for real-time
animation or music. Can it be fixed ?
</blockquote></div></blockquote><div><br></div><div>Yes. I believe the issue is the linux kernel version. Upgrade to a 2.6 kernel.</div><div> </div><div>e.g. using Cog on a Linux redacted 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:27:17 EDT 2006 i686 athlon i386 GNU/Linux:</div>
<div><br></div><div>(1 to: 20) collect: [:i| [(Delay forMilliseconds: 1) wait] timeToRun] #(3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3)</div><div>(1 to: 20) collect: [:i| [(Delay forMilliseconds: i) wait] timeToRun] #(3 3 3 6 6 9 9 9 12 12 12 15 15 15 18 18 18 21 21 21)</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div bgcolor="#FFFFFF" text="#000000"><blockquote type="cite">
Stef </blockquote></div></blockquote></div>-- <br>best,<div>Eliot</div>