[Vm-dev] Stack VMs with primitives for AndreasSystemProfiler?

David T. Lewis lewis at mail.msen.com
Thu Feb 28 04:07:19 UTC 2013


On Wed, Feb 27, 2013 at 11:12:48PM -0300, Juan Vuletich wrote:
>  
> Let me explain my problem.
> 

https://www.youtube.com/watch?v=uDUdoQY3GYc

;-)

Dave

> Tim's recent feedback on performance in Raspberry PI made me want to go do
> some profiling on a slow machine. The slowest machine I have at hand is a
> Thinkpad T23, Pentium III, 1.1GHz. I use a program called "Cpukiller3",
> that can slow it down to (for example) Raspi performance levels. Besides,
> I integrated AndreasSystemProfiler in Cuis, and I prefer using it. Now I
> need a suitable Windows VM:
> - CogVM: Can't run on the P-III, as it doesn't include SSE2 instructions.
> - StackVM: Not currently built by you. I don't know if it would require
> SSE2, anyway.
> - InterpreterVM a.k.a. ClosureVM. Currently doesn't include the new
> profiling primitives. Will include them, eventually. Right now, this is
> what I'm using, limited to less precise MessageTally. It is also what I've
> been using for several years to look for code to optimize in Cuis.
> 
> Additionally, wrt Cog, on 2013/1/23 you wrote:
> "That said there are still limitations with primitives and Cog.  Currently
> Cog only samples "interpreter" primitives.  Those primitives it implements
> in machine code (integer and float arithmetic, closure evaluation, at:,
> identityHash) are not sampled and won't show up; they will be charged to
> the calling method.".
> I'm not sure if this is a real issue. And I don't know if this limitation
> applies to StackVM or InterpreterVM. Can you please clarify?
> 
> Another option would be some software for that can slow down an Atom or
> Core processor in a reliable and predictable way, and just use Cog. So
> far, I couldn't find any. Suggestions welcome!
> 
> Finally, I could take the dust off my XO (300MHz Geode processor) and do
> profiling there. It is already slow enough, and can run Cog.
> 


More information about the Vm-dev mailing list