<br><br><div class="gmail_quote">On Mon, Aug 15, 2011 at 3:20 PM, Ryan Macnak <span dir="ltr"><<a href="mailto:rmacnak@gmail.com">rmacnak@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">>> I notice the idle primitive is implemented with a HLT now, but<br>
>> SqueakNOS still uses full processor for me. Any idea why?<br>
><br>
> There must be something wrong, because it doesn't (use to) happen to us. On<br>
> a core i3 380 laptop, over VMWare it should take 5% of CPU. I'd bet there is<br>
> a smalltalk process running in background hogging the cpu. Does it happen<br>
> 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'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'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'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'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>
> Lastly, a problem of smalltalk (at least in Pharo/Squeak) is that there<br>
> isn't<br>
> any kind of isolation, all processes live in the same address space. It<br>
> would be really good to have a way of segmenting the image, having separate<br>
> processes in separate address spaces, an some kind of protection. I think<br>
> that's the next step.<br>
<br>
</div>In my mind, the way to go is to use Newspeak'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's interesting because I've been looking at newspeak for some time</div><div>and it might be the right anwser. I'm reading gilad's paper about mirrors</div>
<div>just by now, but I'd also like to see it working in practice to believe it hehe.</div><div><br></div><div>I'll commit your changes asap, but I'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>