<br><br><div class="gmail_quote">On Mon, Aug 15, 2011 at 3:20 PM, Ryan Macnak <span dir="ltr">&lt;<a href="mailto:rmacnak@gmail.com">rmacnak@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div class="im">&gt;&gt; I notice the idle primitive is implemented with a HLT now, but<br>
&gt;&gt; SqueakNOS still uses full processor for me.  Any idea why?<br>
&gt;<br>
&gt; There must be something wrong, because it doesn&#39;t (use to) happen to us. On<br>
&gt; a core i3 380 laptop, over VMWare it should take 5% of CPU. I&#39;d bet there is<br>
&gt; a smalltalk process running in background hogging the cpu. Does it happen<br>
&gt; with all images (squeak and pharo)?<br>
<br>
</div>This happens for both the March release (Pharo-based) and my version<br>
with Newspeak (Squeak42-based).  I don&#39;t see anything suspicious in<br>
the process browser.  I am using VirtualBox, not VMWare, but Ubuntu in<br>
VirtualBox does not become a CPU hog, so I don&#39;t think that is it.<br></blockquote><div><br></div><div>If you can, please try using VMWare to see if it keeps happening. We&#39;ve seen</div><div>this full CPU usage before, but never nailed it down. It seemed to happen</div>

<div>pseudo-randomly with some images. Maybe it&#39;s the emulator, who knows.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im"><br>
&gt; Lastly, a problem of smalltalk (at least in Pharo/Squeak) is that there<br>
&gt; isn&#39;t<br>
&gt; any kind of isolation, all processes live in the same address space. It<br>
&gt; would be really good to have a way of segmenting the image, having separate<br>
&gt; processes in separate address spaces, an some kind of protection. I think<br>
&gt; that&#39;s the next step.<br>
<br>
</div>In my mind, the way to go is to use Newspeak&#39;s modularity to isolate<br>
programs.  Of course, currently this can be undermined by accessing<br>
Smalltalk classes and unenforced private methods, so there is still a<br>
ways to go.<br></blockquote><div><br></div><div>That&#39;s interesting because I&#39;ve been looking at newspeak for some time</div><div>and it might be the right anwser. I&#39;m reading gilad&#39;s paper about mirrors</div>

<div>just by now, but I&#39;d also like to see it working in practice to believe it hehe.</div><div><br></div><div>I&#39;ll commit your changes asap, but I&#39;m pretty busy right now, so expect two</div><div>days until I open an image.</div>

<div><br></div><div>Cheers,</div><div>          Jaier.</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<font color="#888888"><br>
Ryan<br>
</font></blockquote></div><br><br clear="all"><div><br></div>-- <br>Lic. Javier Pimás<br>Ciudad de Buenos Aires<br>