and _gst_ip
PREFETCH (120 000 000 calls of __tls_get_addr)
On 06/15/2011 06:44 PM, Gwenael Casaccio wrote:
Hi,
I've made test with example/Bench.st. Instead of printing the result
(slower) I want to give you the number of times __tls_get_addr is called:
293 987 770 (in _gst_interpret)
53% of time of execution is spent in __tls_get_addr
It's time to optimize it a bit no ?
I was thinking of putting in _gst_interpret some variables at least
_gst_mem
Gwen
On 06/14/2011 01:57 AM, Gwenaël Casaccio wrote:
More seriously I've clean up the code and use thread local storage
instead a big struct.
The multiple image support is working and bootstraping too ;-)
Gwen
On Fri, Jun 10, 2011 at 4:03 PM, Gwenael Casaccio<[email protected]>
wrote:
On 06/09/2011 11:22 AM, Paolo Bonzini wrote:
On 06/09/2011 11:05 AM, Gwenael Casaccio wrote:
I think that's the right way but I want your opinion on the changes.
I plan to fix the multiple worlds support by :
- fix the world swapping crash :)
- see the impact on the vm (semaphore/events/...)
- introducing a model for the worlds
- the scheduling could be time shared for the worlds (Paolo what do
you think)?
Why not parallel? M worlds == M threads, with inter-world
synchronization primitives. Windows events look like a feasible
model to
use for synchronization primitives where you can wait for either any or
all of N events to become signaled. Or Erlang-like channels too.
How do you plan to move objects across worlds?
Paolo
*** BREAKING NEWS multi core image is working BREAKING NEWS ***
Gwen
_______________________________________________
help-smalltalk mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-smalltalk