Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jupyter notebook #48

Merged
merged 5 commits into from
Nov 7, 2018
Merged

Conversation

zoybai
Copy link
Contributor

@zoybai zoybai commented Nov 5, 2018

Add a simple parser and jupyter plotting script:

The default plotting script utilizes jupyter-notebook, matplotlib, seaborn
and pandas under python3 environment. For Ubuntu on x86_64 machine, the
following packages have to be installed:
apt install build-essential python3 python3-pip jupyter-notebook

For aarch64 machine, additional packages are also needed:
apt install pkg-config libfreetype6-dev python3-scipy

Then pip3 can install all plotting related libraries with the following cmd:
pip3 install matplotlib seaborn pandas numpy

Note, seaborn has to be installed without scipy as dependency on aarch64:
pip3 install seaborn --no-dependencies

The jupyter-notebook can be started with:
jupyter-notebook --ip 0.0.0.0 --port=8888

Now any browser should be able to access the jupyter notebook called:
lockhammer-jupyter-notebook.ipynb

Start a browser, with IP address set to the jupyter server IP and port 8888:
e.g. http://example.test.com:8888

Click the notebook named lockhammer-jupyter-notebook.ipynb, run each cell one
by one and jupyter should be able to generate the png graph locally.

zoybai and others added 3 commits August 13, 2018 13:46
Sync with upstream CLH spinlock
By default this script will plot all the lockhammer graphs from an example
compressed csv file. Please change the csv file and adjust "host"
parameters according to the real machines under test.
@geoffreyblake
Copy link
Contributor

Can one of the admins verify this patch?

@zoybai
Copy link
Contributor Author

zoybai commented Nov 6, 2018

Newer patch rebased to integration and merged with newer README.rst

@zoybai
Copy link
Contributor Author

zoybai commented Nov 7, 2018

The new jupyter notebook script has been verified on an aarch64 machine.

@zoybai zoybai merged commit a5b48e5 into ARM-software:integration Nov 7, 2018
@zoybai zoybai deleted the jupyter-notebook branch November 9, 2018 20:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants