adapton.vmwarevm.zip
(412MB) VMWare image with Adapton ready to runadapton.vmwarevm.zip
(412MB) and unzip it.adapton.vmwarevm
in VMWare.
cd ~/adapton
make small-pldi2014-benchmarks
make tiny-pldi2014-benchmarks
will take a few minutes to runmake pldi2014-benchmarks
will take about a day to run (the VM configuration will need to be
modified to provide 8 cores and 16GB of memory for this to run successfully)Results/BenchmarkAdapton
, e.g.:
batch
, lazy
, swap
, and switch
contains a subdirectory named summary
with two files:
index.html
yourhostmachine% scp -r ubuntu@vmipaddress:adapton/Results .
yourhostmachine% firefox Results/BenchmarkAdapton/small-pldi2014-2014-02-09-05-03-29/lazy/summary/index.html
summary.txt
less -S summary.txt
).task | input # | take # | EagerNonInc | LazyNonInc | Adapton | EagerTotalOrder | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
time | max-heap | time | max-heap | from-scratch | incremental | from-scratch | incremental | |||||||||||
overhead | max-heap | speed-up | max-heap | overhead | max-heap | speed-up | max-heap | |||||||||||
seconds | bytes | seconds | bytes | EagerNonInc | LazyNonInc | bytes | EagerNonInc | LazyNonInc | bytes | EagerNonInc | LazyNonInc | bytes | EagerNonInc | LazyNonInc | bytes | |||
exptree | 100000 | 1 | 12.9e-3 | 15.2e+6 | 24.1e-3 | 16.3e+6 | 131e+0 | 69.9e+0 | 173e+6 | 63.9e+0 | 120e+0 | 175e+6 | 76.9e+0 | 41.1e+0 | 169e+6 | 161e+0 | 301e+0 | 169e+6 |
filter | 100000 | 100001 | 52e-3 | 15.7e+6 | 41.9e-3 | 15.7e+6 | 11.4e+0 | 14.1e+0 | 92.9e+6 | 3.19e+0 | 2.57e+0 | 162e+6 | 10.7e+0 | 13.3e+0 | 102e+6 | 8.5e+0 | 6.85e+0 | 135e+6 |
map | 100000 | 100001 | 82.5e-3 | 22.8e+6 | 73.2e-3 | 23.8e+6 | 7.46e+0 | 8.41e+0 | 96.9e+6 | 3.21e+0 | 2.85e+0 | 166e+6 | 6.75e+0 | 7.6e+0 | 102e+6 | 8.3e+0 | 7.37e+0 | 169e+6 |
tfold(min) | 100000 | 1 | 97.3e-3 | 23.7e+6 | 90.1e-3 | 20.7e+6 | 14.3e+0 | 15.4e+0 | 161e+6 | 1.4e+3 | 1.29e+3 | 163e+6 | 11.8e+0 | 12.8e+0 | 169e+6 | 881e+0 | 816e+0 | 169e+6 |
tfold(sum) | 100000 | 1 | 104e-3 | 24.8e+6 | 97.5e-3 | 20.7e+6 | 13.4e+0 | 14.3e+0 | 163e+6 | 674e+0 | 630e+0 | 163e+6 | 11e+0 | 11.7e+0 | 169e+6 | 493e+0 | 461e+0 | 169e+6 |
*
in the text version)
indicate the implementation that has a highest speed-up or uses the least memory for a particular task.
% cd ~/adapton
% make as2
% ./_product/runas2.nativeThe interactive command
help.
(with terminating
period) will cause the system to display a summary of its other
commands, and its formula syntax.
% ./_product/runas2.native --help
--adapton-module
controls which implementation is used:
% ./_product/runas2.native --adapton-module implWhere impl is one of:
Adapton
and EagerTotalOrder
are compared with the
non-incremental baseline EagerNonInc
:
% ./_product/runas2.native --adapton-module Adapton
% ./_product/runas2.native --adapton-module EagerTotalOrder
% ./_product/runas2.native --adapton-module EagerNonInc
scrambled; goto 10!a1 ; print ; repeat 5 do scramble1 ; print done .
% ./_product/runas2.native --num-changes 5 --stats-test 10In this mode, the program prints statistics and appends this information to the file
as2-stats.out
, then exits.
The numbers 5
and 10
control the number
of changes and total number of sheets, respectively. Of course,
they can be changed to other integers.