A Methodology for Fine- Grained Parallelism in JavaScript ...
A Methodology for Fine- Grained Parallelism in JavaScript ...
A Methodology for Fine- Grained Parallelism in JavaScript ...
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Kernel Offload<br />
<strong>JavaScript</strong><br />
SKIR<br />
Sluice<br />
Process boundary<br />
1) Compile K2 to SKIR code<br />
K1<br />
shared<br />
memory<br />
<strong>in</strong>put stream<br />
2) Transfer SKIR code<br />
3) Allocate streams<br />
4) Allocate & copy state<br />
5) Call K2<br />
RPC<br />
state<br />
K2<br />
(offloaded)<br />
shared<br />
memory<br />
state copy<br />
K2<br />
SKIR<br />
6) JIT compile K2<br />
shared<br />
memory<br />
output stream<br />
7) Execute K2<br />
K3<br />
Sluice<br />
8) Copy state back to JS