GitXplorerGitXplorer
k

ruby-pargc-tools

public
0 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
f8bacfb72380df3d02f8aa37dc4c2b8bd73dc7db

Renamed for benchmark driver

committed 12 years ago
Unverified
a58547f45d9a616a9f822db7332b3f6fc787d787

Benchmark for GC stress

kkevints committed 12 years ago
Unverified
bfa95a0233b8381963c41bb21a4d02e3d4fc9299

Merge branch 'kevints_perfdata_collection'

kkevints committed 12 years ago
Unverified
dee9efaaa08fb2ce9459f3ed66cf1762ca6df933

Added benchmarks

kkevints committed 12 years ago
Unverified
e4eb47eb99b22ddbdfc53535ded4c3c6b9fe819b

Exclude ruby-clone

kkevints committed 12 years ago
Unverified
55ad0acf261306145350c04a971b2785b76c655c

Collection of perf data in separate run

kkevints committed 12 years ago

README

The README file for this repository.

ruby-pargc-tools

Support tools for CS194 Parallel Ruby GC

Dependencies

All these scripts expect to run on Linux and were tested on Ubuntu 12.04. You must have ccache, dot, gprof2dot.py, perf, and rvm on your PATH. For more useful output install debug symbols as well.

To install dependencies on Ubuntu 12.04 you can run scripts/install-ubuntu-12.04.sh or follow the manual instructions below.

perf

On Ubuntu 12.04 you can install perf with

sudo apt-get install linux-tools-common linux-tools-`uname -r | sed 's/-generic//'`

To enable better samples on Linux use

sudo sysctl -w kernel.kptr_restrict=0

To make these settings persistent add the following lines to /etc/sysctl.conf.

kernel.kptr_restrict = 0

rvm

The profiling scripts use RVM to apply and remove patches. To install RVM see the install documentation or use

curl -L https://get.rvm.io | bash -s stable

GraphViz

On Ubuntu 12.04 use

sudo apt-get install graphviz

gprof2dot.py

To install gprof2dot.py follow the instructions on their download page or use

mkdir -p ~/bin && \
curl -o ~/bin/gprof2dot.py http://gprof2dot.jrfonseca.googlecode.com/git/gprof2dot.py && \
chmod +x ~/bin/gprof2dot.py

ccache

ccache makes compile speeds tolerable. To install it on Ubuntu 12.04 use

sudo apt-get install ccache

debug symbols

To install debug symbols on Ubuntu 12.04 use

sudo apt-get install libc6-dbg