Am 27.05.2013 um 09:19 schrieb "phil@highoctane.be" <phil@highoctane.be>:
I am currently experimenting with Pharo on Amazon EC2.
I'd like to keep the CPU usage low for when Pharo hasn't anything special to do.
At the moment, I see that Pharo uses 2-3% of the CPU when just blinking the caret.
Is there a way to get that lower? Even if it means tweaking the VM.
The OS is Ubuntu 12 LTS
Sure, it is one of the long outstanding issues. While decades ago polling was the way to handle native and external stuff this isn't the case anymore. The big problem is that the image has quite some polling actions going on keeping the image eating cpu cycles. Your best bet at the moment is suspending the ui thread. That will spare some cycles. If you use seaside there is even a web handler to suspend/resume the ui thread. Or you can hack the vm to use an event based approach. Norbert