Add a new shared memory allocation strategy: mixed mode. Comparing to the fixed mode...
authorjzhou <jzhou>
Wed, 7 Jul 2010 00:33:21 +0000 (00:33 +0000)
committerjzhou <jzhou>
Wed, 7 Jul 2010 00:33:21 +0000 (00:33 +0000)
commiteb4445c1d0faad730d18eaea849503e005e28821
treee284059350e32b1cf135768e41f8e9f702d33ec4
parentb5a34e24dae205606bf148d617a515ed7f62e187
Add a new shared memory allocation strategy: mixed mode. Comparing to the fixed mode, there are following differences: 1) the neighbours cores are extended to the cores that a core can reach in no more than 2 flips; 2) introduced a threshold--if the master core can not allocate the neighbour cores' shared memory chunks, it checks current shared memory usage rate, if greater than the threshold it will enable gc, otherwise it tries to allocate the shared memory globally for the request core.
Robust/src/Runtime/multicoregarbage.c
Robust/src/Runtime/multicoretask.c