A Limit Study of Thread-Level Speculation in JavaScript Engines --- Initial Results

Document type: Conference Papers
Peer reviewed: No
Full text:
Author(s): Jan Kasper Martinsen, Håkan Grahn, Anders Isberg
Title: A Limit Study of Thread-Level Speculation in JavaScript Engines --- Initial Results
Conference name: Fifth Swedish Workshop on Multicore Computing (MCC)
Year: 2012
Publisher: Swedish Multicore Initiative
City: Stockholm
Organization: Blekinge Institute of Technology
Department: School of Computing (Sektionen för datavetenskap och kommunikation)
School of Computing S-371 79 Karlskrona
+46 455 38 50 00
http://www.bth.se/com
Authors e-mail: jkm@bth.se, hgr@bth.se, Anders.Isberg@sonymobile.com
Language: English
Abstract: JavaScript is a programming language for interactive clientside
functionalities in web applications. It is a sequential pro-
gramming language, so it cannot take advantage of multicore
processors. Previously Thread-Level Speculation has been
used to take advantage of multicore processors for JavaScript
execution in web applications with promising results execu-
tion time wise, but with a large memory overhead. In this
study we have evaluated the effects of limiting the amount
of memory, the number of threads and the depth of specula-
tion in Thread-Level Speculation. Our results indicate that
we can tune these parameters to improve execution time and
reduce the memory overhead.
Subject: Computer Science\Distributed Computing
Edit