Thread-level speculation for web applications

Jan Kasper Martinsen, Håkan Grahn

Research output: Contribution to conferencePaper, not in proceedingpeer-review

Abstract

Thread Level Speculation (TLS) has been suggested as a
mean to automatically (or semi-automatically) extract parallelism
from sequential programs. While there have been
multiple attempts both in hardware and software to implement
real time TLS, to the best of our knowledge all attempts
have so far been on a byte code level or with statically typed
languages.
In this study, we examine the potential of TLS for
Web Applications, using the popular scripting language
JavaScript(JS).We have chosen to execute the programs by
traversing their parse trees, taking advantage of information
from the programming language that are normally lost
when compiled to, e.g., byte code.
We have performed a test where we automatically have
divided the execution of the parsing tree among 1, 2, 4, and
8 cores for four benchmark programs. We have found that
this approach has a small number of rollbacks (i.e. error
correction when speculation fails) and significantly increases
the performance of our benchmarks.
Original languageEnglish
Pages80-88
Publication statusPublished - 2009
Externally publishedYes
EventSecond Swedish Workshop on Multi-Core Computing - Uppsala, Sweden
Duration: 2009 Nov 262009 Nov 27

Conference

ConferenceSecond Swedish Workshop on Multi-Core Computing
Country/TerritorySweden
CityUppsala
Period2009/11/262009/11/27

Subject classification (UKÄ)

  • Electrical Engineering, Electronic Engineering, Information Engineering

Fingerprint

Dive into the research topics of 'Thread-level speculation for web applications'. Together they form a unique fingerprint.

Cite this