Reducing Memory in Software-Based Thread-Level Speculation for JavaScript Virtual Machine Execution of Web Applications

Jan Kasper Martinsen, Håkan Grahn, Anders Isberg, Henrik Sundström

Research output: Chapter in Book/Report/Conference proceedingPaper in conference proceedingpeer-review

Abstract

Thread-Level Speculation has been used to take advantage
of multicore processors in virtual execution environments
for the sequential JavaScript scripting language. While the results
are promising the memory overhead is high. Here we propose to
reduce the memory usage by limiting the checkpoint depth based
on an in-depth study of the memory and execution time effects.
We also propose an adaptive heuristic to dynamically adjust the
checkpoints. We evaluate this using 15 web applications on an
8-core computer. The results show that the memory overhead is
reduced for Thread-Level Speculation by over 90% as compared
to storing all checkpoints. Further, the performance is often better
than when storing all the checkpoints and at worst 4% slower.
Original languageEnglish
Title of host publication[Host publication title missing]
PublisherIEEE - Institute of Electrical and Electronics Engineers Inc.
Publication statusPublished - 2014
Externally publishedYes
EventHPCC-2014 the 16th IEEE International Conf. on High Performance and Communications - Paris, France
Duration: 2014 Aug 202014 Aug 22

Conference

ConferenceHPCC-2014 the 16th IEEE International Conf. on High Performance and Communications
Country/TerritoryFrance
CityParis
Period2014/08/202014/08/22

Subject classification (UKÄ)

  • Software Engineering

Fingerprint

Dive into the research topics of 'Reducing Memory in Software-Based Thread-Level Speculation for JavaScript Virtual Machine Execution of Web Applications'. Together they form a unique fingerprint.

Cite this