Jamaica /
AhmedEl-MahdyI was a Research Associate, and now lecturing at Alexandria University, but still collaborating with the Jamaica project (whenever I'm not teaching!). For the moment I'm interested on how the adaptive compilation be useful in parallelisation. I'm also interested in doacross style parallelisation. I thought to use this area of Wiki to help in arrange ideas, brainstorm new ones and summarise any progress I've. Sort of house-keeping experiments:
Work plan:
Measuring System Load--I'll try to summarise here a simple analytical method to measure system load. The writing is still in progress. I'll email the group when there is something meaningful to read! I agree with Chris and Ian Rogers about using the number of free tokens as a system load metric. It just occurred to me that there is a simple performance formula (Little's law) that might be useful in estimating the number of free tokens, or at least justfiying other methods relying on token counting. In summary, to get the average number of "free" tokens in an observation time interval T, we could:
OR (as an approximation) number of free tokens = number of tokens received since a token revisits the same TIU. To implement that we could have a 5-bit register counting number of tokens (saturating counter). And another 5-bit register holding token's ID. The count is incremented everytime a token arrives until the same token is seen again. In the latter case the count is latched in a special register (possibly a control register). The next token seen is stored into the ID register and the same procedure starts again. If a token takes more than 32 cycles to arrive, the latch is reset to zero. And the same procedure starts again. Why that works (or maybe not!)?-------------- | | Arrivals ----->| Block box |------> Departures | | -------------- Little's law [1] states that: For a black box system and under an observation time interval "T", if number of arrivals equals to number of departures, then: Mean number in the block box = Mean response time * Arrival rate That simple relation might be useful in measuring the number of free tokens in Jamaica. We could model the system as such:
-------------- | | Token in ----->| Token pools |------> Token out | | --------------
Thus we could apply Little's law by:
Caveats:
References
|